[rhn] Wrong channel after an upgrade

Nicoas C. rh at nryc.fr
Wed Oct 17 09:18:04 UTC 2012


Hello,

I've updated a RHEL 5.8 installation to 6.3 (using "upgradeany") and yum 
is still on the old channel (rhel-x86_64-server-5).

I've tried to change it with "rhn-channel -c rhel-x86_64-server-6 -a -v" 
but I have an error :

An error has occurred:
<type 'exceptions.TypeError'>
See /var/log/up2date for more information

In "/var/log/up2date" :

Traceback (most recent call last):
   File "/usr/sbin/rhn-channel", line 164, in <module>
     systemExit(1, e)
   File "/usr/sbin/rhn-channel", line 46, in systemExit
     sys.stderr.write(rhncli.utf8_encode(msg)+'\n')
<type 'exceptions.TypeError'>: unsupported operand type(s) for +: 
'CommunicationError' and 'str'

Re-registrering the server on RHN has no effect.

Thanks in advance for your help,

Nicolas Cuissard




More information about the redhat-list mailing list