Red Hat Bugzilla – Bug 54791
Up2date gets TypeError installing latest kernel update
Last modified: 2015-01-07 18:52:10 EST
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:0.9.4) Gecko/20010917
Description of problem:
Running up2date to install the latest rh7.1 kernel update, I get this
error in the installation phase and up2date hangs, and must be killed:
[root@bergum-w2k bergum]# Traceback (innermost last):
File "/usr/share/rhn/up2date/gui.py", line 592, in doInstallation
kernelsToInstall = up2date.installPackages(self.selectedPkgList,
File "/usr/share/rhn/up2date/up2date.py", line 2158, in installPackages
error = errors + e + "\n"
TypeError: illegal argument type for built-in operation
Version-Release number of selected component (if applicable):
Steps to Reproduce:
2.Select kernel upgrades
3.Keep hitting next until it hangs.
Actual Results: Up2date hangs in the installation phase.
Expected Results: New kernel installed!
A cause for this is that the rpm kernel package
install failed for some reason (a typical one
being not enough space in /boot).
The proper error message isnt raised because
of a bug in the error handling code. This
will be fixed in the next version of the up2date
I fixed the typo in the python code, and the install ran just fine. I think
that the typo results in a python compile time error, as when I fixed the code
there was no error message printed, and the install ran just fine.
should be fixed in next release of code
Verified kernel update and typo fix.