On 08/30/2013 12:15 PM, Emyr James wrote:
Hi,
I just did a new install of SL6.4. Yum update is failing with the following...
# yum update
Loaded plugins: security
sl | 3.7 kB 00:00
sl-security | 3.0 kB 00:00
sl-security/primary_db | 3.3 MB 00:00
http://ftp.scientificlinux.org/linux/scientific/6.4/x86_64/updates/security/repodata/primary.sqlite.bz2:
[Errno -1] Metadata file does not match checksum
Trying other mirror.
sl-security/primary_db | 3.8 MB 00:00
http://ftp1.scientificlinux.org/linux/scientific/6.4/x86_64/updates/security/repodata/primary.sqlite.bz2:
[Errno -1] Metadata file does not match checksum
etc.
I did the usual trick of yum clean metadata / yum clean all and it made no
difference.
I uncommented the mirrorlist in /etc/yum.repos.d/sl.repo and tried again. It
goes through all of them....here are some highlights...
Trying other mirror.
http://mirror.aarnet.edu.au/pub/scientific/6.4/x86_64/updates/security/repodata/primary.sqlite.bz2:
[Errno 14] PYCURL ERROR 22 - "The requested URL returned error: 416 Unknown"
Trying other mirror.
ftp://mirror.aarnet.edu.au/pub/scientific/6.4/x86_64/updates/security/repodata/primary.sqlite.bz2:
[Errno 14] PYCURL ERROR 36 - "Offset (8016072) was beyond file size (4008036)"
Trying other mirror.
http://ftp.halifax.rwth-aachen.de/scientificlinux/6.4/x86_64/updates/security/repodata/primary.sqlite.bz2:
[Errno 14] PYCURL ERROR 22 - "The requested URL returned error: 416 Unknown"
Trying other mirror.
ftp://ftp.halifax.rwth-aachen.de/scientificlinux/6.4/x86_64/updates/security/repodata/primary.sqlite.bz2:
[Errno 14] PYCURL ERROR 36 - "Offset (8016072) was beyond file size (4008036)"
Trying other mirror.
http://gd.tuwien.ac.at/opsys/linux/scientific/6.4/x86_64/updates/security/repodata/primary.sqlite.bz2:
[Errno 14] PYCURL ERROR 22 - "The requested URL returned error: 416 Unknown"
Trying other mirror.
ftp://gd.tuwien.ac.at/opsys/linux/scientific/6.4/x86_64/updates/security/repodata/primary.sqlite.bz2:
[Errno 14] PYCURL ERROR 36 - "Offset (8016072) was beyond file size (4008036)"
Trying other mirror.
http://mirror.cpsc.ucalgary.ca/mirror/scientificlinux.org/6.4/x86_64/updates/security/repodata/primary.sqlite.bz2:
[Errno 14] PYCURL ERROR 22 - "The requested URL returned error: 416 Unknown"
Trying other mirror.
ftp://mirror.cpsc.ucalgary.ca/mirror/scientificlinux.org/6.4/x86_64/updates/security/repodata/primary.sqlite.bz2:
[Errno 14] PYCURL ERROR 36 - "Offset (8016072) was beyond file size (4008036)"
It went through the whole list and failed on them all.
The only way to get yum to work is to disable the sl-security repo. I take
it there is a problem with primary.sqlite.bz2 for this repo ?
If not...how can I fix this problem ?
Cheers,
Emyr
Hello Emyr,
That is very surprising!
I just ran 'yum clean all; yum makecache' on my SL 6.4 x86_64 box with no
issues:
Loaded plugins: fastestmirror, protectbase, refresh-packagekit, security
Determining fastest mirrors
* sl6x: ftp2.scientificlinux.org
* sl6x-fastbugs: ftp2.scientificlinux.org
* sl6x-security: ftp2.scientificlinux.org
sl6 | 3.7 kB 00:00
sl6/group_gz | 212 kB 00:00
sl6/filelists_db | 5.1 MB 00:00
sl6/primary_db | 4.2 MB 00:00
sl6/other_db | 1.9 MB 00:00
sl6-fastbugs | 3.0 kB 00:00
sl6-fastbugs/filelists_db | 535 kB 00:00
sl6-fastbugs/primary_db | 450 kB 00:00
sl6-fastbugs/other_db | 649 kB 00:00
sl6-security | 3.0 kB 00:00
sl6-security/filelists_db | 2.8 MB 00:00
sl6-security/primary_db | 3.8 MB 00:00
sl6-security/other_db | 420 kB 00:00
sl6x | 3.7 kB 00:00
sl6x/group_gz | 212 kB 00:00
sl6x/filelists_db | 5.1 MB 00:00
sl6x/primary_db | 4.2 MB 00:00
sl6x/other_db | 1.9 MB 00:00
sl6x-fastbugs | 3.0 kB 00:00
sl6x-fastbugs/filelists_db | 535 kB 00:00
sl6x-fastbugs/primary_db | 450 kB 00:00
sl6x-fastbugs/other_db | 649 kB 00:00
sl6x-security | 3.0 kB 00:00
sl6x-security/filelists_db | 2.8 MB 00:00
sl6x-security/primary_db | 3.8 MB 00:00
sl6x-security/other_db | 420 kB 00:00
Metadata Cache Created
Do you have a proxy server between you and the internet? How about
/var/cache/yum/ is there a bunch of space there?
Pat
--
Pat Riehecky
Scientific Linux developer
http://www.scientificlinux.org/