Bug 488224 - Compat arch problem: i586 vs. i686
Summary: Compat arch problem: i586 vs. i686
Keywords:
Status: CLOSED INSUFFICIENT_DATA
Alias: None
Product: Fedora
Classification: Fedora
Component: yum
Version: 11
Hardware: All
OS: Linux
low
medium
Target Milestone: ---
Assignee: Seth Vidal
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
: 480516 (view as bug list)
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2009-03-03 10:46 UTC by Thomas Woerner
Modified: 2014-01-21 23:08 UTC (History)
6 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2009-10-12 21:46:57 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
Ouput of 'yum update --skip-broken --exclude="nspr*" -d5' (26.44 KB, text/plain)
2009-03-06 12:36 UTC, Thomas Woerner
no flags Details

Description Thomas Woerner 2009-03-03 10:46:55 UTC
Description of problem:
There is a dependency of a package in my system for an older openssl library and in updates there is a new openssl package available with another .so library version. An update of openssl the i686 package is therefore not possible, but yum --skip-broken tries to installl the i586 version due to a requirement of another update package to the new openssl library.

i586 and i686 are compat architectures and therefore should be treated to be identical in this case.

The following openssl packages are installed:
openssl-0.9.8j-6.fc11.i686
openssl-devel-0.9.8j-6.fc11.i386


# yum update --skip-broken:
Loaded plugins: dellsysidplugin2, refresh-packagekit
Excluding Packages in global exclude list
Finished
Setting up Update Process
Resolving Dependencies
--> Running transaction check
---> Package amarok.i586 0:2.0.1.1-6.fc11 set to be updated
---> Package docbook-style-dsssl.noarch 0:1.79-6.fc11 set to be updated
---> Package kipi-plugins.i586 0:0.2.0-0.18.rc2.fc11 set to be updated
---> Package libgpod.i586 0:0.7.0-2.fc11 set to be updated
--> Processing Dependency: libgpod.so.3 for package: gnome-mplayer
---> Package nss_compat_ossl.i586 0:0.9.4-3.fc11 set to be updated
--> Processing Dependency: libcrypto.so.7 for package: VirtualBox
---> Package openssl.i686 0:0.9.8j-8.fc11 set to be updated
---> Package openssl-devel.i586 0:0.9.8j-8.fc11 set to be updated
---> Package qca-ossl.i586 0:2.0.0-0.6.beta3.fc11 set to be updated
---> Package rhythmbox.i586 0:0.11.6-28.r6096.fc11 set to be updated
--> Finished Dependency Resolution
VirtualBox-2.1.4_42893_fedora9-1.i386 from installed has depsolving problems
  --> Missing Dependency: libcrypto.so.7 is needed by package VirtualBox-2.1.4_4
2893_fedora9-1.i386 (installed)
gnome-mplayer-0.9.4-1.fc11.i386 from installed has depsolving problems
  --> Missing Dependency: libgpod.so.3 is needed by package gnome-mplayer-0.9.4-
1.fc11.i386 (installed)
--> Running transaction check
---> Package libgpod.i586 0:0.7.0-2.fc11 set to be updated
--> Processing Dependency: libgpod.so.4 for package: kipi-plugins
--> Processing Dependency: libgpod.so.4 for package: rhythmbox
--> Processing Dependency: libgpod.so.4 for package: amarok
---> Package openssl.i686 0:0.9.8j-8.fc11 set to be updated
--> Processing Dependency: openssl = 0.9.8j-8.fc11 for package: openssl-devel
--> Running transaction check
---> Package libgpod.i586 0:0.7.0-2.fc11 set to be updated
--> Processing Dependency: libgpod.so.4 for package: kipi-plugins
--> Processing Dependency: libgpod.so.4 for package: rhythmbox
--> Processing Dependency: libgpod.so.4 for package: amarok
---> Package openssl.i586 0:0.9.8j-8.fc11 set to be updated
--> Finished Dependency Resolution
amarok-2.0.1.1-6.fc11.i586 from rawhide has depsolving problems
  --> Missing Dependency: libgpod.so.4 is needed by package amarok-2.0.1.1-6.fc1
1.i586 (rawhide)
kipi-plugins-0.2.0-0.18.rc2.fc11.i586 from rawhide has depsolving problems
  --> Missing Dependency: libgpod.so.4 is needed by package kipi-plugins-0.2.0-0
