|
Subject: Re: Naive question: boolean dependency Newsgroups: gmane.linux.redhat.rpm.general Date: 2008-02-21 19:52:36 GMT (1 year, 19 weeks, 1 day, 18 hours and 1 minute ago) > Re: Naive question: boolean dependency > From: Michael Jennings <mej kainx org> > To: rpm-list redhat com > Subject: Re: Naive question: boolean dependency > Date: Thu, 21 Feb 2008 09:31:11 -0800 > On Thursday, 21 February 2008, at 16:29:09 (+0100), > Vladimir Mihai Pacuraru wrote: > > > > Please share some. I would love to see them. > > > > Same interest here! > > I could be wrong, but you may have missed the subtlety. :) > > Put more bluntly: "Had you actually grep'd for them yourself, you > wouldn't have found any because they don't exist. RPM can't do that." So basically you can't do boolean dependencies, right? I mean what I need to do is to say install package X if version Y or Z is already installed. > > Again, I would like to do pretty much the same thing (say that a > package requires either a version or another) and tried to adapt the > above Requires: example but instead got this error: > > error: line 17: Dependency tokens must begin with alpha-numeric, '_' > or '/': Because you can't do that either. > What exactly are the uses for the underscore and the / characters? > > Underscores are generally considered "word" characters for historical > programmer reasons. / allows file dependencies. Thank you very much for your answer, Michael! |
|
|