Bug 147426
Summary: | "yum update" installs multiple versions of same rpm, then fails | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Konstantin Olchanski <olchansk> |
Component: | yum | Assignee: | Jeremy Katz <katzj> |
Status: | CLOSED RAWHIDE | QA Contact: | |
Severity: | high | Docs Contact: | |
Priority: | medium | ||
Version: | 3 | CC: | katzj |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | i686 | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2005-08-27 19:43:16 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
Konstantin Olchanski
2005-02-07 22:35:58 UTC
so half the time you run yum it corrupts your rpmdb? Is there anything else going on that might cause that? Additionally, failing on any error is the best way to make sure that you're not missing any problems with packages that come along. It's also a useful failsafe mode. Have you experienced any other random system problems? like, for example, programs segfaulting oddly? I've got a report of this happening to someone else too. The way round it was to switch to a reliable fixed mirror and yum clean yum's cache then do a yum update. Also making sure you aren't updating to rawhide is another good thing to check. To answer Seth Vidal- yes, I see the problem on known-good hardware. These machines have been previously running RHL8.0 and RHL9, with yum-based Fedora-legacy automatic updates, without any problems. To answer Sitsofe Wheeler- 1) I do not know what mirrors I use- I use the default yum confguration and if it points to iffy mirrors, that would be a bug that should be fixed. (But note that iffy mirrors should not confuse yum and corrupt the rpm database- that would be a yum bug). To answer Sitsofe Wheeler- 2) I do not know what "updating to rawhide" is. I just want to install all the FC3 updates accumulated since the FC3 CDs were originally released. K.O. I'm not certain but I think that 147275 and this are actually the same bug. I committed a change to cvs tonight that solves 147275 - I'm reasonably certain it will close this, too. From description bug 147275 looks quite different: there yum is confused by a confused set of packages; while here yum starts with a consistent set of packages (pristine installation) and confuses everything. Anyhow, if I can have the updated yum rpm, I will put it to the test. K.O. needinfo I did not see this problem for quite a while until it happened on one of the FC3 machines last week. Our nightly update scripts started failing with this message: linm9b.triumf.ca Release Fedora3 Error: Missing Dependency: libstdc++-devel = 3.4.2 is needed by package gcc4-c++ Error: Missing Dependency: gcc = 3.4.2 is needed by package libtool Error: Missing Dependency: libstdc++ = 3.4.2 is needed by package gcc4-c++ Repository updates-released already added, not adding again Repository base already added, not adding again Repository updates-released already added, not adding again Repository base already added, not adding again The End And lo and behold, "rpm" shows two versions of gcc4-c++ installed: [root@linm9b ~]# rpm -q gcc4-c++ gcc4-c++-4.0.0-0.8 gcc4-c++-4.0.0-0.41.fc3 The rpm is version rpm-4.3.2-21. The yum is version yum-2.2.1-0.fc3 The original bug report was about this rpm confusion happening during the initial installation when existance of updated rpm and yum did not help. Now that FC4 is out, this bug is probably irrelevant. If FC4 shows this problem, I can always refile it. K.O. Closing this report as per the last comment. if you see this problem in FC4, feel free to reopen this |