[rhn] Wrong channel after an upgrade

"Nicoas C." <[email protected]>
Newsgroups gmane.linux.redhat.general
Message-ID <[email protected]>
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

-- 
redhat-list mailing list
unsubscribe mailto:[email protected]?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.