Re: How to clean up Yum mess?

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

 



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,

--
Andy

The only person to have all his work done by Friday was Robinson Crusoe
-- 
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