yum won't remove a package that it lists as present

Chris G cl at isbd.net
Fri Dec 14 16:09:56 UTC 2007


On Fri, Dec 14, 2007 at 10:51:52AM -0500, David Boles wrote:
> Chris G wrote:
> > Why won't yum remove the older qt.x86_64?  See below:-
> > 
> >     home# yum list qt
> >     Loading "installonlyn" plugin
> >     Installed Packages
> >     qt.x86_64                                1:3.3.8-4.fc7 installed       
> >     qt.x86_64                                1:3.3.8-7.fc7 installed       
> >     Available Packages
> >     qt.i386                                  1:3.3.8-7.fc7 updates         
> >     home# yum remove qt-3.3.8-4.x86_64
> >     Loading "installonlyn" plugin
> >     Setting up Remove Process
> >     No Match for argument: qt-3.3.8-4.x86_64
> >     No Packages marked for removal
> > 
> 
> 
> Because this is a 'duplicate package' listed in the rpmdb.
> 
> Yum install yum-utils
> 
> package-cleanup -d    will show the duplicate listing(s)  could be more
> 
> package-cleanup --cleandupes   will fix it.
> 
> package-cleanup   by itself will display the switches.

Excellent, thank you.

Previously I had done a straightforward remove of an old/duplicate
package but a tool to automate the process is very welcome.

-- 
Chris Green




More information about the fedora-list mailing list