.18.rc2.fc11.i586 (rawhide)
rhythmbox-0.11.6-28.r6096.fc11.i586 from rawhide has depsolving problems
  --> Missing Dependency: libgpod.so.4 is needed by package rhythmbox-0.11.6-28.
r6096.fc11.i586 (rawhide)
--> Running transaction check
---> Package amarok.i586 0:2.0.1.1-6.fc11 set to be updated
---> Package kipi-plugins.i586 0:0.2.0-0.18.rc2.fc11 set to be updated
---> Package libgpod.i586 0:0.7.0-2.fc11 set to be updated
---> Package rhythmbox.i586 0:0.11.6-28.r6096.fc11 set to be updated
--> Finished Dependency Resolution
--> Running transaction check
---> Package docbook-style-dsssl.noarch 0:1.79-6.fc11 set to be updated
---> Package nss_compat_ossl.i586 0:0.9.4-3.fc11 set to be updated
---> Package openssl.i586 0:0.9.8j-8.fc11 set to be updated
---> Package openssl-devel.i586 0:0.9.8j-8.fc11 set to be updated
---> Package qca-ossl.i586 0:2.0.0-0.6.beta3.fc11 set to be updated
--> Finished Dependency Resolution

Packages skipped because of dependency problems:
    amarok-2.0.1.1-6.fc11.i586 from rawhide
    kipi-plugins-0.2.0-0.18.rc2.fc11.i586 from rawhide
    libgpod-0.7.0-2.fc11.i586 from rawhide
    openssl-0.9.8j-8.fc11.i686 from rawhide
    rhythmbox-0.11.6-28.r6096.fc11.i586 from rawhide

Dependencies Resolved

================================================================================
 Package                 Arch       Version                   Repository   Size
================================================================================
Updating:
 docbook-style-dsssl     noarch     1.79-6.fc11               rawhide     323 k
 nss_compat_ossl         i586       0.9.4-3.fc11              rawhide      44 k
 openssl-devel           i586       0.9.8j-8.fc11             rawhide     2.0 M
 qca-ossl                i586       2.0.0-0.6.beta3.fc11      rawhide     120 k
Installing for dependencies:
 openssl                 i586       0.9.8j-8.fc11             rawhide     1.4 M
Skipped (dependency problems):
 amarok                  i586       2.0.1.1-6.fc11            rawhide     9.4 M
 kipi-plugins            i586       0.2.0-0.18.rc2.fc11       rawhide     4.1 M
 libgpod                 i586       0.7.0-2.fc11              rawhide     268 k
 openssl                 i686       0.9.8j-8.fc11             rawhide     1.4 M
 rhythmbox               i586       0.11.6-28.r6096.fc11      rawhide     4.5 M

Transaction Summary
================================================================================
Install      1 Package(s)         
Update       4 Package(s)         
Remove       0 Package(s)         

Total download size: 3.8 M
Is this ok [y/N]: n



# yum update openssl
Loaded plugins: dellsysidplugin2, refresh-packagekit
Setting up Update Process
Resolving Dependencies
--> Running transaction check
---> Package openssl.i686 0:0.9.8j-8.fc11 set to be updated
--> Processing Dependency: libcrypto.so.7 for package: VirtualBox
--> Processing Dependency: openssl = 0.9.8j-6.fc11 for package: openssl-devel
--> Running transaction check
--> Processing Dependency: libcrypto.so.7 for package: VirtualBox
---> Package openssl-devel.i586 0:0.9.8j-8.fc11 set to be updated
--> Finished Dependency Resolution
VirtualBox-2.1.4_42893_fedora9-1.i386 from installed has depsolving problems
  --> Missing Dependency: libcrypto.so.7 is needed by package VirtualBox-2.1.4_42893_fedora9-1.i386 (installed)
Error: Missing Dependency: libcrypto.so.7 is needed by package VirtualBox-2.1.4_42893_fedora9-1.i386 (installed)


