rpm questions

Chris Kloiber ckloiber at ckloiber.com
Tue Apr 20 21:53:45 UTC 2004


On Wed, 2004-04-21 at 05:25, shmuel siegel wrote:
> I have a number of packages that have more than one entry. For instance
> glibc (2.3.3-20,2.3.3-18) and shadow_utils(4.0.3-21,4.0.3-19).
> I am not using a 64 bit system so I don't think that I should have
> multiple versions.
> 
> 1) Is there an easy way to find all such entities?

"rpm -qa" will list all the rpms on the system.

> 2) Should I delete the older version?

No. Not exactly. If you 'remove' the older glibc for instance, it will
likely render your system unbootable as it removes the only actual copy
of numerous files whose names are the same between both versions.
Instead try removing the older version with:

# rpm -e --justdb glibc-2.3.3-18 glibc-common-2.3.3-18 nscd-2.3.3-18

This removes the information about that package from the rpm database,
but does *not* touch the files on disk. Rinse and repeat for all the
older versions of duplicate rpms.

-- 
Chris Kloiber






More information about the fedora-test-list mailing list