strange yum multiarch behavior

Kir Kolyshkin <[email protected]>
Newsgroups gmane.linux.rpm.yum
Message-ID <[email protected]>
I am in the process of upgrading my desktop from F7 to F8. 'yum update'
fails, so I'm trying it step-by-step.

I use yum-3.2.7 from F8, most of the system is still F7 yet.

Here's what happens when I issue 'yum upgrade glibc':

[kir@dhcp0-6 ~]$ sudo yum upgrade glibc
Setting up Upgrade Process
Resolving Dependencies
--> Running transaction check
---> Package glibc.x86_64 0:2.7-2 set to be updated
--> Processing Dependency: glibc-common = 2.7-2 for package: glibc
--> Processing Dependency: glibc = 2.6-4 for package: glibc-devel
--> Processing Dependency: glibc = 2.6-4 for package: glibc-headers
--> Processing Dependency: glibc = 2.6-4 for package: glibc-devel
--> Processing Dependency: glibc = 2.6-4 for package: glibc-devel
---> Package glibc.i686 0:2.7-2 set to be updated
--> Running transaction check
--> Processing Dependency: glibc-headers = 2.6-4 for package: glibc-devel
---> Package glibc-devel.x86_64 0:2.7-2 set to be updated
---> Package glibc-common.x86_64 0:2.7-2 set to be updated
---> Package glibc-headers.x86_64 0:2.7-2 set to be updated
--> Running transaction check
--> Finished Dependency Resolution

Dependencies Resolved


=============================================================================
Updating:
 glibc                   x86_64     2.7-2            fedora            4.8 M
 glibc                   i686       2.7-2            fedora            5.4 M
Updating for dependencies:
 glibc-common            x86_64     2.7-2            fedora             21 M
 glibc-devel             x86_64     2.7-2            fedora            2.4 M
 glibc-headers           x86_64     2.7-2            fedora            599 k

Transaction Summary
=============================================================================
Install      0 Package(s)
Update       5 Package(s)
Remove       0 Package(s)

Total download size: 34 M
Is this ok [y/N]: y
Downloading Packages:
Running rpm_check_debug
ERROR with rpm_check_debug vs depsolve:
Package glibc-devel needs glibc = 2.6-4, this is not available.
Package glibc-devel needs glibc = 2.6-4, this is not available.
Package glibc-devel needs glibc-headers = 2.6-4, this is not available.
Package glibc-devel needs glibc-headers = 2.6-4, this is not available.
Complete!


See -- the problem is there are two arches for glibc-devel installed,
and somehow yum can't understand that both needs to be upgraded. If I
specify upgrade of glibc-devel explicitly, it works fine:

[kir@dhcp0-6 ~]$ sudo yum upgrade glibc glibc-common glibc-devel
glibc-headers
Setting up Upgrade Process
Resolving Dependencies
--> Running transaction check
---> Package glibc.i686 0:2.7-2 set to be updated
---> Package glibc-devel.x86_64 0:2.7-2 set to be updated
---> Package glibc.x86_64 0:2.7-2 set to be updated
---> Package glibc-devel.i386 0:2.7-2 set to be updated
---> Package glibc-headers.x86_64 0:2.7-2 set to be updated
---> Package glibc-common.x86_64 0:2.7-2 set to be updated
--> Finished Dependency Resolution

Dependencies Resolved

=============================================================================
 Package                 Arch       Version          Repository        Size
=============================================================================
Updating:
 glibc                   i686       2.7-2            fedora            5.4 M
 glibc                   x86_64     2.7-2            fedora            4.8 M
 glibc-common            x86_64     2.7-2            fedora             21 M
 glibc-devel             x86_64     2.7-2            fedora            2.4 M
 glibc-devel             i386       2.7-2            fedora            2.0 M
 glibc-headers           x86_64     2.7-2            fedora            599 k

Transaction Summary
=============================================================================
Install      0 Package(s)
Update       6 Package(s)
Remove       0 Package(s)

Total download size: 36 M
Is this ok [y/N]: y
Downloading Packages:
Running rpm_check_debug
Running Transaction Test
Finished Transaction Test
Transaction Test Succeeded
Running Transaction
  Updating  : glibc-common                 ####################### [ 1/12]
  Updating  : glibc                        ####################### [ 2/12]
  Updating  : glibc                        ####################### [ 3/12]
  Updating  : glibc-headers                ####################### [ 4/12]
  Updating  : glibc-devel                  ####################### [ 5/12]
  Updating  : glibc-devel                  ####################### [ 6/12]
  Cleanup   : glibc                        ####################### [ 7/12]
  Cleanup   : glibc-devel                  ####################### [ 8/12]
  Cleanup   : glibc                        ####################### [ 9/12]
  Cleanup   : glibc-devel                  ####################### [10/12]
  Cleanup   : glibc-headers                ####################### [11/12]
  Cleanup   : glibc-common                 ####################### [12/12]

Updated: glibc.i686 0:2.7-2 glibc.x86_64 0:2.7-2 glibc-common.x86_64
0:2.7-2 glibc-devel.x86_64 0:2.7-2 glibc-devel.i386 0:2.7-2
glibc-headers.x86_64 0:2.7-2
Complete!
[kir@dhcp0-6 ~]$
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.