Re: yum error when try to get update from RHN

Michael Mayer <[email protected]>
Newsgroups gmane.linux.redhat.rhn.user
Message-ID <[email protected]>
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.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.