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

Panu Matilainen pmatilai at welho.com
Thu Sep 9 10:44:00 UTC 2004


On Thu, 9 Sep 2004, Matias Feliciano wrote:

> 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
[...]

This is exactly the kind of madness we (or at least I) would like to
*solve* with the new tool. See my other mail about this very thing where
'rpm --whatrequires' fails to give a decent answer.

> 
> 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 !

It (the new tool) doesn't have to depend on yum, just the repomd libraries 
which currently come from the yum package but could be separated easily, 
although yum is hardly what I'd call a large package :)

	- Panu -





More information about the fedora-devel-list mailing list