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

Re: RPM database management



Hi again,

On Tue, 27 Aug 2002, Jeff Johnson wrote:

> > Another *big* problem I see is also multiple version of the same pkgs:
> > will that fit in the DB ?
> rpm supports multiple versions, even multiple instances, of packages
> installed in the database. Whether that's useful is a different question.

I used rpmcache to fill a database with some rpms (a lot).

In them there was several versions of the same pkg, eg:
redhat-6.2/RPMS/diffutils-2.7-17.i386.rpm And
redhat-6.2/updates/RPMS/diffutils-2.7-22.6x.i386.rpm

When trying to get informations back from the DB, I get:
$ rpm -qa --dbpath /scratch/BuildSpace/rpmDB/up2date/cache/ | grep diffutils
diffutils-2.7-22.6x

Looks like the most recent version erased the old one...
Is there a way to avoid that ? (that was the question, in fact).
Thanks.

	Yannick






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