PDA

View Full Version : pirut and pup broken by latest round of updates?



dpatt
30th October 2007, 10:57 PM
I foolishly let my Fedora 7 distribution perform the updates it requested yesterday. All was well until reboot, and now neither pirut nor pup will run. Launched from a terminal, they just hang indefinitely.

Any ideas how I could start troubleshooting this?

Dan

dpatt
31st October 2007, 12:29 AM
And I get a lot of 'metadata file does not match checksum' when attempting to use yumex.

For example

08:41:14 : Failure getting ftp://ftp.uci.edu/mirrors/fedora/li...a/comps-f7.xml:
08:41:14 : --> [Errno -1] Metadata file does not match checksum
08:41:14 : Trying other mirror.
08:41:17 : Failure getting http://download.fedora.redhat.com/p...a/comps-f7.xml:
08:41:17 : --> [Errno -1] Metadata file does not match checksum
08:41:17 : Trying other mirror.
08:41:18 : Failure getting http://mirror.cc.vt.edu/pub/fedora/...a/comps-f7.xml:
08:41:18 : --> [Errno -1] Metadata file does not match checksum
08:41:18 : Trying other mirror.
08:41:19 : Failure getting http://mirror.cogentco.com/pub/linu...a/comps-f7.xml:
08:41:19 : --> [Errno -1] Metadata file does not match checksum
08:41:19 : Trying other mirror.
08:41:21 : Failure getting http://mirror.hiwaay.net/pub/fedora...a/comps-f7.xml:
08:41:21 : --> [Errno -1] Metadata file does not match checksum
08:41:21 : Trying other mirror.
08:41:28 : Failure getting http://mirror.nuvio.com/pub/fedora/...a/comps-f7.xml:
08:41:28 : --> [Errno -1] Metadata file does not match checksum
08:41:28 : Trying other mirror.
08:41:52 : Failure getting http://mirror.web-ster.com/fedora/u...a/comps-f7.xml:
08:41:52 : --> [Errno -1] Metadata file does not match checksum
08:41:52 : Trying other mirror.
08:41:57 : Failure getting http://mirrors.cat.pdx.edu/fedora/l...a/comps-f7.xml:
08:41:57 : --> [Errno -1] Metadata file does not match checksum
08:41:57 : Trying other mirror.
08:41:59 : Failure getting http://mirrors.kernel.org/fedora/up...a/comps-f7.xml:
08:41:59 : --> [Errno -1] Metadata file does not match checksum
08:41:59 : Trying other mirror.
08:42:10 : failure: repodata/comps-f7.xml from updates: [Errno 256] No more mirrors to try.

Thus, the problem may not lie only in my machine...

dpatt
31st October 2007, 12:37 AM
I tried yum clean all and that didn't help...
Once I figured out what the error was, I was able to search for it...

In times past - such as 10/04/07 - this was a repo problem. Perhaps this is again the case?

https://bugzilla.redhat.com/show_bug.cgi?id=318241
https://bugzilla.redhat.com/show_bug.cgi?id=318441

"As mentioned in comment #1, the comps file in the updates repo was broken
yesterday leading to the problems being seen. That is bug 318441."

What does it take to get the repo fixed? (I need to add a package for which I do not know the name...)

pshi
31st October 2007, 03:51 PM
I got the same problem today. Any fix?

leigh123linux
31st October 2007, 04:01 PM
try editing the repos

su
gedit /etc/yum.repos.d/fedora-updates.repo

and change the position of the comment ( # )

from


[updates-released]
name=Fedora Core $releasever - $basearch - Released Updates
#baseurl=http://download.fedora.redhat.com/pub/fedora/linux/core/updates/$releasever/$basearch/
mirrorlist=http://fedora.redhat.com/download/mirrors/updates-released-fc$releasever
enabled=1
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora

to


[updates-released]
name=Fedora Core $releasever - $basearch - Released Updates
baseurl=http://download.fedora.redhat.com/pub/fedora/linux/core/updates/$releasever/$basearch/
#mirrorlist=http://fedora.redhat.com/download/mirrors/updates-released-fc$releasever
enabled=1
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora


and do the same for the fedora.repo

su
gedit /etc/yum.repos.d/fedora.repo

from


[base]
name=Fedora Core $releasever - $basearch - Base
#baseurl=http://download.fedora.redhat.com/pub/fedora/linux/core/$releasever/$basearch/os/
mirrorlist=http://fedora.redhat.com/download/mirrors/fedora-core-$releasever
enabled=1
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora

to


[base]
name=Fedora Core $releasever - $basearch - Base
baseurl=http://download.fedora.redhat.com/pub/fedora/linux/core/$releasever/$basearch/os/
#mirrorlist=http://fedora.redhat.com/download/mirrors/fedora-core-$releasever
enabled=1
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora


then run yum clean all

su
yum clean all

chalon
31st October 2007, 04:32 PM
I got the same problem today. Any fix?


similar problem here; I also found that puppetd is stopped and cannot start anymore , I got the following message:
puppet failed
error configuration
usr/lib/ruby/site_ruby/1.8/puppet.rb:9:in 'require': no such file to load --facter (LoadError)
from /usr/lib/ruby/site_ruby/1.8/puppet.rb:9
from /usr/sbin/puppetd:158:in 'require'
from /usr/sbin/puppetd:158
[failed]

As yum is OK I tried to remove and reinstall puppet . Doesn't change anything.
Any suggestion?
thanks

Thetargos
31st October 2007, 04:44 PM
Looks like a regresion of bug 318441, the problem seems to be located on the mirrors and not the clients as such. What Leigh suggests overrides the mirrors and points directly to Fedora's repository, which is most likely to have the right repodata.xml, and hence avoiding the problem. The problem then might be that the overall yum speed will suffer due to server overload.

Bud
31st October 2007, 05:01 PM
I have been experiencing this problem for the last few days on every fedora 7 machine I use. I tried changing the repo files as mentioned above. Upon inspection of the XML file, it seems it's malformed. Could this be the cause of the problem?


<packagereq type="optype="optional">xchat-tcl</packagereq>

Bud
31st October 2007, 05:03 PM
Sorry, should have mentioned where that was from:

http://download.fedora.redhat.com/pub/fedora/linux/updates/7/x86_64/repodata/comps-f7.xml

pshi
31st October 2007, 05:07 PM
Tried suggestion from leigh123
Now it says ubable to start due to configuration error, but it does not tell more detail

dwflo
31st October 2007, 07:49 PM
Same problem here.
pup gives me "config error", pirut will not run, yumex gives me the "metadata does not match checksum"...even with the mirrors disabled!!!
Having to use yum from the cli and rpm for local installs.

dpatt
31st October 2007, 11:41 PM
su
gedit /etc/yum.repos.d/fedora-updates.repo

and switching to the real thing instead of mirrors worked for me. (From leigh123's post)

However, I would hope someone fixes the mirrors...

pshi
4th November 2007, 03:53 PM
Hello:

In my computer, at least, everything works now without doing anything. This is weird.

marko
4th November 2007, 08:49 PM
Hello:

In my computer, at least, everything works now without doing anything. This is weird.

It's not that weird, the mirrors just finally got synced up.
That's why it fixed itself. It would be good for those
people that swapped mirrorlist to baseurl to sometime
switch back to mirrorlist in their repo files

Mark

bob
11th November 2007, 01:04 AM
Interesting that I'm still experiencing the problem with Yumex, but everything's been working perfectly with yum. Yum clean all and a reinstall didn't solve it. Oh well, maybe tomorrow.