[Yum] Still not working
mycox
4utlr at cox.net
Thu May 26 03:36:59 UTC 2005
At 10:23 PM 5/24/2005, you wrote:
>On Tue, May 24, 2005 at 10:04:47PM -0500, mycox wrote:
> > Now, I wish to make sure it is properly updated on a regular basis. So I
> > attempted to first use yum by attempting some non-committal commands like
> > "yum check-update" and "yum list all". Both produced errors similar to
> > those below.
> > On a client Windows PC, I download the latest copy of yum from the Duke
> Yum
> > website.
> > It was then transferred the file to the FC3 PC and installed as seen below.
>
>I think something in here was your problem. Why not use the yum that came
>with FC3?
>
>--
>Matthew Miller mattdm at mattdm.org <http://www.mattdm.org/>
Okay Matt,
Following your suggestion, I removed the current yum version, and reloaded
from the distribution CD. The following it the results.
[root at ipxx.xx.xx.xx RPMS]# rpm -ivh yum-2.1.11-3.noarch.rpm
Preparing... ########################################### [100%]
1:yum ########################################### [100%]
[root at ipxx.xx.xx.xx ~]# yum list all
Setting up Repo: base
repomd.xml 100% |=========================| 1.1 kB 00:00
Setting up Repo: updates-released
repomd.xml 100% |=========================| 951 B 00:00
Reading repository metadata in from local files
Traceback (most recent call last):
File "/usr/bin/yum", line 8, 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 412, in doCommands
ypl = self.returnPkgLists()
File "/usr/share/yum-cli/cli.py", line 954, in returnPkgLists
ypl = self.doPackageLists(pkgnarrow=pkgnarrow)
File "/usr/lib/python2.3/site-packages/yum/__init__.py", line 612, in
doPackageLists
self.doRepoSetup()
File "/usr/share/yum-cli/cli.py", line 78, in doRepoSetup
self.doSackSetup()
File "/usr/lib/python2.3/site-packages/yum/__init__.py", line 93, in
doSackSetup
self.repos.populateSack()
File "/usr/lib/python2.3/site-packages/yum/repos.py", line 203, in
populateSack
dobj = repo.cacheHandler.getPrimary(xml, csum)
File "/usr/lib/python2.3/site-packages/yum/mdcache.py", line 103, in
getPrimary
return self._getGeneric('metadata', location, checksum)
File "/usr/lib/python2.3/site-packages/yum/mdcache.py", line 90, in
_getGeneric
databank = self._unpickle(piklfile)
File "/usr/lib/python2.3/site-packages/yum/mdcache.py", line 62, in
_unpickle
obj = cPickle.load(infh)
EOFError
Does this give any clues as to what is going on?
Tom Raab
More information about the Yum
mailing list