Koozali.org: home of the SME Server

Obsolete Releases => SME Server 8.x => Topic started by: jameswilson on September 13, 2015, 06:09:53 PM

Title: Yum Update error
Post by: jameswilson 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
Title: Re: Yum Update error
Post by: janet on September 13, 2015, 07:02:37 PM
jameswilson

From the FAQ, try
yum clean metadata
yum clean all --enablerepo=*
then
yum update
Title: Re: Yum Update error
Post by: CharlieBrady 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"?
Title: Re: Yum Update error
Post by: Stefano 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
Title: Re: Yum Update error
Post by: jameswilson 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
Title: Re: Yum Update error
Post by: jameswilson 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
Title: Re: Yum Update error
Post by: stephdl 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
Title: Re: Yum Update error
Post by: Stefano 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?
Title: Re: Yum Update error
Post by: janet 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
Title: Re: Yum Update error
Post by: janet 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.