Description of problem: When I run `rhn_register`, it fails on all arch Version-Release number of selected component (if applicable): up2date-4.7.1-7.el4 How reproducible: always Steps to Reproduce: 1. rhn_register Actual results: [root@proliant05 8295]# rhn_register An error has occurred: exceptions.ImportError See /var/log/up2date for more information [root@proliant05 8295]# tail /var/log/up2date [Thu Jun 19 09:44:03 2008] up2date availablePackageList from network [Thu Jun 19 11:06:35 2008] up2date File "/usr/sbin/rhn_register", line 1312, in ? sys.exit(main() or 0) File "/usr/sbin/rhn_register", line 738, in main from up2date_client import tui File "/usr/share/rhn/up2date_client/tui.py", line 33, in ? from rhnreg_constants import * [Thu Jun 19 11:10:32 2008] up2date File "/usr/sbin/rhn_register", line 1312, in ? sys.exit(main() or 0) File "/usr/sbin/rhn_register", line 738, in main from up2date_client import tui File "/usr/share/rhn/up2date_client/tui.py", line 33, in ? from rhnreg_constants import * [root@proliant05 8295]# uname -a Linux proliant05.englab.brq.redhat.com 2.6.9-67.ELsmp #1 SMP Wed Nov 7 13:58:04 EST 2007 i686 i686 i386 GNU/Linux Expected results: rhn_register has to run Additional info: its a regression
For some reason, file rhnreg_constants.py is missing in the package (but is available in a tar.gz in a src.rpm package) - so maybe just an spec issue? # rpm -qpl /mnt/redhat/brewroot/packages/up2date/4.7.1/7.el4/i386/ up2date-4.7.1-7.el4.i386.rpm | grep rhnreg_constants <nothing> When I copy rhnreg_constants.py from the src.rpm's tar.gz to the /usr/share/rhn/ rhnreg_constants.py, rhn_register starts as usuall.
This was introduced as an respin from up2date-4.7.1-6.el4 to up2date-4.7.1-7.el4
An advisory has been issued which should help the problem described in this bug report. This report is therefore being closed with a resolution of ERRATA. For more information on therefore solution and/or where to find the updated files, please follow the link below. You may reopen this bug report if the solution does not work for you. http://rhn.redhat.com/errata/RHBA-2008-0771.html