rpm --redhat-requires, rpm --redhat-provides

Matias Feliciano feliciano.matias at free.fr
Thu Sep 9 06:38:27 UTC 2004


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/


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: Ceci est une partie de message num?riquement sign?e.
URL: <http://listman.redhat.com/archives/fedora-devel-list/attachments/20040909/e37acff8/attachment.sig>


More information about the fedora-devel-list mailing list