Re: rpm --redhat-requires, rpm --redhat-provides

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

 



Le jeu 09/09/2004 Ã 07:07, seth vidal a Ãcrit :
> On Thu, 2004-09-09 at 06:36 +0200, Matias Feliciano wrote:
> > Le jeu 09/09/2004 Ã 05:40, seth vidal a Ãcrit :
> > > Hi Everyone,
> > >  I don't want a flamewar, just opinions.
> > > 
> > > Are there a lot of people who use the two commands listed in the subject
> > > very often?
> > 
> > you can add 
> > --aid :
> >         add suggested packages to transaction
> > --nosuggest :
> >         do not suggest missing dependency resolution(s)
> 
> And on that subject. Are these often used?
> 

I think this is not really the point.

I don't often use rpmdb.
But sometimes rpmdb is useful in conjunction with "rpm -q -qf" ou "rpm
-e --test".
Exemple :
what packages depend on xorg-x11-deprecated-libs ?
# rpm -e --test --dbpath `pwd` xorg-x11-deprecated-libs
erreur: DÃpendances requises:
        libXp.so.6 est nÃcessaire pour (dÃjà installÃ) ddd-3.3.9-1
        libXp.so.6 est nÃcessaire pour (dÃjà installÃ) nedit-5.4-2
        libXp.so.6 est nÃcessaire pour (dÃjà installÃ) openmotif-2.2.3-5
        libXp.so.6 est nÃcessaire pour (dÃjà installÃ) openmotif-devel-2.2.3-5
        libXp.so.6 est nÃcessaire pour (dÃjà installÃ) openmotif21-2.1.30-11
        libXp.so.6 est nÃcessaire pour (dÃjà installÃ) xorg-x11-6.7.99.903-6
        libXp.so.6 est nÃcessaire pour (dÃjà installÃ) xorg-x11-tools-6.7.99.903-6
        libXp.so.6 est nÃcessaire pour (dÃjà installÃ) xpdf-3.00-5
        xorg-x11-deprecated-libs = 6.7.99.903-6 est nÃcessaire pour (dÃjà installÃ) xorg-x11-deprecated-libs-devel-6.7.99.903-6

With a local copy of rawhide, it's easy to create a custom rpmdb with
"rpm --initdb" and "rpm -i --justdb --notrigger.... *.rpm"

rpmdb is useful because *rpm* and not because yum !

I am not arguing to keep rpmdb.
I am arguing to create something like :
- yum install --justdb --dbpath usr/lib/rpmdb/i386-redhat-linux/redhat/ '*'
or
- repodata2rpmdb   http://..../rawhide/repodata   http://.../fedora.us/repodata   /usr/lib/rpmdb/i386-redhat-linux/redhat/


Attachment: signature.asc
Description: Ceci est une partie de message =?ISO-8859-1?Q?num=E9riquement?= =?ISO-8859-1?Q?_sign=E9e=2E?=


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]
  Powered by Linux