Skip to Main Content

Infrastructure Software

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Migration from RHN to ULN - Error running up2date.

Genouse -OracleJun 29 2012 — edited Jun 29 2012
I have followed procedure as per described on uln site but getting error running yum update. Any thought.

http://linux.oracle.com/switch


[root@rhel5 up2date_client]# yum repolist
Loaded plugins: security, subscription-manager
Updating certificate-based repositories.
repolist: 0
==============

[root@rhel5 ol]# sh 167283.sh
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 27, in ?
from up2date_client import depSolver
File "/usr/share/rhn/up2date_client/depSolver.py", line 11, in ?
import packageList
File "/usr/share/rhn/up2date_client/packageList.py", line 20, in ?
import up2dateComps
File "/usr/share/rhn/up2date_client/up2dateComps.py", line 9, in ?
from rhpl import comps
ImportError: cannot import name comps
Error installing uln-yum-proxy... aborting.
===================================
[root@rhel5 up2date_client]# yum update
Loaded plugins: security, subscription-manager
Updating certificate-based repositories.
Setting up Update Process
No Packages marked for Update
==================================

[root@rhel5 up2date_client]# rpm -aq | grep up2date
up2date-5.10.1-41.10.el5
up2date-gnome-5.10.1-40.8.el5

========================================
[root@rhel5 up2date_client]# up2date
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 27, in ?
from up2date_client import depSolver
File "/usr/share/rhn/up2date_client/depSolver.py", line 11, in ?
import packageList
File "/usr/share/rhn/up2date_client/packageList.py", line 20, in ?
import up2dateComps
File "/usr/share/rhn/up2date_client/up2dateComps.py", line 9, in ?
from rhpl import comps
ImportError: cannot import name comps
======================================

[root@rhel5 up2date_client]# uname -a
Linux rhel5 2.6.18-308.el5 #1 SMP Fri Jan 27 17:17:51 EST 2012 x86_64 x86_64 x86_64 GNU/Linux
==========================================
[root@rhel5 up2date_client]# cat /etc/oracle-release
Oracle Linux Server release 5.8
[root@rhel5 up2date_client]# cat /etc/redhat-release
Red Hat Enterprise Linux Server release 5.8 (Tikanga)
=============================================
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jul 27 2012
Added on Jun 29 2012
1 comment
478 views