<div dir="ltr"><div><div>Right, I think I have solved it, I did indeed need to update rhnlib, but since the client couldn't see the new channel Spacewalk wanted it to update from, it couldn't get this package. Since the repo file was still looking for the 2.2 channel for updates it couldn't see the new version. I manually changed the repo to look for 2.3 files, then updated rhnlib, rhn_check now works (as well as all the other issues I had which were clearly related)<br><br></div>Thank you Pierre!<br><br></div>James<br></div><div class="gmail_extra"><br><div class="gmail_quote">On 10 June 2015 at 14:39, James Stocker <span dir="ltr"><<a href="mailto:jamesrstocker@gmail.com" target="_blank">jamesrstocker@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div>I think this might be the issue, currently installed is:<br><br>rhnlib-2.5.72-1.el5<br><br></div>But regardless of the fact that the repo with rhnlib-2.5.75-1.el5.noarch is available to this server it doesn't see the update... but why.... ?<br></div><div class="HOEnZb"><div class="h5"><div class="gmail_extra"><br><div class="gmail_quote">On 10 June 2015 at 14:30, Pierre Casenove <span dir="ltr"><<a href="mailto:pcasenove@gmail.com" target="_blank">pcasenove@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hello,<div>Check that you have the latest rhnlib package installed.</div><span><font color="#888888"><div><br></div><div>pierre</div></font></span></div><div><div><div class="gmail_extra"><br><div class="gmail_quote">2015-06-10 15:20 GMT+02:00 Nadupalli Ramesh <span dir="ltr"><<a href="mailto:nadupalliramesh@gmail.com" target="_blank">nadupalliramesh@gmail.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Check the Python version. In my case it had higher Python version and created lot of trouble running yum commands.<br>
<br>
Thanks<br>
<span><font color="#888888">Ramesh<br>
</font></span><div><div><br>
> On Jun 10, 2015, at 6:49 AM, James Stocker <<a href="mailto:jamesrstocker@gmail.com" target="_blank">jamesrstocker@gmail.com</a>> wrote:<br>
><br>
> I've updated the rhn_check package on a server to test 2.3 before rolling it out.<br>
><br>
> 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:<br>
><br>
> Traceback (most recent call last):<br>
>   File "/usr/sbin/rhn_check", line 47, in ?<br>
>     from up2date_client import up2dateErrors<br>
>   File "/usr/share/rhn/up2date_client/up2dateErrors.py", line 23, in ?<br>
>     import up2dateLog<br>
>   File "/usr/share/rhn/up2date_client/up2dateLog.py", line 4, in ?<br>
>     import config<br>
>   File "/usr/share/rhn/up2date_client/config.py", line 17, in ?<br>
>     from rhn.connections import idn_ascii_to_puny, idn_puny_to_unicode<br>
> ImportError: cannot import name idn_ascii_to_puny<br>
><br>
> Nothing goes in to the up2date log at the time.<br>
><br>
> I have the following installed:<br>
><br>
> rhn-check-2.3.16-1.el5<br>
> rhncfg-client-5.10.83-1.el5<br>
> rhncfg-actions-5.10.83-1.el5<br>
><br>
> rhn_check was working yesterday while using 2.2, if you need any further info, please let me know.<br>
><br>
</div></div><div><div>> _______________________________________________<br>
> Spacewalk-list mailing list<br>
> <a href="mailto:Spacewalk-list@redhat.com" target="_blank">Spacewalk-list@redhat.com</a><br>
> <a href="https://www.redhat.com/mailman/listinfo/spacewalk-list" target="_blank">https://www.redhat.com/mailman/listinfo/spacewalk-list</a><br>
<br>
_______________________________________________<br>
Spacewalk-list mailing list<br>
<a href="mailto:Spacewalk-list@redhat.com" target="_blank">Spacewalk-list@redhat.com</a><br>
<a href="https://www.redhat.com/mailman/listinfo/spacewalk-list" target="_blank">https://www.redhat.com/mailman/listinfo/spacewalk-list</a><br>
</div></div></blockquote></div><br></div>
</div></div><br>_______________________________________________<br>
Spacewalk-list mailing list<br>
<a href="mailto:Spacewalk-list@redhat.com" target="_blank">Spacewalk-list@redhat.com</a><br>
<a href="https://www.redhat.com/mailman/listinfo/spacewalk-list" target="_blank">https://www.redhat.com/mailman/listinfo/spacewalk-list</a><br></blockquote></div><br></div>
</div></div></blockquote></div><br></div>