Ok, due to my stupidity and interrupting yum doing some upgrades, I have a few dup rpms that I need to get rid of the older ones.
Is there a way to do this without tediously going through my whole list rpm by rpm and removing them one by one? Like a search script or command to use and have the older ones removed?
Thanks,
Mike Chambers
Mike Chambers wrote:
Ok, due to my stupidity and interrupting yum doing some upgrades, I have a few dup rpms that I need to get rid of the older ones.
Is there a way to do this without tediously going through my whole list rpm by rpm and removing them one by one? Like a search script or command to use and have the older ones removed?
# yum install yum-utils # package-cleanup --cleandupes
Rahul
On Thu, 2007-09-27 at 02:28 +0530, Rahul Sundaram wrote:
Mike Chambers wrote:
Ok, due to my stupidity and interrupting yum doing some upgrades, I have a few dup rpms that I need to get rid of the older ones.
Is there a way to do this without tediously going through my whole list rpm by rpm and removing them one by one? Like a search script or command to use and have the older ones removed?
# yum install yum-utils # package-cleanup --cleandupes
Thanks Rahul and Martin, that did the trick.
On Wed, 2007-09-26 at 22:57 +0200, Mike Chambers wrote:
Ok, due to my stupidity and interrupting yum doing some upgrades, I have a few dup rpms that I need to get rid of the older ones.
Is there a way to do this without tediously going through my whole list rpm by rpm and removing them one by one? Like a search script or command to use and have the older ones removed?
Thanks,
Mike Chambers
I believe package-cleanup --dupes (in yum-utils) is what you need.
Martin
Mike Chambers wrote:
Ok, due to my stupidity and interrupting yum doing some upgrades, I have a few dup rpms that I need to get rid of the older ones.
Is there a way to do this without tediously going through my whole list rpm by rpm and removing them one by one? Like a search script or command to use and have the older ones removed?
Thanks,
Mike Chambers
Hi,
You might have good luck with the Smart package manager. It has a command "Fix All Problems" that will often fix this. :-)
yum install smart-gui
Adam