Bug 526503
Summary: | software updater stalled on selinux install, and generates bugzilla warning now | ||
---|---|---|---|
Product: | Red Hat Enterprise Linux 5 | Reporter: | Duane Hellums <duane_hellums> |
Component: | pirut | Assignee: | James Antill <james.antill> |
Status: | CLOSED NOTABUG | QA Contact: | Red Hat Satellite QA List <satqe-list> |
Severity: | urgent | Docs Contact: | |
Priority: | low | ||
Version: | 5.0 | CC: | bkearney, cww |
Target Milestone: | rc | ||
Target Release: | --- | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2012-01-17 19:05:53 UTC | Type: | --- |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
Duane Hellums
2009-09-30 16:07:04 UTC
It sounds like an update failed part way through, and you have mixed versions of yum/yum-rhn-plugin maybe a couple of others. You might be able to run "package-cleanup --dupes" and "package-cleanup --problems", which might fix the problem. If not run: rpm -q yum yum-rhn-plugin yum-utils yum-metadata-parser ...and I'll tell you what to do. I tried to run package-cleanup and got a file not found error. Did a search on the entire system and couldn't find it. Herewith the installed yum packages: yum-3.2.8-9.el5_2.1 yum-3.2.22-20.el5 yum-rhn-plugin-0.5.3-12.el5_2.9 package yum-utils is not installed yum-metadata-parser-1.1.2-2.el5 yum-metadata-parser-1.1.2-3.el5 You have two versions of yum and yum-metadata-parser ... that's not good. Your best bet is probably to goto /var/cache/yum/* and rpm -Uvh the packages directly. Note that you might want to "yum clean metadata" after you've fixed those by hand. yum-complete-transaction is in yum-utils, you'll probably be able to install it when you get just one version of yum/yum-metadata-parser installed. Then you can run yum-complete-transaction and/or package-cleanup (but pay attention to what it says it's going to do, don't just blindly say yes if y-c-t wants to delete everything from your system). [root@ packages]# rpm -q yum-metadata-parser yum-metadata-parser-1.1.2-2.el5 yum-metadata-parser-1.1.2-3.el5 [root@ packages]# ls -al yum* -rw-r--r-- 1 root root 1021109 Aug 27 15:26 yum-3.2.22-20.el5.noarch.rpm -rw-r--r-- 1 root root 25948 Apr 22 2009 yum-metadata-parser-1.1.2-3.el5.x86_64.rpm -rw-r--r-- 1 root root 57529 Aug 27 15:25 yum-rhn-plugin-0.5.4-13.el5.noarch.rpm [root@ packages]# rpm -Uvh yum-metadata-parser-1.1.2-2.el5 error: open of yum-metadata-parser-1.1.2-2.el5 failed: No such file or directory [root@ packages]# rpm -q yum-utils package yum-utils is not installed RPM thinks metadata-parser is installed, but it isn't anywhere on the system, and RPM won't let me uninstall it. By the way, all of this is occurring on a system that is pretty much straight out of the box, and was updated using the menu-based software updater--I didn't install both version, so it must have been a system malfunction, not something "custom" we did on our end. > rpm -Uvh yum-metadata-parser-1.1.2-2.el5 This should be: rpm -Uvh yum-metadata-parser-1.1.2-3.el5.x86_64.rpm ...you may also need to do: rpm -e yum-metadata-parser-1.1.2-2.el5.x86_64 ...dito. with the yum problem. > By the way, all of this is occurring on a > system that is pretty much straight out of the box, and was updated using the > menu-based software updater I understand, what almost certainly happened is that the transaction failed in the middle of an update. Maybe because the GUI updater crashed, maybe due to the selinux update, maybe for another reason. One you get yum/y-m-p working again, it is much easier to fix the rest of the problems. If you need any more help fixing yum/y-m-p if you phone support they should be able to walk you through it. This BZ has not been updated for 2 years. Closing out as notabug. Feel free to contact Support if this is still an issue. |