So yum stopped working on a couple of servers that were registered to servers with what appeared to be a login problem:
$ yum install osad
...
File “/usr/share/rhn/up2date_client/up2dateAuth.py”, line 217, in getLoginInfo
login()
File “/usr/share/rhn/up2date_client/up2dateAuth.py”, line 165, in login
if readCachedLogin():
File “/usr/share/rhn/up2date_client/up2dateAuth.py”, line 121, in readCachedLogin
data = pickle.load(pcklAuth)
File “/usr/lib64/python2.4/pickle.py”, line 1390, in load
return Unpickler(file).load()
File “/usr/lib64/python2.4/pickle.py”, line 872, in load
dispatch[key](self)
KeyError: ’<’
A yum clean all, the usual remedy to this one... achieves nothing. The server is checking in with the Satellite server, as far as Satellite is concerned, but yum fails on pretty much any operation. Here’s the weird solution: queueing an update in the Satellite server for that box, and then running
…pulls down the update, and then yum starts working again.
