LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices



Reply
 
Search this Thread
Old 09-19-2006, 05:41 PM   #1
SamuelHenderson
LQ Newbie
 
Registered: Sep 2006
Posts: 17

Rep: Reputation: 0
Unhappy Problem using yum and pirut


I'm not sure what happened exactly...

I went to install the Glade IDE using the package manager, but when I checked the more info button before installing I decided that I didn't have time to download, install, and update the many dependencies required. I exited the the package manager (I did not start to install Glade, it was not downloading or updating or installing anything). It did not give me any error messages, everything seemed great.

Later when I had more time I decided to install Apache, I figured rather than go about using the package manager I would use `yum install apache` here was the result

Code:
# yum install apache
Loading "installonlyn" plugin
Setting up Install Process
Setting up repositories
livna                                                                [1/8]
flash                                                                [2/8]
core                                                                 [3/8]
jpackage-fedora                                                      [4/8]
jpackage-generic                                                     [5/8]
mono                                                                 [6/8]
extras                                                               [7/8]
updates                                                              [8/8]
Reading repository metadata in from local files
primary.xml.gz            100% |=========================| 366 kB    00:00
http://mirrors.dotsrc.org/jpackage/1.6/generic/free/repodata/primary.xml.gz: [Errno -1] Metadata file does not match checksum
Trying other mirror.
primary.xml.gz                                                   32 kB 00:00
http://planetmirror.com/pub/jpackage/1.6/generic/free/repodata/primary.xml.gz: [Errno -1] Metadata file does not match checksum
Trying other mirror.
primary.xml.gz            100% |=========================| 366 kB    00:00
http://sunsite.informatik.rwth-aachen.de/ftp/pub/Linux/jpackage/1.6/generic/free/repodata/primary.xml.gz: [Errno -1] Metadata file does not match checksum
Trying other mirror.
ftp://ftp.pbone.net/pub/jpackage/1.6/generic/free/repodata/primary.xml.gz: [Errno 4] IOError: [Errno ftp error] timed out
Trying other mirror.
primary.xml.gz            100% |=========================| 366 kB    00:00
http://sunsite.rediris.es/mirror/jpackage/1.6/generic/free/repodata/primary.xml.gz: [Errno -1] Metadata file does not match checksum
Trying other mirror.
primary.xml.gz            100% |=========================| 366 kB    00:01
ftp://gsa10.eps.cdf.udc.es/jpackage/1.6/generic/free/repodata/primary.xml.gz: [Errno -1] Metadata file does not match checksum
Trying other mirror.
primary.xml.gz            100% |=========================| 366 kB    00:00
http://www.mirrorservice.org/sites/jpackage.org/1.6/generic/free/repodata/primary.xml.gz: [Errno -1] Metadata file does not match checksum
Trying other mirror.
primary.xml.gz            100% |=========================| 366 kB    00:00
http://ftp.heanet.ie/pub/jpackage/1.6/generic/free/repodata/primary.xml.gz: [Errno -1] Metadata file does not match checksum
Trying other mirror.
Error: failure: repodata/primary.xml.gz from jpackage-generic: [Errno 256] No more mirrors to try.
I have seen the Metadata file does not match checksum error before, but it would just bounce over to another mirror and work fine... apparently all the Metadata files are not matching the checksums which I found highly suspicious.

Next I went to use the package manager, I noticed right away that it was really slow and seemed to be sucking back resources, it didn't even finish retrieving software information when it generated this error message "An unhandled exception has occured. This is most likely a bug. Please save the crash dump and file a detailed Bug Report against Software Manager at https://bugzilla.redhat.com/bugzilla

Code:
omponent: Software Manager
Summary: TBa02cbfcc repos.py:629:get:RepoError: failure: repodata/primary.xml.gz from jpackage-generic: [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 jpackage-generic: [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: jpackage-generic
cache: True
reget: None
relative: repodata/primary.xml.gz
headers: None
checkfunc: (<bound method Repository._checkMD of <yum.repos.Repository instance at 0xb798086c>>, ('primary',), {})
copy_local: 1
end: None
local: //var/cache/yum/jpackage-generic/primary.xml.gz
start: None
I tried googling the error message and different questions about pirut but so far nothing has really been revealed...


I actually laughed at the unhandled exception because the reason I wanted to install apache was to procrastinate in doing my Java homework... the topic was "handling exceptions"...


Edit#1

I think I should have used "Package Manager" or "Software Manager" in the topic instead of pirut

Last edited by SamuelHenderson; 09-19-2006 at 05:43 PM.
 
Old 09-20-2006, 10:07 AM   #2
hob
Senior Member
 
Registered: Mar 2004
Location: Wales, UK
Distribution: Debian, Ubuntu
Posts: 1,075

Rep: Reputation: 45
I think that I've had this problem... and ran "yum clean" as root to purge the local indexes, so that they were reloaded from scratch with the next operation, i.e.:

su -c 'yum clean'

su -c 'yum list yum'

The list operation will cause yum to refresh the indexes, without doing anything to your installed packages.
 
Old 01-25-2007, 08:22 AM   #3
tuhin
LQ Newbie
 
Registered: Jan 2006
Posts: 1

Rep: Reputation: 0
yes i work well. But i think the command for cleaning is "yum clean all" not "yum clean".
 
Old 02-06-2007, 11:37 PM   #4
01d55
Member
 
Registered: Feb 2006
Distribution: Ubuntu 11.1
Posts: 32

Rep: Reputation: 16
I had essentially this exact problem, "yum clean all" fixed it. It didn't fix my other problem, but that has its own thread.
 
Old 02-07-2007, 01:02 PM   #5
SamuelHenderson
LQ Newbie
 
Registered: Sep 2006
Posts: 17

Original Poster
Rep: Reputation: 0
[resolved]

Yeah, that fixed it. I should have posted this months ago but I was busy/lazy

It was "yum clean all" btw
 
  


Reply

Tags
error, fedora, fixed, pirut, yum


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
problem after yum yum yum (delicious) alaios Fedora 3 01-14-2009 03:34 AM
pirut - showing error message narendra.pant Fedora 10 09-18-2006 09:49 AM
Pirut yum manager, what about CDs/DVD? phoenix49 Fedora 2 03-27-2006 07:40 AM
Yum Problem - /var/cache/yum/base/primary.xml.gz:1 ice99 Linux - Software 0 12-15-2005 02:08 PM


All times are GMT -5. The time now is 06:21 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration