yum update gives Fatal Python Error couldn't create autoTLSkey mapping
A new CentOS 6 server install. Building a dedicated DNS server. Need to update all software. Tried "yum update" and I get
Determing fastest mirror Fatal Python Error Couldn't create autoTLSkey mapping What did I miss to make this work? |
did you by chance replace the version of python that is installed in Cent ?
yum REQUIRES that SPECIFIC version the python that is in the Cent base( and updates) repo |
maybe hardening issues
No, I did reduce the etc/services list to tighten security and turned off some services. Does Python or Yum use any of those to find a mirror? What port does yum use? I may have it block in the firewall as well. Iptables rules are very tight right for both ingress and egress traffic. I'm not letting much out except udp:53, ntp:123 and tcp:53 to one address and tcp:22 for ssh.
Another pass at the issue. I stopped iptables and replace etc/services with the original services file and the problem continues... |
Are you connected to the Internet?
|
rarebear.nm are you trying to update this cent6 install remotely ?
if so is it ssl or a VPN and IS the cent 6 install the current ( and ONLY supported cent6 version) "CentOS 6.2" . |
Yes there is an Internet connection. I can ping external addresses fine.
This system is still on the test bench and I only have a direct console connection to it right now. No remote connections have been setup or configured. It is running CentOS 6.1. |
Python/yum errors are almost always due to a blocked mirror.
|
How to
Ok, so how do I identify blocked mirrors and how do I by pass this issue? Thanks.
I just tries yum --noplugins update - the update runs just fine. Any ideas where to go from here? |
All times are GMT -5. The time now is 04:08 AM. |