Software manager crashes in GUI

Kam Leo kam.leo at gmail.com
Fri Jul 7 06:43:20 UTC 2006


On 7/6/06, Jack Gates <jlgates at charter.net> wrote:
> When I run any yum command other than yum list installed, I get this error:
>
> Searching Packages:
> Setting up repositories
> core                                                                 [1/5]
> updates-released                                                     [2/5]
> extras                                                               [3/5]
> updates                                                              [4/5]
> base                                                                 [5/5]
> Reading repository metadata in from local files
> Error: Caching enabled and local
> cache: //var/cache/yum/updates-released/primary.xml.gz does not match
> checksum
>
> I have no idea how to fix this.  Can some one help out?
>
> On Friday 07 July 2006 00:24, Jack Gates wrote:
> > I just got FC5 running on my main box but I keep getting this error when I
> > try to use the GUI software manager to review my applications installed.
> > This install started as FC2 but FC5 would not install in upgrade mode so I
> > upgraded to FC3, then FC4, then FC5
> >
> > Does any one have ideas of how to fix this?
> >
> > Can some one tell me how to review then add/remove applications with the
> > shell?
> >
> > Component: Software Manager
> > Summary: TBa02cbfcc repos.py:629:get:RepoError: failure:
> > repodata/primary.xml.gz from updates-released: [Errno 256] No more mirrors
> > to try.
> >
> > Traceback (most recent call last):
> >   File "/usr/sbin/pirut", line 363, in ?
> >     main()
> >   File "/usr/sbin/pirut", line 359, in main
> >     pm.run()
> >   File "/usr/sbin/pirut", line 286, in run
> >     self.doRefresh()
> >   File "/usr/sbin/pirut", line 297, in doRefresh
> >     self.reposSetup(pbar)
> >   File "/usr/lib/python2.4/site-packages/pirut/__init__.py", line 151, in
> > reposSetup
> >     self.doSackSetup()
> >   File "/usr/lib/python2.4/site-packages/yum/__init__.py", line 291, in
> > doSackSetup
> >     self.repos.populateSack(which=repos)
> >   File "/usr/lib/python2.4/site-packages/yum/repos.py", line 287, in
> > populateSack
> >     xml = repo.getPrimaryXML()
> >   File "/usr/lib/python2.4/site-packages/yum/repos.py", line 796, in
> > getPrimaryXML
> >     return self._retrieveMD('primary')
> >   File "/usr/lib/python2.4/site-packages/yum/repos.py", line 783, in
> > _retrieveMD
> >     cache=self.http_caching == 'all')
> >   File "/usr/lib/python2.4/site-packages/yum/repos.py", line 629, in get
> >     raise Errors.RepoError, "failure: %s from %s: %s" % (relative, self.id,
> > e) RepoError: failure: repodata/primary.xml.gz from updates-released:
> > [Errno 256] No more mirrors to try.
> >
> > Local variables in innermost frame:
> > e: [Errno 256] No more mirrors to try.
> > prxy: None
> > url: None
> > text: None
> > self: updates-released
> > cache: True
> > reget: None
> > relative: repodata/primary.xml.gz
> > headers: None
> > checkfunc: (<bound method Repository._checkMD of <yum.repos.Repository
> > instance at 0xb7a092ec>>, ('primary',), {})
> > copy_local: 1
> > end: None
> > local: //var/cache/yum/updates-released/primary.xml.gz
> > start: None
> >
> > --
> > Jack Gates
[snip]
> --
> Jack Gates
[snip]

Your connection to the repository was bad. Error were encountered.
Cleaning out the corrupted files in yum's caches should fix this; i.e.

# yum clean all

HTH




More information about the users mailing list