RHEL5 yum problem
McDougall, Marshall (FSH)
Marshall.McDougall at gov.mb.ca
Fri Sep 14 13:25:27 UTC 2007
I know that it is using the proxy because while I do the yum update I
have another console open with:
watch "netstat -a|grep tcp"
running. It connects as it should.
Regards, Marshall
>-----Original Message-----
>From: redhat-list-bounces at redhat.com
>[mailto:redhat-list-bounces at redhat.com] On Behalf Of Ian Lists
>Sent: Thursday, September 13, 2007 3:50 PM
>To: General Red Hat Linux discussion list
>Subject: Re: RHEL5 yum problem
>
>Have you exported the proxy settings? Try running "#export
>|grep -i proxy". If you don't have any proxy settings, try
>"#export http_proxy=http://proxy.address.org:3128/" To test
>to see if you are using the proxy, bring up another console
>and run "#tcpdump -nni eth0 -p 3128" with the appropriate port
>number and interface while running yum update.
>
>
>----- Original Message -----
>From: "Marshall McDougall (FSH)" <Marshall.McDougall at gov.mb.ca>
>To: "General Red Hat Linux discussion list" <redhat-list at redhat.com>
>Sent: Thursday, September 13, 2007 12:58:42 PM (GMT-0500)
>America/New_York
>Subject: RHEL5 yum problem
>
>This is my first foray into RHEL5 and so far change is not so good. I
>was quite comfortable with up2date, but alas it is not part of 5.
>Locate doesn't seem to work very well either, but that is
>another story.
>
>
>I am having some problems getting yum to run at all and I am not quite
>sure if it's yum or python, as I am familiar with neither one. This is
>compounded by the fact that I am behind a proxy and I am not completely
>sure that I am getting through it with what ever yum is using to get
>there. Currently, when I run yum I get the following:
>
>[root at fsh1166db07x Server]# yum update
>Loading "installonlyn" plugin
>Loading "rhnplugin" plugin
>Setting up Update Process
>Setting up repositories
>Traceback (most recent call last):
> File "/usr/bin/yum", line 29, in ?
> yummain.main(sys.argv[1:])
> File "/usr/share/yum-cli/yummain.py", line 102, in main
> result, resultmsgs = do()
> File "/usr/share/yum-cli/cli.py", line 359, in doCommands
> return self.yum_cli_commands[self.basecmd].doCommand(self,
>self.basecmd, self.extcmds)
> File "/usr/share/yum-cli/yumcommands.py", line 150, in doCommand
> return base.updatePkgs(extcmds)
> File "/usr/share/yum-cli/cli.py", line 628, in updatePkgs
> self.doRepoSetup()
> File "/usr/share/yum-cli/cli.py", line 102, in doRepoSetup
> yum.YumBase.doRepoSetup(self, thisrepo=thisrepo)
> File "/usr/lib/python2.4/site-packages/yum/__init__.py", line 299, in
>doRepoSetup
> repo.setup(self.conf.cache)
> File "/usr/lib/python2.4/site-packages/yum/yumRepo.py", line 503, in
>setup
> self._loadRepoXML(text=self)
> File "/usr/lib/python2.4/site-packages/yum/yumRepo.py", line 530, in
>_loadRepoXML
> cache=self.http_caching == 'all')
> File "/usr/lib/yum-plugins/rhnplugin.py", line 208, in
>_YumRepository__get
> start, end, copy_local, checkfunc, text, reget, cache)
> File "/usr/lib/yum-plugins/rhnplugin.py", line 276, in
>_noExceptionWrappingGet
> http_headers=headers,
> File "/usr/lib/python2.4/site-packages/urlgrabber/grabber.py", line
>927, in urlgrab
> return self._retry(opts, retryfunc, url, filename)
> File "/usr/lib/python2.4/site-packages/urlgrabber/grabber.py", line
>845, in _retry
> r = apply(func, (opts,) + args, {})
> File "/usr/lib/python2.4/site-packages/urlgrabber/grabber.py", line
>913, in retryfunc
> fo = URLGrabberFileObject(url, filename, opts)
> File "/usr/lib/python2.4/site-packages/urlgrabber/grabber.py", line
>1001, in __init__
> self._do_open()
> File "/usr/lib/python2.4/site-packages/urlgrabber/grabber.py", line
>1072, in _do_open
> fo, hdr = self._make_request(req, opener)
> File "/usr/lib/python2.4/site-packages/urlgrabber/grabber.py", line
>1172, in _make_request
> fo = opener.open(req)
> 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/urllib2.py", line 573, in <lambda>
> lambda r, proxy=url, type=type, meth=self.proxy_open: \
> File "/usr/lib/python2.4/urllib2.py", line 597, in proxy_open
> return self.parent.open(req)
> 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
>66, in https_open
> h.request(req.get_method(), req.get_full_url(), req.data, headers)
> File "/usr/lib/python2.4/httplib.py", line 804, in request
> self._send_request(method, url, body, headers)
> File "/usr/lib/python2.4/httplib.py", line 827, in _send_request
> self.endheaders()
> File "/usr/lib/python2.4/site-packages/M2Crypto/httpslib.py", line
>145, in endheaders
> HTTPSConnection.endheaders(self)
> File "/usr/lib/python2.4/httplib.py", line 798, in endheaders
> self._send_output()
> File "/usr/lib/python2.4/httplib.py", line 679, in _send_output
> self.send(msg)
> File "/usr/lib/python2.4/httplib.py", line 646, in send
> self.connect()
> File "/usr/lib/python2.4/site-packages/M2Crypto/httpslib.py", line
>161, in connect
> self._start_ssl()
> File "/usr/lib/python2.4/site-packages/M2Crypto/httpslib.py", line
>176, in _start_ssl
> self.sock.connect_ssl()
> File "/usr/lib/python2.4/site-packages/M2Crypto/SSL/Connection.py",
>line 149, in connect_ssl
> return m2.ssl_connect(self.ssl, self._timeout)
>M2Crypto.SSL.SSLError: unknown protocol
>
>As I said before, I am not familiar with either yum or python. I have
>read the faqs and docs and wiki at DUKE and been through RH KB
>and am no
>further ahead. I really don't want to open a ticket with RH until I
>have to because that in itself is kinda painful. If anyone
>can point me
>in a proper direction I would appreciate. Thanks.
>
>Regards, Marshall
>--
>redhat-list mailing list
>unsubscribe mailto:redhat-list-request at redhat.com?subject=unsubscribe
>https://www.redhat.com/mailman/listinfo/redhat-list
>
>--
>redhat-list mailing list
>unsubscribe mailto:redhat-list-request at redhat.com?subject=unsubscribe
>https://www.redhat.com/mailman/listinfo/redhat-list
>
More information about the redhat-list
mailing list