yum problems

seth vidal skvidal at phy.duke.edu
Wed Nov 10 15:16:57 UTC 2004


On Wed, 2004-11-10 at 09:39, Rob Shewan wrote:
> How do I get out of this? I can't do a clean or anything else that might 
> be useful.
> 
> [root at aacnyelrsh x]# yum update
> Traceback (most recent call last):
>   File "/usr/bin/yum", line 8, in ?
>     yummain.main(sys.argv[1:])
>   File "/usr/share/yum-cli/yummain.py", line 51, in main
>     base.getOptionsConfig(args)
>   File "/usr/share/yum-cli/cli.py", line 133, in getOptionsConfig
>     self.conf = yumconf(configfile = yumconffile, root=root)
>   File "/usr/lib/python2.4/site-packages/yum/config.py", line 211, in 
> __init__
>     doRepoSection(self, self.cfg, section)
>   File "/usr/lib/python2.4/site-packages/yum/config.py", line 313, in 
> doRepoSection
>     mirrorurls = getMirrorList(mirrorlist)
>   File "/usr/lib/python2.4/site-packages/yum/config.py", line 390, in 
> getMirrorList
>     fo = urlresolver.urlopen(url)
>   File "/usr/lib/python2.4/site-packages/urlgrabber/grabber.py", line 
> 427, in urlopen
>     return default_grabber.urlopen(url, **kwargs)
>   File "/usr/lib/python2.4/site-packages/urlgrabber/grabber.py", line 
> 555, in urlopen
>     return self._retry(opts, retryfunc, url)
>   File "/usr/lib/python2.4/site-packages/urlgrabber/grabber.py", line 
> 527, in _retry
>     return apply(func, (opts,) + args, {})
>   File "/usr/lib/python2.4/site-packages/urlgrabber/grabber.py", line 
> 554, in retryfunc
>     return URLGrabberFileObject(url, filename=None, opts=opts)
>   File "/usr/lib/python2.4/site-packages/urlgrabber/grabber.py", line 
> 703, in __init__
>     self._do_open()
>   File "/usr/lib/python2.4/site-packages/urlgrabber/grabber.py", line 
> 747, in _do_open
>     fo, hdr = self._make_request(req, opener)
>   File "/usr/lib/python2.4/site-packages/urlgrabber/grabber.py", line 
> 823, 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 468, in http_response
>     code, msg, hdrs = response.code, response.msg, response.info()
> AttributeError: HTTPResponse instance has no attribute 'code'
> [root at aacnyelrsh x]# rpm -q yum
> yum-2.1.11-4
> [root at aacnyelrsh x]# uname -a
> Linux aacnyelrsh.aacisd.com 2.6.9-1.667 #1 Tue Nov 2 14:41:25 EST 2004 
> i686 i686 i386 GNU/Linux
> [root at aacnyelrsh rshewan]# rpm -q fedora-release
> fedora-release-2.92-1


Stop using rawhide.

-sv





More information about the test mailing list