# yum install openssl.i686
Loaded plugins: dellsysidplugin2, refresh-packagekit
Setting up Install Process
Resolving Dependencies
--> Running transaction check
--> Processing Dependency: libcrypto.so.7 for package: VirtualBox
--> Processing Dependency: openssl = 0.9.8j-6.fc11 for package: openssl-devel
---> Package openssl.i686 0:0.9.8j-8.fc11 set to be updated
--> Running transaction check
--> Processing Dependency: libcrypto.so.7 for package: VirtualBox
---> Package openssl-devel.i586 0:0.9.8j-8.fc11 set to be updated
--> Finished Dependency Resolution
VirtualBox-2.1.4_42893_fedora9-1.i386 from installed has depsolving problems
  --> Missing Dependency: libcrypto.so.7 is needed by package VirtualBox-2.1.4_42893_fedora9-1.i386 (installed)
Error: Missing Dependency: libcrypto.so.7 is needed by package VirtualBox-2.1.4_42893_fedora9-1.i386 (installed)


# yum install openssl.i586
Loaded plugins: dellsysidplugin2, refresh-packagekit
Setting up Install Process
Resolving Dependencies
--> Running transaction check
---> Package openssl.i586 0:0.9.8j-8.fc11 set to be updated
--> Finished Dependency Resolution

Dependencies Resolved

================================================================================
 Package          Arch          Version                  Repository        Size
================================================================================
Installing:
 openssl          i586          0.9.8j-8.fc11            rawhide          1.4 M

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

Total download size: 1.4 M
Is this ok [y/N]: n



Version-Release number of selected component (if applicable):
yum-3.2.21-11.fc11.noarch

How reproducible:
Always

Comment 1 Tim Lauridsen 2009-03-05 14:12:15 UTC
could you attach the output from

yum update --skip-broken -d5

so I can see what skip-broken is doing

Comment 2 Thomas Woerner 2009-03-06 12:36:43 UTC
Created attachment 334285 [details]
Ouput of 'yum update --skip-broken --exclude="nspr*" -d5'

Comment 3 Tim Lauridsen 2009-03-06 14:00:18 UTC
Ok, i can see what goes wrong.
when skip-broken remove a package from the transaction, then it removes it from the pkgSack too, so it cant be pulled in by the depsolver again.
But only on multilib system it remove all other existing arch packages, with the same name. (if name.i386 get removed, then name.x86_64 gets removed too)
But this shall also happen on singlelib systems, so if name.i386, get removed, then shall name.i586, name.i686 etc be removed from the pkgSack too.

Comment 4 Tim Lauridsen 2009-03-06 14:09:10 UTC
Could please test current upstream

mkdir <somedir>
cd <somedir>
git clone git://yum.baseurl.org/yum.git
cd yum
git checkout yum-3_2_X
su -c "./yummain.py update"

Comment 5 Thomas Woerner 2009-03-06 14:27:38 UTC
I still have the same problem:

# ./yummain.py update --skip-broken --exclude="nspr*"

Dependencies Resolved

==============================================================================================================================
 Package                        Arch                  Version                                  Repository                Size
==============================================================================================================================
Updating:
 openssl-devel                  i586                  0.9.8j-8.fc11                            rawhide                  2.0 M
Installing for dependencies:
 openssl                        i586                  0.9.8j-8.fc11                            rawhide                  1.4 M
Skipped (dependency problems):
 amarok                         i586                  2.0.2-1.fc11                             rawhide                  9.5 M
 kipi-plugins                   i586                  0.2.0-0.18.rc2.fc11                      rawhide                  4.1 M
 libgpod                        i586                  0.7.0-2.fc11                             rawhide                  268 k
 openssl                        i686                  0.9.8j-8.fc11                            rawhide                  1.4 M
 rhythmbox                      i586                  0.11.6-29.r6176.fc11                     rawhide                  4.6 M

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

Total download size: 3.4 M
Is this ok [y/N]: 


BTW: I hat to use "git checkout -b yum-3_2_X origin/yum-3_2_X" to get the tree.

Comment 6 seth vidal 2009-03-06 14:51:12 UTC
I think this is related

https://bugzilla.redhat.com/show_bug.cgi?id=486616

Comment 7 seth vidal 2009-03-06 21:25:28 UTC
nevermind to my last comment.

Comment 8 Tim Lauridsen 2009-03-09 12:48:39 UTC
Could you please attach the output from
yum update --skip-broken -d5

Running the current upstream yum-3_2_X checkout.

Comment 9 Thomas Woerner 2009-03-09 14:05:56 UTC
Please have a look at http://people.redhat.com/twoerner/BZ/488224/TODO. It is a test case for this problem.

