Bug 752561 - yum upgrade of i586 to i686 of package fails
Summary: yum upgrade of i586 to i686 of package fails
Alias: None
Product: Fedora
Classification: Fedora
Component: yum
Version: 16
Hardware: Unspecified
OS: Unspecified
Target Milestone: ---
Assignee: Fedora Packaging Toolset Team
QA Contact: Fedora Extras Quality Assurance
Depends On:
TreeView+ depends on / blocked
Reported: 2011-11-09 20:55 UTC by Pierre Ossman
Modified: 2014-01-21 23:20 UTC (History)
12 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Last Closed: 2013-02-13 20:46:32 UTC
Type: ---

Attachments (Terms of Use)

Description Pierre Ossman 2011-11-09 20:55:10 UTC
Trying to install an RPM from nautilus gives me the following:

Can't install /home/drzeus/.PackageKit/native-cache/thinlinc-client-3.2.0post-3238.i686.rpm as no transaction

I have no idea what that means or what I'm supposed to do about it. :)

Comment 1 Pierre Ossman 2011-11-09 21:02:34 UTC
I guess this might be a yum issue:

# yum install '/home/drzeus/Downloads/thinlinc-client-3.2.0post-3238.i686.rpm' 
Loaded plugins: langpacks, presto, refresh-packagekit
Setting up Install Process
Examining /home/drzeus/Downloads/thinlinc-client-3.2.0post-3238.i686.rpm: thinlinc-client-3.2.0post-3238.i686
Marking /home/drzeus/Downloads/thinlinc-client-3.2.0post-3238.i686.rpm as an update to thinlinc-client-3.2.0-3128.i586
Error: Nothing to do

Comment 2 Pierre Ossman 2011-11-29 10:07:45 UTC
Moving to yum.

I've also noticed that upgrading to another i586 version works fine. So the problem seems to be that yum isn't correctly handling the i586 to i686 transition.

Comment 3 Pierre Ossman 2011-11-29 10:54:02 UTC
Found it. It is this lovely piece of code in site-packages/yum/__init__.py:

            # check to see if the pkg we want to install is not _quite_ the newest
            # one but still technically an update over what is installed.
            #FIXME - potentially do the comparables thing from what used to
            #        be in cli.installPkgs() to see what we should be comparing
            #        it to of what is installed. in the meantime name.arch is
            #        most likely correct
            pot_updated = self.rpmdb.searchNevra(name=available_pkg.name, arch=available_pkg.arch)
            if pot_updated and self.allowedMultipleInstalls(available_pkg):
                # only compare against the newest of what's installed for kernel
                pot_updated = sorted(pot_updated)[-1:]

This code is not working as expected on ia32 as it does not consider arch changes. I'm not sure why the arch check is there, or why anything of that check is there (it isn't in any of the other update code paths). Hence I cannot provide a suggested patch.

Comment 4 Fedora Admin XMLRPC Client 2012-04-27 15:25:32 UTC
This package has changed ownership in the Fedora Package Database.  Reassigning to the new owner of this component.

Comment 5 Fedora End Of Life 2013-01-16 16:46:30 UTC
This message is a reminder that Fedora 16 is nearing its end of life.
Approximately 4 (four) weeks from now Fedora will stop maintaining
and issuing updates for Fedora 16. It is Fedora's policy to close all
bug reports from releases that are no longer maintained. At that time
this bug will be closed as WONTFIX if it remains open with a Fedora 
'version' of '16'.

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, simply change the 'version' 
to a later Fedora version prior to Fedora 16's end of life.

Bug Reporter: Thank you for reporting this issue and we are sorry that 
we may not be able to fix it before Fedora 16 is end of life. If you 
would still like to see this bug fixed and are able to reproduce it 
against a later version of Fedora, you are encouraged to click on 
"Clone This Bug" and open it against that version of Fedora.

Although we aim to fix as many bugs as possible during every release's 
lifetime, sometimes those efforts are overtaken by events. Often a 
more recent Fedora release includes newer upstream software that fixes 
bugs or makes them obsolete.

The process we are following is described here: 

Comment 6 Fedora End Of Life 2013-02-13 20:46:36 UTC
Fedora 16 changed to end-of-life (EOL) status on 2013-02-12. Fedora 16 is 
no longer maintained, which means that it will not receive any further 
security or bug fix updates. As a result we are closing this bug.

If you can reproduce this bug against a currently maintained version of 
Fedora please feel free to reopen this bug against that version.

Thank you for reporting this bug and we are sorry it could not be fixed.

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