Bug 212125

Summary: yum crash at startup on FC5 live upgrade
Product: [Fedora] Fedora Reporter: Guillaume Bougard <g+fedora>
Component: yumAssignee: Jeremy Katz <katzj>
Status: CLOSED CANTFIX QA Contact:
Severity: low Docs Contact:
Priority: medium    
Version: 6CC: lmacken, notting
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: 2007-04-25 18:33:49 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
Console output with the traceback none

Description Guillaume Bougard 2006-10-25 08:10:01 UTC
Description of problem:
 * Trying to upgrade an x86_64 FC5 system to FC6
 * After preliminary update yum crashed during initialization on an "yum update"

Version-Release number of selected component (if applicable):
 * yum-3.0-6

How reproducible:
 * Upgrade a FC-5 system with:
   * yum (don't know what version it was as it has been just updated)
   * yum-protectbase-0.6-3.fc5
   * yum-fastestmirror-0.6-3.fc5
   * yum-kernel-module-0.6-3.fc5
   * yum-fedorakmod-0.6-3.fc5
   * yum-changelog-0.6-3.fc5

Steps to Reproduce:
1. Upgrade fedora-release to 6-4 and fedora-release-notes to 6-3
2. Update yum with 'yum update yum':
   yum updated to 3.0-6
   yum-metadata-parser installed to 1.0-8.fc6
3. Now try to update all the system with 'yum update'
4. See yum traceback
  
Actual results:
 * Traceback returns instead of processing updates

Expected results:
 * Update process begins


Additional info:
 * Before I update yum I tried directly a 'yum update' that started as expected
by downloading packages headers. I aborted the process (ctrl-C) thinking I
should update yum before update all the system. Then I hit that error.

Comment 1 Guillaume Bougard 2006-10-25 08:10:01 UTC
Created attachment 139314 [details]
Console output with the traceback

Comment 2 Guillaume Bougard 2006-10-25 08:13:58 UTC
Problem resolved by removing the package yum-fastestmirror with:
rpm -e yum-fastestmirror-0.6-3.fc5


Comment 3 Guillaume Bougard 2006-10-25 08:37:42 UTC
I found the yum installed version in /var/log/yum.log logs:
/var/log/yum.log.2:May 10 12:53:27 (yumex) Updated: yum.noarch 2.6.1-0.fc5

Comment 4 Seth Vidal 2006-10-25 12:49:28 UTC
adding luke so he can see it

Comment 5 Bill Nottingham 2006-10-25 16:17:19 UTC
Should we change the 'upgrade with yum' directions to 'yum upgrade yum*'?

Comment 6 Luke Macken 2006-10-25 16:30:15 UTC
The FC5 version of yum-fastestmirror will not work with the FC6 version of yum
due to API changes.  Removing and re-installing yum-fastestmirror should resolve
this issue.

(In reply to comment #5)
> Should we change the 'upgrade with yum' directions to 'yum upgrade yum*'?

This sounds like a good idea.