1) rpm -ihv http://people.redhat.com/~twoerner/BZ/488224/repo/i686/bz488224_repo-0.0.1-1.fc11.i686.rpm

2) yum install bz488224_openssl-0.0.1-1.fc11.i686 bz488224_openssl-devel-0.0.1-1.fc11.i686 bz488224_VirtualBox-0.0.1-1.fc11.i586

3) yum update --skip-broken "bz488224_openssl*"

You will get this:
------------------

Setting up Update Process
Resolving Dependencies
--> Running transaction check
---> Package bz488224_openssl.i686 0:0.0.2-2.fc11 set to be updated
--> Processing Dependency: bz488224_openssl-0.0.1 for package: bz488224_VirtualBox
---> Package bz488224_openssl-devel.i686 0:0.0.2-2.fc11 set to be updated
--> Running transaction check
---> Package bz488224_openssl.i586 0:0.0.1-1.fc11 set to be updated
--> Finished Dependency Resolution

Dependencies Resolved

================================================================================
 Package                     Arch      Version              Repository     Size
================================================================================
Updating:
 bz488224_openssl            i686      0.0.2-2.fc11         bz488224      1.6 k
 bz488224_openssl-devel      i686      0.0.2-2.fc11         bz488224      1.6 k
Installing for dependencies:
 bz488224_openssl            i586      0.0.1-1.fc11         bz488224      1.6 k

Transaction Summary
================================================================================
Install      1 Package(s)         
Update       2 Package(s)         
Remove       0 Package(s)         

Total download size: 4.8 k
Is this ok [y/N]:

Comment 10 seth vidal 2009-03-11 15:24:23 UTC
okay,
 Can you apply this patch to rawhide:
http://skvidal.fedorapeople.org/misc/yum-comparable-arch-provides.patch

and test it for me?

Comment 11 seth vidal 2009-03-12 16:36:05 UTC
*** Bug 480516 has been marked as a duplicate of this bug. ***

Comment 12 Bug Zapper 2009-06-09 11:48:22 UTC
This bug appears to have been reported against 'rawhide' during the Fedora 11 development cycle.
Changing version to '11'.

More information and reason for this action is here:
http://fedoraproject.org/wiki/BugZappers/HouseKeeping

Comment 13 Peter H.S. 2009-06-25 19:00:16 UTC
I have the exact same problems installing openssl-devel from yum in Fedora 11. But interestingly enough, when getting the file "openssl-devel-0.9.8k-5.fc11.i586.rpm" from an mirror and installing it with 'rpm -ivh openssl-devel-0.9.8k-5.fc11.i586.rpm' openssl-devel install just fine.

installing openssl-devel with yum doesn't work whether I have:
'openssl-0.9.8k-5.fc11.i686.rpm' installed, or
'openssl-0.9.8k-5.fc11.i586.rpm' installed.


Also, yum can't see the .i686 version of openssl, even though this package seems to exist in the Fedora update mirror I have checked, eg:

http://ftp.rz.uni-wuerzburg.de/pub/MIRROR/fedora/updates/11/i386/openssl-0.9.8k-5.fc11.i686.rpm

Says that "openssl-0.9.8k-5.fc11.i686.rpm" exist and dates it to "23-May-2009 16:18  1.4M"

but 'yum list openssl' says that only these packages exist:
openssl.i386  0.9.8g-14.fc10   updates
openssl.i586  0.9.8k-1.fc11    fedora

Comment 14 seth vidal 2009-06-25 19:12:14 UTC
Your problem is not the same one unless it involves skipbroken.

In your case you are running an i586 kernel so that is why you cannot see the i686 pkgs

running uname -a will verify that

finally - rpm -ivh will work if the two pkgs don't have any conflicting files.

Comment 15 Peter H.S. 2009-06-25 20:00:52 UTC
Its embarrassing but I seem to have commented on the wrong bug when trying to get the oldest instance of the bug. 
So disregard my comments or nuke them entirely if you can/will. I really appreciate all the hard work you redhat guys does, so I am sorry for the inconvenience I have caused.

Comment 16 seth vidal 2009-07-10 16:20:25 UTC
need to confirm, please.

Comment 17 seth vidal 2009-10-12 21:46:57 UTC
reopen if you come back


Note You need to log in before you can comment on or make changes to this bug.