Re: How to clean up Yum mess?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sat, 2012-03-03 at 14:31 +0000, Andy Blanchard wrote:
> First step is to check whether you actually have multiple versions of
> the same package installed, or just that RPM/Yum think so, ie. does
> the command:
> 
>    rpm -q glibc
> 
> report one or more packages?
> 
> If the former, the you can probably fix the problem by a clean and
> reset of both the RPM and Yum package data (which is harmless in any
> event):
> 
>    # Remove the RPM package DB:
>    rm -f /var/lib/rpm/__db.*
>    # Rebuild the RPM package DB:
>    rpmdb --rebuilddb
>    # Clear the Yum cache:
>    yum clean all
>    # Rebuild the Yum package data (and check for updates):
>    yum check-update
> 
> If the latter, then try the following:
> 
>    # Install yum-utils (if you don't have it already):
>    yum install yum-utils
>    # Clean up duplicate packages
>    # NOTE: I'd recommend a review of the Man page and use of the
> information options first:
>    package-cleanup --cleandupes
> 
> 
> HTH,

It did help - thanks Andy...

It was the latter (2 copies of e.g. qlibc) so I ran 
package-cleanup --cleandupes
This caused me to take a bit of a deep breath as it also wanted to
remove various dependencies and amounted to some 50 packages to be
removed.

However - "yum check" comes up clean and the so far everything seems OK.

Thanks for your help. Much appreciated...

Mark

Attachment: signature.asc
Description: This is a digitally signed message part

-- 
users mailing list
users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org
[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux