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 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@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

--
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



Relevant Pages

  • Re: Fedora Core 6 rpm-libs package unavailable
    ... Ok- I ran a yum update rpm-libs and it solved the problem. ... I'm setting up an EC2 based Fedora Core 6 installation on a 64-bit ... Package binutils - 2.17.50.0.6-5.fc6.x86_64 already installed and latest version ...
    (Fedora)
  • yum commonly segfaults after FC2 -> FC3 upgrade
    ... A couple of days ago I upgraded from FC2 to FC3 from a set of CDs. ... yum has been segfaulting quite commonly. ... After installation I did have to spend a lot of time cleaning out ... The segfault is from the python process and is most common while it's ...
    (Fedora)
  • Re: FC5 - quick yum fix for java plugin?
    ... Does anyone have any good updated yum locations where I can just grab ... Re sudo: while it's nice to have a comprehensive reference, ... it for you (probably stopping short of the actual installation though). ... Sounds like a good idea - perhaps bring it up on the jpackage mailing ...
    (Fedora)
  • RE: FC4 does not work, "out of the box" for me; GUI/X11 fails
    ... I chose 'everything' for software installation which it apparently ... Then you can update FC4 using yum as root in the console, ... You'll see the upgradable packages, Then you can select the packages you want ... Checked by AVG Anti-Virus. ...
    (Fedora)
  • RE: FC4 does not work, "out of the box" for me; GUI/X11 fails
    ... is that which would support the scriptlets. ... >inside the Fedora Rescue environment which did a very weird ... >and Yum install in a level 3 boot. ... >>I chose 'everything' for software installation which it apparently ...
    (Fedora)