Koozali.org: home of the SME Server

Yum Update error

Offline jameswilson

  • *
  • 795
  • +0/-0
    • Security Warehouse, professional security equipment
Yum Update error
« on: September 13, 2015, 06:09:53 PM »
Hi all
have
Quote
[root@backup-big-vm ~]# yum update
Loaded plugins: fastestmirror, protect-packages, smeserver
Loading mirror speeds from cached hostfile
 * base: mirror.econdc.com
 * smeaddons: mirror.canada.pialasse.com
 * smeextras: mirror.canada.pialasse.com
 * smeos: mirror.canada.pialasse.com
 * smeupdates: mirror.canada.pialasse.com
 * updates: mirrors.clouvider.net
base/primary                                             | 2.5 kB     00:00
http://mirror.econdc.com/centos/5.11/os/x86_64/repodata/primary.xml.gz: [Errno -1] Metadata file does not match checksum
Trying other mirror.
base/primary                                             | 2.5 kB     00:00
http://mirror.synergyworks.co.uk/centos/5.11/os/x86_64/repodata/primary.xml.gz: [Errno -1] Metadata file does not match checksum
Trying other mirror.
base/primary                                             | 2.5 kB     00:00
http://mirror.vorboss.net/centos/5.11/os/x86_64/repodata/primary.xml.gz: [Errno -1] Metadata file does not match checksum
Trying other mirror.
base/primary                                             | 2.5 kB     00:00
http://centos.serverspace.co.uk/centos/5.11/os/x86_64/repodata/primary.xml.gz: [Errno -1] Metadata file does not match checksum
Trying other mirror.
base/primary                                             | 2.5 kB     00:00
http://mirror.bytemark.co.uk/centos/5.11/os/x86_64/repodata/primary.xml.gz: [Errno -1] Metadata file does not match checksum
Trying other mirror.
base/primary                                             | 2.5 kB     00:00
http://www.mirrorservice.org/sites/mirror.centos.org/5.11/os/x86_64/repodata/primary.xml.gz: [Errno -1] Metadata file does not match checksum
Trying other mirror.
base/primary                                             | 2.5 kB     00:00
http://mirror.ukhost4u.com/centos/5.11/os/x86_64/repodata/primary.xml.gz: [Errno -1] Metadata file does not match checksum
Trying other mirror.
base/primary                                             | 2.5 kB     00:00
http://repo.bigstepcloud.com/centos/5.11/os/x86_64/repodata/primary.xml.gz: [Errno -1] Metadata file does not match checksum
Trying other mirror.
base/primary                                             | 2.5 kB     00:00
http://mirror.cov.ukservers.com/centos/5.11/os/x86_64/repodata/primary.xml.gz: [Errno -1] Metadata file does not match checksum
Trying other mirror.
base/primary                                             | 2.5 kB     00:00
http://centos.mirroring.pulsant.co.uk/5.11/os/x86_64/repodata/primary.xml.gz: [Errno -1] Metadata file does not match checksum
Trying other mirror.
Error: failure: repodata/primary.xml.gz from base: [Errno 256] No more mirrors to try.

have tried yum clean all to no avail

Thanks

Offline janet

  • *****
  • 4,812
  • +0/-0
Re: Yum Update error
« Reply #1 on: September 13, 2015, 07:02:37 PM »
jameswilson

From the FAQ, try
yum clean metadata
yum clean all --enablerepo=*
then
yum update
Please search before asking, an answer may already exist.
The Search & other links to useful information are at top of Forum.

Offline CharlieBrady

  • *
  • 6,918
  • +3/-0
Re: Yum Update error
« Reply #2 on: September 14, 2015, 12:35:05 AM »
From the FAQ, try
yum clean metadata
yum clean all --enablerepo=*
then
yum update

What's the point of the "clean metadata" if you follow with "clean all"?

Offline Stefano

  • *
  • 10,894
  • +3/-0
Re: Yum Update error
« Reply #3 on: September 14, 2015, 09:03:13 AM »
@jameswilson: do you have any proxy in front of your SME?

http://wiki.contribs.org/SME_Server:Documentation:FAQ:Section01#General

Offline jameswilson

  • *
  • 795
  • +0/-0
    • Security Warehouse, professional security equipment
Re: Yum Update error
« Reply #4 on: September 14, 2015, 08:23:35 PM »
@jameswilson: do you have any proxy in front of your SME?

http://wiki.contribs.org/SME_Server:Documentation:FAQ:Section01#General
Yes another sme server, this is a backup machine using Affa backing up the main server

Offline jameswilson

  • *
  • 795
  • +0/-0
    • Security Warehouse, professional security equipment
Re: Yum Update error
« Reply #5 on: September 14, 2015, 08:24:43 PM »
jameswilson

From the FAQ, try
yum clean metadata
yum clean all --enablerepo=*
then
yum update
I have already tried all that but ty

Offline stephdl

  • *
  • 1,523
  • +0/-0
    • Linux et Geekeries
Re: Yum Update error
« Reply #6 on: September 14, 2015, 10:05:28 PM »
What's the point of the "clean metadata" if you follow with "clean all"?

you are right, it is a documentation bug, it should be splitted and explained, if a wiki jedi wants to correct it, thanks
See http://wiki.contribs.org/Koozali_Foundation
irc : Freenode #sme_server #sme-fr

!!! Please write your knowledge to the Wiki !!!

Offline Stefano

  • *
  • 10,894
  • +3/-0
Re: Yum Update error
« Reply #7 on: September 15, 2015, 07:05:36 AM »
Yes another sme server, this is a backup machine using Affa backing up the main server

did you follow the advices you found in the wiki page I linked?

Offline janet

  • *****
  • 4,812
  • +0/-0
Re: Yum Update error
« Reply #8 on: September 15, 2015, 08:48:59 AM »
jameswilson
Quote
Yes another sme server, this is a backup machine using Affa backing up the main server

As per the FAQ:
To flush the up stream proxies, using wget, run:

wget --cache=off http://apt.sw.be/fedora/3/en/i386/dag/repodata/filelists.xml.gz
wget --cache=off http://apt.sw.be/fedora/3/en/i386/dag/repodata/primary.xml.gz
wget --cache=off http://apt.sw.be/fedora/3/en/i386/dag/repodata/repomd.xml
yum update
Please search before asking, an answer may already exist.
The Search & other links to useful information are at top of Forum.

Offline janet

  • *****
  • 4,812
  • +0/-0
Re: Yum Update error
« Reply #9 on: September 15, 2015, 08:52:07 AM »
CharlieBrady
Quote
What's the point of the "clean metadata" if you follow with "clean all"?
Yes, no point.
The FAQ did include an "or" which was left out of my post
ie the FAQ actually says
yum clean metadata
or
yum clean all --enablerepo=*
then
yum update

so I do not think there is documentation error or bug.
Please search before asking, an answer may already exist.
The Search & other links to useful information are at top of Forum.