I have actually seen this before with my Centos machine and Spacewalk. Try this:
yum clean all rm -f /var/lib/rpm/__db* rpm --rebuilddb yum update Matt -----Original Message----- From: [email protected] [mailto:[email protected]] On Behalf Of Tangren, Bill Sent: Thursday, July 22, 2010 3:25 PM To: [email protected] Subject: [rhelv5-list] yum update problem I have just installed RHEL 5.5 (32 bit) in a standard configuration, except that I installed everything (not as easy as it used to be). The install and registration went smoothly, but when I do a "yum update" from the command line, I get a lot of errors that look like this: Is this ok [y/N]: y Downloading Packages: Traceback (most recent call last): File "/usr/bin/yum", line 29, in ? yummain.user_main(sys.argv[1:], exit_code=True) File "/usr/share/yum-cli/yummain.py", line 309, in user_main errcode = main(args) File "/usr/share/yum-cli/yummain.py", line 261, in main return_code = base.doTransaction() File "/usr/share/yum-cli/cli.py", line 398, in doTransaction problems = self.downloadPkgs(downloadpkgs, callback_total=self.download_callback_total_cb) File "/usr/lib/python2.4/site-packages/yum/__init__.py", line 1354, in downloadPkgs cache=po.repo.http_caching != 'none', File "/usr/lib/python2.4/site-packages/yum/yumRepo.py", line 849, in getPackage cache=cache File "/usr/lib/yum-plugins/rhnplugin.py", line 308, in _getFile start, end, copy_local, checkfunc, text, reget, cache) File "/usr/lib/yum-plugins/rhnplugin.py", line 401, in _noExceptionWrappingGet timeout=self.timeout File "/usr/lib/python2.4/site-packages/urlgrabber/grabber.py", line 934, in urlgrab return self._retry(opts, retryfunc, url, filename) File "/usr/lib/python2.4/site-packages/urlgrabber/grabber.py", line 852, in _retry r = apply(func, (opts,) + args, {}) File "/usr/lib/python2.4/site-packages/urlgrabber/grabber.py", line 920, in retryfunc fo = URLGrabberFileObject(url, filename, opts) File "/usr/lib/python2.4/site-packages/urlgrabber/grabber.py", line 1008, in __init__ self._do_open() File "/usr/lib/python2.4/site-packages/urlgrabber/grabber.py", line 1091, in _do_open fo, hdr = self._make_request(req, opener) File "/usr/lib/python2.4/site-packages/urlgrabber/grabber.py", line 1200, in _make_request fo = opener.open(req) File "/usr/lib/python2.4/urllib2.py", line 364, in open response = meth(req, response) File "/usr/lib/python2.4/urllib2.py", line 471, in http_response response = self.parent.error( File "/usr/lib/python2.4/urllib2.py", line 396, in error result = self._call_chain(*args) File "/usr/lib/python2.4/urllib2.py", line 337, in _call_chain result = func(*args) File "/usr/lib/python2.4/urllib2.py", line 554, in http_error_302 return self.parent.open(new) File "/usr/lib/python2.4/urllib2.py", line 358, in open response = self._open(req, data) File "/usr/lib/python2.4/urllib2.py", line 376, in _open '_open', req) File "/usr/lib/python2.4/urllib2.py", line 337, in _call_chain result = func(*args) File "/usr/lib/python2.4/site-packages/M2Crypto/m2urllib2.py", line 82, in https_open h.request(req.get_method(), req.get_selector(), req.data, headers) File "/usr/lib/python2.4/httplib.py", line 813, in request if v[0] != 32 or not self.auto_open: IndexError: tuple index out of range If I try the GUI updater, I get the error: "Cannot find a suitable mirror" Does anyone know what gives? I have many other RH boxes, and have no trouble updating. Oh, I did check DNS and network settings. I can get to the RH update server using a web browser (even though it doesn't allow that sort of connection). Google didn't turn up much useful. Any ideas? ----- Bill Tangren _______________________________________________ rhelv5-list mailing list [email protected] https://www.redhat.com/mailman/listinfo/rhelv5-list Sky Road LLC Message Disclaimer This message and any attachment transmitted with it (collectively, this "Message") may contain confidential or privileged information. It is for the sole use of the intended recipient(s). Any unauthorized review, use or disclosure is prohibited. If you are not the intended recipient, please advise the sender by reply message (e.g., email, fax or telephone) and destroy all copies of this Message. The information in this Message is not intended to replace a recipient's own internal processes for evaluating a transaction. This Message should not be regarded as (i) a recommendation to buy or refrain from buying any security; (ii) an offer to sell or solicitation of an offer to buy any security; or (iii) an official confirmation of any transaction. Sky Road cannot guarantee that the transmission and content of this Message is secure or error-free. Sky Road does not represent that this Message is accurate, uncorrupted, or free of viruses or other harmful code. _______________________________________________ rhelv5-list mailing list [email protected] https://www.redhat.com/mailman/listinfo/rhelv5-list
