[Spacewalk-list] Fwd: rhn_check fails in el5
Nadupalli Ramesh
nadupalliramesh at gmail.com
Wed Jun 10 13:20:40 UTC 2015
Check the Python version. In my case it had higher Python version and created lot of trouble running yum commands.
Thanks
Ramesh
> On Jun 10, 2015, at 6:49 AM, James Stocker <jamesrstocker at gmail.com> wrote:
>
> I've updated the rhn_check package on a server to test 2.3 before rolling it out.
>
> I have the el6 package installed on a CentOS 6 machine, this seems to be working fine, but on el5 I get the following returned after running rhn_check:
>
> Traceback (most recent call last):
> File "/usr/sbin/rhn_check", line 47, in ?
> from up2date_client import up2dateErrors
> File "/usr/share/rhn/up2date_client/up2dateErrors.py", line 23, in ?
> import up2dateLog
> File "/usr/share/rhn/up2date_client/up2dateLog.py", line 4, in ?
> import config
> File "/usr/share/rhn/up2date_client/config.py", line 17, in ?
> from rhn.connections import idn_ascii_to_puny, idn_puny_to_unicode
> ImportError: cannot import name idn_ascii_to_puny
>
> Nothing goes in to the up2date log at the time.
>
> I have the following installed:
>
> rhn-check-2.3.16-1.el5
> rhncfg-client-5.10.83-1.el5
> rhncfg-actions-5.10.83-1.el5
>
> rhn_check was working yesterday while using 2.2, if you need any further info, please let me know.
>
> _______________________________________________
> Spacewalk-list mailing list
> Spacewalk-list at redhat.com
> https://www.redhat.com/mailman/listinfo/spacewalk-list
More information about the Spacewalk-list
mailing list