Re: yum update fails: "elfutils-libs conflicts with elfutils <0.127-1"
David Timms <[email protected]>
| Newsgroups | gmane.linux.rpm.yum |
|---|---|
| Message-ID | <[email protected]> |
Hiren Patel wrote:
> hi,
>
> maybe post your yum configuration file and repository configurations to
> the list.
>
> you are completely sure that this is a fedora 6 machine?
> i would only imagine these kinds of problems when upgrading to far
> distance versions of packages, like fedora 6 trying to use a 7
> repository for updates or so.
>
> have there been any unusual configurations to yum, or the like?
>
> On Tue, 2007-06-12 at 12:48 +0200, wu wei wrote:
>> Hello,
>>
>> I have just started using a machine with a fresh Fedora 6
>> installation. I have confirmed that yum is configured to use the
>> standard set of repositories for this distro.
>>
>> "yum update" fails with the following errors:
>>
>> <snip 3,000+ lines similar to those below>
>> --> Processing Dependency: libc.so.6(GLIBC_2.2) for package: pam
>> --> Processing Dependency: libdl.so.2(GLIBC_2.0) for package: elfutils-libs
>> --> Processing Dependency: libkrb5.so.3()(64bit) for package: openssl
>> --> Processing Dependency: libdl.so.2(GLIBC_2.0) for package: mkinitrd
>> --> Restarting Dependency Resolution with new changes.
>> --> Populating transaction set with selected packages. Please wait.
>> ---> Package krb5-libs.x86_64 0:1.5-21 set to be updated
>> ---> Package glibc.i386 0:2.5-10.fc6 set to be updated
>> ---> Package elfutils-libelf.x86_64 0:0.127-1.fc6 set to be updated
>> ---> Package rpm-libs.x86_64 0:4.4.2-33.fc6 set to be updated
>> ---> Package popt.x86_64 0:1.10.2-33.fc6 set to be updated
>> --> Running transaction check
>> Error: Missing Dependency: audit-libs = 1.4.2-3.fc6 is needed by package audit
>> Error: Missing Dependency: elfutils-libs = 0.126-1.fc6 is needed by
>> package elfutils
>> Error: elfutils-libs conflicts with elfutils < 0.127-1.fc6
>> Error: Missing Dependency: audit-libs = 1.4.2-3.fc6 is needed by
>> package audit-libs-python
>> Error: Missing Dependency: libxml2 = 2.6.27 is needed by package libxml2-python
>> Error: elfutils-libelf conflicts with elfutils < 0.127-1.fc6
>> Error: Missing Dependency: elfutils-libelf = 0.126-1.fc6 is needed by
>> package elfutils
>> Error: Missing Dependency: rpm = 4.4.2-32 is needed by package rpm-python
>> Error: Unable to satisfy dependencies
>> Error: Package elfutils-libs needs libc.so.6(GLIBC_2.1.1), this is not
>> available.
>> Error: Package procps needs libc.so.6(GLIBC_2.2), this is not available.
>> Error: Package libsemanage needs libc.so.6(GLIBC_2.3.4), this is not available.
>> Error: Package grep needs libc.so.6(GLIBC_2.4), this is not available.
>> Error: Package less needs libc.so.6(GLIBC_2.3), this is not available.
>> <snip 1,000 lines similar to the one above>
>>
>> The command "yum upgrade" fails in similar fashion.
>>
>> For errors such as...
>>
>> "Error: Missing Dependency: audit-libs = 1.4.2-3.fc6 is needed by package audit"
>>
>> ...What do I do? I tried "yum install audit-libs" but that generates
>> hundreds of further similar errors.
>>
>> For errors such as...
>>
>> "Error: Package X needs Y, this is not available."
>>
>> ...I understand the essence of the message, i.e. that proceeding with
>> the update would break the existing installation of package X. I
>> understand that a common fix would be to uninstall all the packages
>> that would be broken by the update, proceed with the update, then
>> re-install the uninstalled packages as necessary. However I hesitate
>> to do that since there are over 1,000 packages affected.
>>
>> What am I doing wrong?
>>
>> The machine was set up by an offsite server hosting company who have
>> provided me with an ssh login.
rpm -V yum fedora-release
and post the result if any.
yum -d 15 update audit
and post the result.
At some stage there was some issue with elfutils and co, but this has
been sorted months ago. This suggests that the mirror chosen by yum is
not up2date.
- exclude the problem packages for now:
yum --exclude=audit --exclude=elfutils update
- if still a problem: clear yum's metadata cache
yum clean metadata dbcache
if still a problem: tell yum to use a current mirror {that you need to
find} backup the .repo so you can revert to it later.
For the repo, you can add in /etc/yum.repos.d/fedora-updates.repo :
failovermethod=priority
baseurl=http://youclosestmirror/p/f/u/6/i386/
DaveT.