Hi All,
what is the meaning of below from yum,
Traceback (most recent call last): File "/usr/bin/yum", line 7, in ? yummain.main(sys.argv[1:]) File "/usr/share/yum-cli/yummain.py", line 68, in main result, resultmsgs = base.doCommands() File "/usr/share/yum-cli/cli.py", line 408, in doCommands return self.updatePkgs() File "/usr/share/yum-cli/cli.py", line 923, in updatePkgs self.doRepoSetup() File "/usr/share/yum-cli/cli.py", line 84, in doRepoSetup self.doSackSetup() File "__init__.py", line 143, in doSackSetup File "repos.py", line 211, in populateSack File "mdcache.py", line 103, in getPrimary File "mdcache.py", line 90, in _getGeneric File "mdcache.py", line 62, in _unpickle EOFError
This occurred after 1st attempt to do a yum update yum, for a laptop install that I've just allowed onto the net. Same after rebooting. Cheers.
CentOS version:
4.1
yum version:
2.2.0
yum.conf:
[dag] name=Dag RPM Repository for Red Hat Enterprise Linux baseurl=http://apt.sw.be/redhat/el$releasever/en/$basearch/dag gpgcheck=1 enabled=1
Mark Sargent.
look like the mdcache format has changed. maybe you can try to clean the cache or erase the cache file (don't know the path, but probably in /var/cache/yum) Mark Sargent wrote:
Hi All,
what is the meaning of below from yum,
Traceback (most recent call last): File "/usr/bin/yum", line 7, in ? yummain.main(sys.argv[1:]) File "/usr/share/yum-cli/yummain.py", line 68, in main result, resultmsgs = base.doCommands() File "/usr/share/yum-cli/cli.py", line 408, in doCommands return self.updatePkgs() File "/usr/share/yum-cli/cli.py", line 923, in updatePkgs self.doRepoSetup() File "/usr/share/yum-cli/cli.py", line 84, in doRepoSetup self.doSackSetup() File "__init__.py", line 143, in doSackSetup File "repos.py", line 211, in populateSack File "mdcache.py", line 103, in getPrimary File "mdcache.py", line 90, in _getGeneric File "mdcache.py", line 62, in _unpickle EOFError
This occurred after 1st attempt to do a yum update yum, for a laptop install that I've just allowed onto the net. Same after rebooting. Cheers.
CentOS version:
4.1
yum version:
2.2.0
yum.conf:
[dag] name=Dag RPM Repository for Red Hat Enterprise Linux baseurl=http://apt.sw.be/redhat/el$releasever/en/$basearch/dag gpgcheck=1 enabled=1
Mark Sargent.
CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
sophana wrote:
look like the mdcache format has changed. maybe you can try to clean the cache or erase the cache file (don't know the path, but probably in /var/cache/yum)
Hi All,
"yum clean all" cmd did the trick. BTW, sophana, please remember not to top post, as threads can get messy if ppl do. Cheers.
Mark Sargent.