[root@VIRTCENT03:~] #yum repolist
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
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 349, in doCommands
return self.yum_cli_commands[self.basecmd].doCommand(self,
self.basecmd, self.extcmds)
File "/usr/share/yum-cli/yumcommands.py", line 781, in doCommand
base.repos.populateSack()
File "/usr/lib/python2.4/site-packages/yum/repos.py", line 232, in
populateSack
self.doSetup()
File "/usr/lib/python2.4/site-packages/yum/repos.py", line 79, in doSetup
self.ayum.plugins.run('postreposetup')
File "/usr/lib/python2.4/site-packages/yum/plugins.py", line 179, in run
func(conduitcls(self, self.base, conf, **kwargs))
File "/usr/lib/yum-plugins/fastestmirror.py", line 164, in postreposetup_hook
read_timedhosts()
File "/usr/lib/yum-plugins/fastestmirror.py", line 233, in read_timedhosts
host, time = line.split()
ValueError: too many values to unpack
rm -rf /var/lib/rpm/*_db.*
I have tried rm -rf rm -rf /var/lib/rpm/*_db.* and rebuilt my rpm
package database but that didn't move the needle on this problem
On Tue, Feb 8, 2011 at 5:49 PM, Tim Dunphy <bluethundr@gmail.com> wrote:
>
> rm -rf /var/lib/rpm/*_db.*
>
> I have tried rm -rf rm -rf /var/lib/rpm/*_db.* and rebuilt my rpm
> package database but that didn't move the needle on this problem
>
That actually won't do anything for yum. Try:
yum clean headers
If that doesn't resolve, try:
yum clean all
Also, verify that your /var filesystem is writable and has a few gig
of free space.
_______________________________________________
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos