[Solved] Error updating wbm-virtual-server and webmin

3 posts / 0 new
Last post
#1 Sun, 05/16/2010 - 21:59
zhangyb

[Solved] Error updating wbm-virtual-server and webmin

I am having some troubles updating the wbm-virtual-server and webmin, having the following errors whenever I try to update:

Now updating wbm-virtual-server .. Installing package(s) with command yum -y install wbm-virtual-server .. Loading "fastestmirror" plugin Loading mirror speeds from cached hostfile 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/share/yum-cli/cli.py", line 289, in doCommands self._getTs() File "/usr/lib/python2.4/site-packages/yum/depsolve.py", line 85, in _getTs self._getTsInfo() File "/usr/lib/python2.4/site-packages/yum/depsolve.py", line 91, in _getTsInfo self._tsInfo.setDatabases(self.rpmdb, self.pkgSack) File "/usr/lib/python2.4/site-packages/yum/init.py", line 537, in pkgSack = property(fget=lambda self: self._getSacks(), File "/usr/lib/python2.4/site-packages/yum/init.py", line 392, in _getSacks self.repos.populateSack(which=repos) File "/usr/lib/python2.4/site-packages/yum/repos.py", line 214, in populateSack self.doSetup() File "/usr/lib/python2.4/site-packages/yum/repos.py", line 66, in doSetup self.ayum.plugins.run('postreposetup') File "/usr/lib/python2.4/site-packages/yum/plugins.py", line 169, in run func(conduitcls(self, self.base, conf, **kwargs)) File "/usr/lib/yum-plugins/fastestmirror.py", line 83, in postreposetup_hook read_timedhosts() File "/usr/lib/yum-plugins/fastestmirror.py", line 111, in read_timedhosts host, time = line.split() ValueError: need more than 1 value to unpack .. install failed!

Now updating webmin .. Installing package(s) with command yum -y install webmin .. Loading "fastestmirror" plugin Loading mirror speeds from cached hostfile 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/share/yum-cli/cli.py", line 289, in doCommands self._getTs() File "/usr/lib/python2.4/site-packages/yum/depsolve.py", line 85, in _getTs self._getTsInfo() File "/usr/lib/python2.4/site-packages/yum/depsolve.py", line 91, in _getTsInfo self._tsInfo.setDatabases(self.rpmdb, self.pkgSack) File "/usr/lib/python2.4/site-packages/yum/init.py", line 537, in pkgSack = property(fget=lambda self: self._getSacks(), File "/usr/lib/python2.4/site-packages/yum/init.py", line 392, in _getSacks self.repos.populateSack(which=repos) File "/usr/lib/python2.4/site-packages/yum/repos.py", line 214, in populateSack self.doSetup() File "/usr/lib/python2.4/site-packages/yum/repos.py", line 66, in doSetup self.ayum.plugins.run('postreposetup') File "/usr/lib/python2.4/site-packages/yum/plugins.py", line 169, in run func(conduitcls(self, self.base, conf, **kwargs)) File "/usr/lib/yum-plugins/fastestmirror.py", line 83, in postreposetup_hook read_timedhosts() File "/usr/lib/yum-plugins/fastestmirror.py", line 111, in read_timedhosts host, time = line.split() ValueError: need more than 1 value to unpack .. install failed!

can anyone point me in the direction of how to fix this?

thanks!

Tue, 05/18/2010 - 14:14
andreychek

It looks like something in your server's yum cache may be corrupted... try running "yum clean all", then seeing if the upgrade runs correctly after that.

-Eric

Tue, 05/18/2010 - 22:48
zhangyb

thanks Eric, "yum clean all" did the trick :)

Topic locked