[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: rpm database problem



Hi John


> Don't try to include the version number in the query. Just
> try "rpm -q xcdroast" and that will work beautifully. Same
> thing goes for removing said package. Just include the name
> of the program and forget about the [blah] part. RPM will
> choke on that.

Not true.  Just picking an example at random:

   # rpm -q perl-libnet
   perl-libnet-1.0605-2
   # rpm -q perl-libnet-1.0605
   perl-libnet-1.0605-2
   # rpm -q perl-libnet-1.0605-2
   perl-libnet-1.0605-2

What won't work is:

   # rpm -q perl-libnet-1.0605-2.noarch.rpm
   package perl-libnet-1.0605-2.noarch.rpm is not installed 
 
> HOWEVER, when *installing* via RPM, you **MUST** include
> the version info some how (wildcard will work fine, but it
> must be included in some way!)

Wildcard expansion is done by the shell not by rpm.


Ian





[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index] []