Koozali.org: home of the SME Server

Problems with yum after last update

Offline Rien

  • *
  • 216
  • +0/-0
    • http://www.taurix.nl
Problems with yum after last update
« on: October 28, 2006, 10:45:33 PM »
Hi all,

I updated my sme-7 server with yum update. All went well. Yesterday I wanted to look for recent updates again but yum failed.

Quote
Repository base is listed more than once in the configuration
Repository contrib is listed more than once in the configuration
Repository centosplus is listed more than once in the configuration
Repository addons is listed more than once in the configuration
Repository extras is listed more than once in the configuration
http://mirror.centos.org/centos/4/testing/i386/repodata/repomd.xml: [Errno 14] HTTP Error 404: Not Found
Trying other mirror.
Cannot open/read repomd.xml file for repository: testing
failure: repodata/repomd.xml from testing: [Errno 256] No more mirrors to try.
Error: failure: repodata/repomd.xml from testing: [Errno 256] No more mirrors to try.


How can I correct this?

Thanks,
Rien
(The Netherlands)......

pen25

Re: Problems with yum after last update
« Reply #1 on: October 30, 2006, 06:40:03 AM »
Quote from: "Rien"
Hi all,

I updated my sme-7 server with yum update. All went well. Yesterday I wanted to look for recent updates again but yum failed.

Quote
Repository base is listed more than once in the configuration
Repository contrib is listed more than once in the configuration
Repository centosplus is listed more than once in the configuration
Repository addons is listed more than once in the configuration
Repository extras is listed more than once in the configuration
http://mirror.centos.org/centos/4/testing/i386/repodata/repomd.xml: [Errno 14] HTTP Error 404: Not Found
Trying other mirror.
Cannot open/read repomd.xml file for repository: testing
failure: repodata/repomd.xml from testing: [Errno 256] No more mirrors to try.
Error: failure: repodata/repomd.xml from testing: [Errno 256] No more mirrors to try.


How can I correct this?

Thanks,


I have this same issue. except mine shows

2006-10-29 04:05:06.694930500 Repository base is listed more than once in the configuration
2006-10-29 04:05:06.695282500 Repository contrib is listed more than once in the configuration
2006-10-29 04:05:06.695502500 Repository centosplus is listed more than once in the configuration
2006-10-29 04:05:06.695762500 Repository addons is listed more than once in the configuration
2006-10-29 04:05:06.695999500 Repository extras is listed more than once in the configuration
2006-10-29 04:05:06.820424500 Cannot find a valid baseurl for repo: update
2006-10-29 04:05:06.820790500 Error: Cannot find a valid baseurl for repo: update
2006-10-29 04:05:06.921375500 yum grouplist updates status 256

Offline Tillebeck

  • ****
  • 76
  • +0/-0
Problems with yum after last update
« Reply #2 on: November 07, 2006, 04:07:09 PM »
Please report that in the bugtracker.

I have yum update problem as described in this bug:
http://bugs.contribs.org/show_bug.cgi?id=1873

But I guess the issue you two are experiencing is a different one.

BR. Anders

Offline Rien

  • *
  • 216
  • +0/-0
    • http://www.taurix.nl
Problems with yum after last update
« Reply #3 on: November 14, 2006, 05:03:54 PM »
I have still the same problem and I still can't use yum anymore. Why?.. I still don't know.

So I want to deinstall yum and then reinstall it again. Should that be a solution?

Because I can't use the 'yum'-way, I have to delete yum the old fashioned way. Does anyone know the name of the yum rpm so I can delete it with: rpm -e yum....

thanks,
Rien
(The Netherlands)......

Offline byte

  • *
  • 2,183
  • +2/-0
Problems with yum after last update
« Reply #4 on: November 14, 2006, 07:42:49 PM »
Moving this topic to the SME Server 7.x forum, it is more appropriate there. Thanks!
--[byte]--

Have you filled in a Bug Report over @ http://bugs.contribs.org ? Please don't wait to be told this way you help us to help you/others - Thanks!

Offline Rien

  • *
  • 216
  • +0/-0
    • http://www.taurix.nl
Problems with yum after last update
« Reply #5 on: November 14, 2006, 10:57:03 PM »
Sorry, I thought that Yum was an add-on.

The problem is solved. I uninstalled the yum-noarch and smeserver-yum rpm's with

Code: [Select]
rpm -e --nodeps yum.noarch smeserver-yum

I deleted yum.conf and the yum directories in /etc

Then I reinstalled yum-noarch and smeserver-yum and everything works again.
Rien
(The Netherlands)......

georgelee

Is it wrong with the method to got back YUM?
« Reply #6 on: November 16, 2006, 04:38:51 AM »
I got the files from the CDROOM. Is it anything wrong with the method?

Offline Rien

  • *
  • 216
  • +0/-0
    • http://www.taurix.nl
Problems with yum after last update
« Reply #7 on: November 16, 2006, 01:18:55 PM »
It works for me, did you have the same problem or a slightly different one. My solution was a matter of "trial and error".

I had my files from http://ftp://ftp.nluug.nl/pub/os/Linux/distr/smeserver/releases/7/smeos/i386/CentOS/RPMS but I can't imagine that should be the problem.

After you reinstalled the rpm's, do a
Code: [Select]
yum update Then check if there is a new yum.conf in your /etc directory. If that is OK, you have to make the repositories active and visible.
Rien
(The Netherlands)......