RE: RHEL5 yum problem
- From: "McDougall, Marshall (FSH)" <Marshall.McDougall@xxxxxxxxx>
- Date: Thu, 13 Sep 2007 14:14:34 -0500
I did indeed use the installation number, and my machine registered on
RHN. Thanks, anyway.
Regards, Marshall
-----Original Message-----
From: redhat-list-bounces@xxxxxxxxxx
[mailto:redhat-list-bounces@xxxxxxxxxx] On Behalf Of Andrew Bacchi
Sent: Thursday, September 13, 2007 2:01 PM
To: General Red Hat Linux discussion list
Subject: Re: RHEL5 yum problem
I don't have any RHEL 5 machines of my own at the moment, but I asked
someone who does. He said you likely didn't provide the
Installation ID
number for your RH license. You should look on the rhn
website for it,
it's a long number probably around 16 or more characters.
McDougall, Marshall (FSH) wrote:
This is my first foray into RHEL5 and so far change is notso good. I
was quite comfortable with up2date, but alas it is not part of 5.another story.
Locate doesn't seem to work very well either, but that is
not quite
I am having some problems getting yum to run at all and I am
sure if it's yum or python, as I am familiar with neitherone. This is
compounded by the fact that I am behind a proxy and I am notcompletely
sure that I am getting through it with what ever yum is using to getline 299, in
there. Currently, when I run yum I get the following:
[root@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",
doRepoSetupline 503, in
repo.setup(self.conf.cache)
File "/usr/lib/python2.4/site-packages/yum/yumRepo.py",
setupline 530, in
self._loadRepoXML(text=self)
File "/usr/lib/python2.4/site-packages/yum/yumRepo.py",
_loadRepoXMLreq.data, headers)
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(),
File "/usr/lib/python2.4/httplib.py", line 804, in requestpython. I have
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
read the faqs and docs and wiki at DUKE and been through RHKB and am no
further ahead. I really don't want to open a ticket with RH until Ican point me
have to because that in itself is kinda painful. If anyone
in a proper direction I would appreciate. Thanks.
Regards, Marshall
--
veritatis simplex oratio est
-Seneca
Andrew Bacchi
Systems Programmer
Rensselaer Polytechnic Institute
phone: 518.276.6415 fax: 518.276.2809
http://www.rpi.edu/~bacchi/
--
redhat-list mailing list
unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list
--
redhat-list mailing list
unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list
- Follow-Ups:
- Re: RHEL5 yum problem
- From: Michael Schwendt
- Re: RHEL5 yum problem
- References:
- RHEL5 yum problem
- From: McDougall, Marshall (FSH)
- Re: RHEL5 yum problem
- From: Andrew Bacchi
- RHEL5 yum problem
- Prev by Date: RE: RHEL5 yum problem
- Next by Date: Re: RHEL5 yum problem
- Previous by thread: Re: RHEL5 yum problem
- Next by thread: Re: RHEL5 yum problem
- Index(es):
Relevant Pages
|
|