Bug 139458 - yum failure to update
yum failure to update
Status: CLOSED UPSTREAM
Product: Fedora
Classification: Fedora
Component: yum (Show other bugs)
3
All Linux
medium Severity medium
: ---
: ---
Assigned To: Jeremy Katz
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2004-11-15 21:47 EST by Rahul Sundaram
Modified: 2014-01-21 17:50 EST (History)
1 user (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2004-11-15 22:03:19 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description Rahul Sundaram 2004-11-15 21:47:31 EST
Description of problem:

I tried upgrading fc1 to fc3 through yum

process is as follows

update - fedora-release,yum and related packages including python,
rhpl, libxml and such

Version-Release number of selected component (if applicable):
yum-2.1.11-3
python-2.3.4-11

How reproducible:
everytime

Steps to Reproduce:
1. run yum install gnome-session

Actual results:
 yum -y install gnome-session
Setting up Install Process
Setting up Repo:  base
repomd.xml                100% |=========================| 1.1 kB    00:00
Setting up Repo:  updates-released
repomd.xml                100% |=========================|  951 B    00:00
Reading repository metadata in from local files
base      : ################################################## 2622/2622
updates-re: ################################################## 173/173
Reading repository metadata in from local files
Resolving Dependencies
--> Populating transaction set with selected packages. Please wait.
---> Package gnome-session.i386 0:2.8.0-4 set to be updated
--> Running transaction check
--> Processing Dependency: gnome-volume-manager for package: gnome-session
--> Restarting Dependency Resolution with new changes.
--> Populating transaction set with selected packages. Please wait.
---> Package gnome-volume-manager.i386 0:1.1.0-5 set to be installed
--> Running transaction check
--> Processing Dependency: kernel>= 2.6 for package: gnome-volume-manager
--> Processing Dependency: hal>= 0.2.97 for package: gnome-volume-manager
--> Processing Dependency: libhal.so.0 for package: gnome-volume-manager
--> Processing Dependency: dbus>= 0.22 for package: gnome-volume-manager
--> Restarting Dependency Resolution with new changes.
--> Populating transaction set with selected packages. Please wait.
---> Package kernel.i686 0:2.6.9-1.667 set to be installed
---> Package hal.i386 0:0.4.0-10 set to be installed
---> Package dbus.i386 0:0.22-10 set to be updated
--> Running transaction check
--> Processing Dependency: dbus= 0.13-6 for package: dbus-glib
--> Processing Dependency: udev>= 034-2 for package: hal
--> Processing Dependency: mkinitrd>= 4.1.15 for package: kernel
--> Processing Dependency: dbus-glib= 0.22 for package: hal
--> Processing Dependency: util-linux>= 2.12a-16 for package: hal
--> Restarting Dependency Resolution with new changes.
--> Populating transaction set with selected packages. Please wait.
---> Package dbus-glib.i386 0:0.22-10 set to be updated
---> Package udev.i386 0:039-10.FC3.1 set to be installed
---> Package mkinitrd.i386 0:4.1.18-2 set to be updated
---> Package util-linux.i386 0:2.12a-16 set to be updated
--> Running transaction check
--> Processing Conflict: udev conflicts kernel< 0:2.6
Traceback (most recent call last):
  File "/usr/bin/yum", line 8, in ?
    yummain.main(sys.argv[1:])
  File "/usr/share/yum-cli/yummain.py", line 104, in main
    (result, resultmsgs) = base.buildTransaction()
  File "/usr/lib/python2.3/site-packages/yum/__init__.py", line 174,
in buildTransaction
    (rescode, restring) = self.resolveDeps()
  File "/usr/lib/python2.3/site-packages/yum/depsolve.py", line 190,
in resolveDeps
    (checkdep, missing, conflict, errormsgs) = self._processConflict(dep)
  File "/usr/lib/python2.3/site-packages/yum/depsolve.py", line 492,
in _processConflict
    uplist = self.up.getUpdatesList(name=confname)
UnboundLocalError: local variable 'confname' referenced before assignment

Expected results:

This might not be a supported upgrade but I belive yum should exit
more graceful possibly giving the user a hint as to what went wrong. 
Additional info:
it also doesnt update kernel from 2.4 to 2.6. yum install kernel says
"nothing to do" it also doesnt update kernel from 2.4 to 2.6. yum
install kernel says "nothing to do"
Comment 1 Seth Vidal 2004-11-15 22:03:19 EST
the bug is known and fixed in cvs.

it'll be corrected in yum 2.1.12

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