Bug 1034137

Summary: yum returns error with releasever=20 distro-sync
Product: [Fedora] Fedora Reporter: spital <spital>
Component: yumAssignee: Packaging Maintenance Team <packaging-team-maint>
Status: CLOSED EOL QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 19CC: admiller, ffesti, firas.alkafri, jskarvad, jzeleny, packaging-team-maint
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-02-17 19:23:37 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Attachments:
Description Flags
packed logs
none
update logs 1
none
upgrade logs 2
none
upgrade logs 3 none

Description spital 2013-11-25 10:25:37 UTC
Created attachment 828589 [details]
packed logs

Description of problem:

with FC19.x86_64
and
Fedora-19-a10-armhfp-r2.img

when using yum distro-sync an error is produced :
--> Finished Dependency Resolution
Dependency Process ending
Traceback (most recent call last):
  File "/bin/yum", line 29, in <module>
    yummain.user_main(sys.argv[1:], exit_code=True)
  File "/usr/share/yum-cli/yummain.py", line 355, in user_main
    errcode = main(args)
  File "/usr/share/yum-cli/yummain.py", line 217, in main
    (result, resultmsgs) = base.buildTransaction()
  File "/usr/lib/python2.7/site-packages/yum/__init__.py", line 1329, in buildTransaction
    if txmbr.pkgtup in bad_togo[ipkg.name]:
KeyError: 'yum'

Version-Release number of selected component (if applicable):
Yum version: 3.4.3

How reproducible:

yum --releasever=20 distro-sync --debuglevel=9 --rpmverbosity=9

Actual results:

error

Expected results:

upgrade to FC20

Additional info:

on FC19.x86_64 an upgrade was finally successfull after partial updates.
Please see attached files.

Comment 1 spital 2013-11-25 13:05:39 UTC
I am sorry for misinformation, the problem was seen on i686 (not x64).
I tested the update again on cubieboard 2 - and this seems to help ( I would guess rpm update to fc20 helped):

yum -y --nogpg --releasever=20 update webrtc* grep* vlgothic* xz* polkit* SDL* phonon* abrt* cyrus* easymock* heisenbug* perl* lua* telepathy* system* redha
t* 2>&1 | tee 1upd.log ; yum -y --releasever=20 distro-sync 2>&1 | tee 2sync.log

please see attached logs for more info

Comment 2 spital 2013-11-25 13:06:17 UTC
Created attachment 828655 [details]
update logs 1

Comment 3 Jaroslav Škarvada 2013-12-03 14:15:36 UTC
I am encountering exactly the same problem on the i686 with yum-4.11.0.1-2 (I also tried yum-4.11.1-3, but the problem persists). I workarounded it and successfully upgraded the machine by using the yum-3.4.3-99.

Comment 4 spital 2013-12-04 17:35:47 UTC
Tested on Lenovo T500 with installed fedora core 19 x86_64
and this worked :

yum -y update yum rpm
yum -y --nogpg --releasever=20 update rpm system* redhat*
yum -y --nogpg --releasever=20 distro-sync

please see attached logs for more info

Comment 5 spital 2013-12-04 18:17:14 UTC
Created attachment 832807 [details]
upgrade logs 2

Comment 6 spital 2013-12-07 15:57:07 UTC
Another working iteration ;)

yum -y install screen mc
### ssh over wifi, telinit 5, forgot to run under screen
rpm -qa > 011.fc19packages.txt

yum -y update yum rpm

yum -y --nogpg --releasever=20 update system* 2>&1 | tee 012.up.txt

yum -y --releasever=20 distro-sync 2>&1 | tee 013.yum.distro.sync.txt

yum -y --nogpg --releasever=20 distro-sync 2>&1 | tee 014.yum.distro.sync.txt

see attachment for more info

Comment 7 spital 2013-12-07 15:57:39 UTC
Created attachment 833906 [details]
upgrade logs  3

Comment 8 Fedora End Of Life 2015-01-09 20:41:30 UTC
This message is a notice that Fedora 19 is now at end of life. Fedora 
has stopped maintaining and issuing updates for Fedora 19. It is 
Fedora's policy to close all bug reports from releases that are no 
longer maintained. Approximately 4 (four) weeks from now this bug will
be closed as EOL if it remains open with a Fedora 'version' of '19'.

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.

Thank you for reporting this issue and we are sorry that we were not 
able to fix it before Fedora 19 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  change the 'version' to a later Fedora 
version prior this bug is closed as described in the policy above.

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.

Comment 9 Fedora End Of Life 2015-02-17 19:23:37 UTC
Fedora 19 changed to end-of-life (EOL) status on 2015-01-06. Fedora 19 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. If you
are unable to reopen this bug, please file a new report against the
current release. If you experience problems, please add a comment to this
bug.

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