Bevan C. Bennett wrote:
Rick Stevens wrote:
The classic circular dependency issue. I thought yum handled this
better.
The fix is to install the common bit with the "--nodeps" option to rpm,
THEN install the regular glibc bits:
rpm -Fvh --nodeps glibc-common*.rpm
rpm -Fvh glibc*.rpm
Works for me.
Yum -does- appear to handle this better. The problem seems to be that
the original poster's up2date didn't pick up glibc-common as needing to
be updated, and he didn't specify it explicitly. Compare with the
following:
[bevan@wallace ~]> yum list updates
Gathering header information file(s) from server(s)
Server: Fedora Core 1 - i386 - Base
Server: Fedora Core 1 - i386 - Released Updates
Finding updated packages
Downloading needed headers
Name Arch Version Repo
--------------------------------------------------------------------------------glibc
i686 2.3.2-101.4 updates-released
glibc-common i386 2.3.2-101.4 updates-released
glibc-devel i386 2.3.2-101.4 updates-released
glibc-headers i386 2.3.2-101.4 updates-released
nscd i386 2.3.2-101.4 updates-released
[bevan@wallace ~]> sudo yum update
Gathering header information file(s) from server(s)
Server: Fedora Core 1 - i386 - Base
Server: Fedora Core 1 - i386 - Released Updates
Finding updated packages
Downloading needed headers
Resolving dependencies
Dependencies resolved
I will do the following:
[update: nscd 2.3.2-101.4.i386]
[update: glibc-devel 2.3.2-101.4.i386]
[update: glibc-common 2.3.2-101.4.i386]
[update: glibc 2.3.2-101.4.i686]
[update: glibc-headers 2.3.2-101.4.i386]
Is this ok [y/N]: y
Getting nscd-2.3.2-101.4.i386.rpm
Getting glibc-devel-2.3.2-101.4.i386.rpm
Getting glibc-common-2.3.2-101.4.i386.rpm
Getting glibc-2.3.2-101.4.i686.rpm
Getting glibc-headers-2.3.2-101.4.i386.rpm
Running test transaction:
Test transaction complete, Success!
glibc-common 100 % done 1/10
glibc 100 % done 2/10
Stopping sshd:[ OK ]
Starting sshd:[ OK ]
glibc-headers 100 % done 3/10
nscd 100 % done 4/10
glibc-devel 100 % done 5/10
Completing update for nscd - 6/10
Completing update for glibc-devel - 7/10
Completing update for glibc-common - 8/10
Completing update for glibc - 9/10
Completing update for glibc-headers - 10/10
Updated: nscd 2.3.2-101.4.i386 glibc-devel 2.3.2-101.4.i386
glibc-common 2.3.2-101.4.i386 glibc 2.3.2-101.4.i686 glibc-headers
2.3.2-101.4.i386
Transaction(s) Complete
Ah! You're right. I didn't notice the missing dependency.
I just did an update against kernel.org's mirror and it handled it
nicely. Ok, yum's vindicated. It is I who's broken!
----------------------------------------------------------------------
- Rick Stevens, Senior Systems Engineer rstevens@xxxxxxxxxxxxxxx -
- VitalStream, Inc. http://www.vitalstream.com -
- -
- We have met the enemy and not only is he ours...he is us! -
- -- Walt Kelly, "Pogo" -
----------------------------------------------------------------------