[Fwd: [NBLUG/talk] [Fwd: Up2date]]

Ian Sutherland iansuth at sbcglobal.net
Fri Dec 17 15:39:47 PST 2004


Here is the output from your suggestions.

Thanks, Ian

[root at localhost ian]# yum install python-rhn
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 227, in 
__init__
     self._doFileRepo(fn)
   File "/usr/lib/python2.4/site-packages/yum/config.py", line 299, in 
_doFileRep o
     doRepoSection(self, repoconf, section)
   File "/usr/lib/python2.4/site-packages/yum/config.py", line 313, in 
doRepoSect ion
     mirrorurls = getMirrorList(mirrorlist)
   File "/usr/lib/python2.4/site-packages/yum/config.py", line 390, in 
getMirrorL ist
     fo = urlresolver.urlopen(url)
   File "/usr/lib/python2.4/site-packages/urlgrabber/grabber.py", line 
427, in ur lopen
     return default_grabber.urlopen(url, **kwargs)
   File "/usr/lib/python2.4/site-packages/urlgrabber/grabber.py", line 
555, in ur lopen
     return self._retry(opts, retryfunc, url)
   File "/usr/lib/python2.4/site-packages/urlgrabber/grabber.py", line 
527, in _r etry
     return apply(func, (opts,) + args, {})
   File "/usr/lib/python2.4/site-packages/urlgrabber/grabber.py", line 
554, in re tryfunc
     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 _d o_open
     fo, hdr = self._make_request(req, opener)
   File "/usr/lib/python2.4/site-packages/urlgrabber/grabber.py", line 
823, in _m ake_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 localhost ian]# rpm -q redhat-release
package redhat-release is not installed

[root at localhost ian]# cat /etc/redhat-release
Fedora Core release 3 (Heidelberg)


-- 
Ian Sutherland
2 Varda Street
Rohnert Park, CA 94928
707-792-6891




More information about the talk mailing list