yum not working with fastmirror

2 posts / 0 new
Last post
#1 Thu, 11/26/2009 - 02:20
mustardman

yum not working with fastmirror

Got a problem I have been scratching my head over for the past several days. Yum was broken and I finally figured out that I could get it to work by disabling fastmirror. It does not appear to be a problem with fastmirror per se but disabling fastmirror temporarily fixes it. I already tried un-installing and re-installing fastmirror and several other things. Yes, I always do a 'yum clean all' after every change

Just updated to the latest virtualmin as of today hoping that would fix it but it didn't. Anyone else have this problem? It's a brand new install and I can't see how I could have buggered it up myself. Cruising around the web seems most people who have this problem have narrowed it down to a python package. Seems to be no one particular package. Varies from person to person.

Whatever python package it is, it would have been something the Virtualmin install script installed.

Here are the first few lines of the error I get when fastmirror is enabled.

$ yum update

Loaded plugins: fastestmirror Determining fastest mirrors Traceback (most recent call last): File "/usr/bin/yum", line 29, in ? yummain.user_main(sys.argv[1:], exit_code=True) File "/usr/share/yum-cli/yummain.py", line 309, in user_main errcode = main(args) File "/usr/share/yum-cli/yummain.py", line 178, in main result, resultmsgs = base.doCommands() File "/usr/share/yum-cli/cli.py", line 345, in doCommands self._getTs(needTsRemove)

This is on a new CentOS 5.4 install with Virtualmin/Webmin installed using the Virtualmin install script. Pretty much everything is at default settings in Virtualmin/Webmin hosting 3 virtual server websites. I am running this on an OpenVZ VPS btw. Not a dedicated server.

Sat, 11/28/2009 - 15:16
mustardman

Well suddenly and inexplicably it is working again. I didn't do anything so presumably it was a problem with one of the online repositories which has now been corrected.......I guess.