tip: automated way to delete duplicate rpms

Kim Lux lux at diesel-research.com
Sun Dec 31 00:11:35 UTC 2006


On Sat, 2006-12-30 at 11:57 -0800, oldman wrote:
>  This worries me a little bit.  If you remove a package aren't you
> likely to remove identically named files from the newer package as
> well?
> 
>         I ask because I usually do a rpm -e --justdb <pkgname> as I
> once found
> myself without some services after deleting an old package.

I agree its not good to have multiple versions installed.

You could always do a refresh on the packages that remain behind.  One
could put a "yumdownloader $pkg rpm --refresh $pkg in a  loop for the
list of packages that are left installed. 



 
-- 
Kim Lux,  Diesel Research Inc.





More information about the fedora-list mailing list