[Spacewalk-list] Fwd: rhn_check fails in el5

James Stocker jamesrstocker at gmail.com
Wed Jun 10 16:02:52 UTC 2015


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)

Thank you Pierre!

James

On 10 June 2015 at 14:39, James Stocker <jamesrstocker at gmail.com> wrote:

> I think this might be the issue, currently installed is:
>
> rhnlib-2.5.72-1.el5
>
> 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.... ?
>
> On 10 June 2015 at 14:30, Pierre Casenove <pcasenove at gmail.com> wrote:
>
>> Hello,
>> Check that you have the latest rhnlib package installed.
>>
>> pierre
>>
>> 2015-06-10 15:20 GMT+02:00 Nadupalli Ramesh <nadupalliramesh at gmail.com>:
>>
>>> 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
>>>
>>> _______________________________________________
>>> Spacewalk-list mailing list
>>> Spacewalk-list at redhat.com
>>> https://www.redhat.com/mailman/listinfo/spacewalk-list
>>>
>>
>>
>> _______________________________________________
>> Spacewalk-list mailing list
>> Spacewalk-list at redhat.com
>> https://www.redhat.com/mailman/listinfo/spacewalk-list
>>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/spacewalk-list/attachments/20150610/3b9bfe40/attachment.htm>


More information about the Spacewalk-list mailing list