Red Hat Bugzilla – Bug 165947
missing versioned dependencies on rhnlib, pyOpenSSL, libxml2-python
Last modified: 2013-02-26 19:49:45 EST
Description of problem:
When upgrading a machine from ES3 to ES4, starting the process like so:
up2date --upgrade-to-release=4ES rpm up2date
to get the latest package tools fails; subsequent runs of up2date cannot find
rhnlib, pyOpenSSL, or libxml2.
Version-Release number of selected component (if applicable):
Twice now have attempted an upgrade from ES3 to ES4 this way, both times up2date
fails after the immediate upgrade.
Steps to Reproduce:
1. Start with ES3 install.
2. up2date --upgrade-to-release=4ES -l
3. up2date --upgrade-to-release=4ES rpm up2date
4. up2date --upgrade-to-release=4ES redhat-release
[root@ark root]# up2date --upgrade-to-release=4ES redhat-release
Traceback (most recent call last):
File "/usr/sbin/up2date", line 33, in ?
from up2date_client import up2date
File "/usr/share/rhn/up2date_client/up2date.py", line 32, in ?
File "/usr/share/rhn/up2date_client/depSolver.py", line 11, in ?
File "/usr/share/rhn/up2date_client/packageList.py", line 20, in ?
File "/usr/share/rhn/up2date_client/up2dateComps.py", line 9, in ?
from rhpl import comps
File "/usr/lib/python2.3/site-packages/rhpl/comps.py", line 5, in ?
ImportError: No module named libxml2
up2date completes task successfully.
I believe it's because the versions of rhnlib, pyOpenSSL, and libxml2-python
that are already installed are python2.2 libraries, and hence not available to
python2.3 which is used by up2date in ES4. Versioning the dependencies
correctly to ensure that these libraries are identified as out-of-date w.r.t.
the newer up2date.
I also got this error running up2date, and I have to admit that I'm pretty new
I ran up2date, got a message saying there's a newer version of up2date
available, so as usual I accept and proceed to install, but a dependency error
pop up saying I need rhnlib >=1.8.7 so I skip that update my machine with the
older version of up2date first. then retry, still nothing. Then I went to
ftp.linux to find and download: rhnlib-1.8.7-3.noarch.rpm, installed that
reran up2date and I got this error
[root@bgblue /]# up2date
Traceback (most recent call last):
File "/usr/sbin/up2date", line 27, in ?
from up2date_client import repoDirector
File "/usr/share/rhn/up2date_client/repoDirector.py", line 5, in ?
File "/usr/share/rhn/up2date_client/rhnChannel.py", line 10, in ?
File "/usr/share/rhn/up2date_client/up2dateAuth.py", line 5, in ?
File "/usr/share/rhn/up2date_client/rpcServer.py", line 23, in ?
from rhn import rpclib
ImportError: No module named rhn
I also tried with rhnlib-1.8.2-1.p23.1.noarch.rpm and rhnlib-1.8-
6.p15.noarch.rpm and also tried to just install the latest version of up2date
manually with up2date-2.9.14-1.2.1AS.i386.rpm, up2date-4.4.69-25.i386.rpm,
up2date-gnome-2.9.14-1.2.1AS.i386.rpm and up2date-gnome-4.4.69-
25.i386.rpm . Each of them have a differnt dependency error. I'm not sure
how to proceed from here, please advise.
Thank you for submitting this issue for consideration in Red Hat Enterprise Linux. The release for which you requested us to review is now End of Life.
Please See https://access.redhat.com/support/policy/updates/errata/
If you would like Red Hat to re-consider your feature request for an active release, please re-open the request via appropriate support channels and provide additional supporting details about the importance of this issue.