On Thu, Mar 26, 2009 at 01:22:07PM -0700, Daniel B. Thurman wrote: > Paul W. Frields wrote: >> On Thu, Mar 26, 2009 at 11:04:41AM -0700, Daniel B. Thurman wrote: >> >>> I am unable to find yum/rpm instructions on how to >>> find/locate duplicate packages that might be on my >>> system. >>> >>> Does anyone know how this is done? >>> >> >> Install the 'yum-utils' package. It includes the 'package-cleanup' >> utility that does what you want. >> >> > Thanks for the tip! > > Howevcr, I ran into this problem: > ================================================== > # package-cleanup --cleandupes > Setting up yum > Loaded plugins: fastestmirror, refresh-packagekit > Loading mirror speeds from cached hostfile > I will remove the following old duplicate packages: > 2:lam-libs-7.1.2-11.fc9.i386 > postgresql-pgpoolAdmin-1.0.0-7.fc8.noarch > Is this ok [y/N]: y > /usr/lib/lam/lam.ld.conf has not been configured as an alternative for > mpilibs32 > error: %preun(lam-libs-7.1.2-11.fc9.i386) scriptlet failed, exit status 2 > ===================================================== > > So, how can I remove lam-libs? This was a bug in that release of the lam-libs package, which was fixed in the newest lam-libs. I would do this (as root): rpm -q --scripts lam-libs-7.1.2-11.fc9 > /tmp/lam-libs-scripts rpm -e --noscripts lam-libs-7.1.2-11.fc9 Then look at the /tmp/lam-libs-scripts, in particular %preun and %postun, and see if there's anything you need to handle manually. -- Paul W. Frields http://paul.frields.org/ gpg fingerprint: 3DA6 A0AC 6D58 FEC4 0233 5906 ACDB C937 BD11 3717 http://redhat.com/ - - - - http://pfrields.fedorapeople.org/ irc.freenode.net: stickster @ #fedora-docs, #fedora-devel, #fredlug
Attachment:
pgpkQCuAfVHSm.pgp
Description: PGP signature
-- fedora-list mailing list fedora-list@xxxxxxxxxx To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines