YUM-Aktualisierungsfehler

2833
user196901

Ich habe eine virtuelle Maschine mit CentOS 6 drauf. Ich habe versucht zu laufen yum update, aber ich habe folgende Fehlermeldung erhalten:

http://mirror.centos.org/centos/6/addons/x86_64/repodata/repomd.xml: [Errno 14] PYCURL ERROR 22 - "The requested URL returned error: 404" Trying other mirror. Error: Cannot retrieve repository metadata (repomd.xml) for repository: addons. Please verify its path and try again 

Wie kann ich das beheben? Gibt es eine Möglichkeit, Yum erneut zu installieren, um die Einstellungen zurückzusetzen?

0

2 Antworten auf die Frage

1
Chris Cooper

The first step with things like this is to make sure yum's config has not become confused at some point, do a refresh like this:

yum clean all 

Then try to run your install or update again.

But, based on the log output, it looks like your remote repository is not available at the given address, hence the 404 message. A 404 is HTTP speak for -

I'm the server responsible for the address you have requested, but sorry what you're asking for is not here.

This at least indicates you don't have a network connectivity problem.

Probably the best thing to do in this case, is look for an alternative mirror address for the repo, or use an alterantive repo entirely.

Sorry für die blöde Frage, aber wie richte ich eine alternative Spiegeladresse ein? user196901 vor 11 Jahren 0
0
user196901

Hinzufügen --disablerepo=addon(zB yum --disablerepo=addons update:) - Das Addons-Repo scheint nicht mehr vorhanden zu sein.

Vielen Dank an centos.org Foren für die Hilfe. Ich habe es als Antwort auf meine eigenen Fragen gepostet.