RE: yum error when try to get update from RHN
"WANG Leo" <[email protected]>
| Newsgroups | gmane.linux.redhat.rhn.user |
|---|---|
| Message-ID | <F0B0DC23891DED40980E6977D12342A8A343FF@CNSHGSMBS05.ad4.ad.alcatel.com> |
Michael, I saw some rpm packages had been downloaded. Does this mean my SSL connection via proxy is ok? Leo W -----Original Message----- From: [email protected] [mailto:[email protected]] On Behalf Of Michael Mayer Sent: 2008年11月21日 16:19 To: Discussions about Red Hat Network (rhn.redhat.com) Subject: Re: [rhn-users] yum error when try to get update from RHN WANG Leo wrote: > Hi all, > > When I run yum update I get the errors as below in the end of this > email. I found a topic in RHN kbase FAQ, which told me to download and > install following packages > # rpm -Uvh yum-version.noarch.rpm > yum-metadata-parser-version.i386.rpmyum-updatesd-version.noarch.rpm > But I can NOT find them on RHN web and when I try "yum install > yum-metadata-parser" it says > "Package yum-metadata-parser - 1.1.2-2.el5.x86_64 is already installed. > Nothing to do" > > Anyone met and fixed this problem before? > > Leo W > > Yum update error > =========================================== > 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 105, in main > result, resultmsgs = base.doCommands() > ... > ... > File "/usr/lib64/python2.4/site-packages/M2Crypto/httpslib.py", line > 177, in _start_ssl > self.sock.connect_ssl() > File "/usr/lib64/python2.4/site-packages/M2Crypto/SSL/Connection.py", > line 149, in connect_ssl > return m2.ssl_connect(self.ssl, self._timeout) > M2Crypto.SSL.SSLError: unexpected eof > > > _______________________________________________ > rhn-users mailing list > [email protected] > https://www.redhat.com/mailman/listinfo/rhn-users > Hi, it looks like you have problems to establish SSL connections. Are you using any proxy (if so, which type of proxy) or are there any other limitations (firewall, etc.). You can temporarily try and replace https by http in /etc/sysconfig/rhn/up2date and see if that works for you. This will disable SSL connections to RHN and use unencrypted http connections. If this allows you to get updates again, we need to debug the SSL stuff further. Michael. _______________________________________________ rhn-users mailing list [email protected] https://www.redhat.com/mailman/listinfo/rhn-users