Yum update fails
Yum update fails
Hi Peepz,
I reinstalled a dell r200 with a new hdd and CentOS 6.4 32bits.
After installing the machine i run a yum update and this fail again and again.
I tried already yum clean all and yum clean metadata but this doens't work.
[quote][root@s1 ~]# yum update -y
Loaded plugins: fastestmirror
Determining fastest mirrors
* base: mirror.muntinternet.net
* extras: mirror.1000mbps.com
* updates: mirror.muntinternet.net
base | 3.7 kB 00:00
base/primary_db | 3.4 MB 00:00
http://mirror.muntinternet.net/pub/centos/6.4/os/i386/repodata/243fdef956d09cb6d022e894e40d145f497bcf3d6d2bed79814e1c88452b9d29-primary.sqlite.bz2: [Errno -1] Metadata file does not match checksum
Trying other mirror.
http://mirror.prolocation.net/centos/6.4/os/i386/repodata/243fdef956d09cb6d022e894e40d145f497bcf3d6d2bed79814e1c88452b9d29-primary.sqlite.bz2: [Errno 14] PYCURL ERROR 22 - "The requested URL returned error: 416 Requested Range Not Satisfiable"
Trying other mirror.
http://centos.mirror1.spango.com/6.4/os/i386/repodata/243fdef956d09cb6d022e894e40d145f497bcf3d6d2bed79814e1c88452b9d29-primary.sqlite.bz2: [Errno 14] PYCURL ERROR 22 - "The requested URL returned error: 416 Requested Range Not Satisfiable"
Trying other mirror.
http://ftp.nluug.nl/ftp/pub/os/Linux/distr/CentOS/6.4/os/i386/repodata/243fdef956d09cb6d022e894e40d145f497bcf3d6d2bed79814e1c88452b9d29-primary.sqlite.bz2: [Errno 14] PYCURL ERROR 22 - "The requested URL returned error: 416 Requested Range Not Satisfiable"
Trying other mirror.
http://mirrors.supportex.net/centos/6.4/os/i386/repodata/243fdef956d09cb6d022e894e40d145f497bcf3d6d2bed79814e1c88452b9d29-primary.sqlite.bz2: [Errno 14] PYCURL ERROR 22 - "The requested URL returned error: 416 Requested Range Not Satisfiable"
Trying other mirror.
http://centos.weepeetelecom.nl/6.4/os/i386/repodata/243fdef956d09cb6d022e894e40d145f497bcf3d6d2bed79814e1c88452b9d29-primary.sqlite.bz2: [Errno 14] PYCURL ERROR 22 - "The requested URL returned error: 416 Requested Range Not Satisfiable"
Trying other mirror.
http://mirror.colocenter.nl/pub/centos/6.4/os/i386/repodata/243fdef956d09cb6d022e894e40d145f497bcf3d6d2bed79814e1c88452b9d29-primary.sqlite.bz2: [Errno 14] PYCURL ERROR 22 - "The requested URL returned error: 416 Requested Range Not Satisfiable"
Trying other mirror.
http://archive.cs.uu.nl/mirror/Linux/centos/6.4/os/i386/repodata/243fdef956d09cb6d022e894e40d145f497bcf3d6d2bed79814e1c88452b9d29-primary.sqlite.bz2: [Errno 14] PYCURL ERROR 22 - "The requested URL returned error: 416 Requested Range Not Satisfiable"
Trying other mirror.
http://mirror.i3d.net/pub/centos/6.4/os/i386/repodata/243fdef956d09cb6d022e894e40d145f497bcf3d6d2bed79814e1c88452b9d29-primary.sqlite.bz2: [Errno 14] PYCURL ERROR 22 - "The requested URL returned error: 416 Requested Range Not Satisfiable"
Trying other mirror.
http://mirror.serverbeheren.nl/centos/6.4/os/i386/repodata/243fdef956d09cb6d022e894e40d145f497bcf3d6d2bed79814e1c88452b9d29-primary.sqlite.bz2: [Errno 14] PYCURL ERROR 22 - "The requested URL returned error: 416 Requested Range Not Satisfiable"
Trying other mirror.
base/primary_db | 3.4 MB 00:00
http://mirror.muntinternet.net/pub/centos/6.4/os/i386/repodata/243fdef956d09cb6d022e894e40d145f497bcf3d6d2bed79814e1c88452b9d29-primary.sqlite.bz2: [Errno -1] Metadata file does not match checksum
Trying other mirror.
http://mirror.prolocation.net/centos/6.4/os/i386/repodata/243fdef956d09cb6d022e894e40d145f497bcf3d6d2bed79814e1c88452b9d29-primary.sqlite.bz2: [Errno 14] PYCURL ERROR 22 - "The requested URL returned error: 416 Requested Range Not Satisfiable"
Trying other mirror.
http://centos.mirror1.spango.com/6.4/os/i386/repodata/243fdef956d09cb6d022e894e40d145f497bcf3d6d2bed79814e1c88452b9d29-primary.sqlite.bz2: [Errno 14] PYCURL ERROR 22 - "The requested URL returned error: 416 Requested Range Not Satisfiable"
Trying other mirror.
http://ftp.nluug.nl/ftp/pub/os/Linux/distr/CentOS/6.4/os/i386/repodata/243fdef956d09cb6d022e894e40d145f497bcf3d6d2bed79814e1c88452b9d29-primary.sqlite.bz2: [Errno 14] PYCURL ERROR 22 - "The requested URL returned error: 416 Requested Range Not Satisfiable"
Trying other mirror.
http://mirrors.supportex.net/centos/6.4/os/i386/repodata/243fdef956d09cb6d022e894e40d145f497bcf3d6d2bed79814e1c88452b9d29-primary.sqlite.bz2: [Errno 14] PYCURL ERROR 22 - "The requested URL returned error: 416 Requested Range Not Satisfiable"
Trying other mirror.
http://centos.weepeetelecom.nl/6.4/os/i386/repodata/243fdef956d09cb6d022e894e40d145f497bcf3d6d2bed79814e1c88452b9d29-primary.sqlite.bz2: [Errno 14] PYCURL ERROR 22 - "The requested URL returned error: 416 Requested Range Not Satisfiable"
Trying other mirror.
http://mirror.colocenter.nl/pub/centos/6.4/os/i386/repodata/243fdef956d09cb6d022e894e40d145f497bcf3d6d2bed79814e1c88452b9d29-primary.sqlite.bz2: [Errno 14] PYCURL ERROR 22 - "The requested URL returned error: 416 Requested Range Not Satisfiable"
Trying other mirror.
http://archive.cs.uu.nl/mirror/Linux/centos/6.4/os/i386/repodata/243fdef956d09cb6d022e894e40d145f497bcf3d6d2bed79814e1c88452b9d29-primary.sqlite.bz2: [Errno 14] PYCURL ERROR 22 - "The requested URL returned error: 416 Requested Range Not Satisfiable"
Trying other mirror.
http://mirror.i3d.net/pub/centos/6.4/os/i386/repodata/243fdef956d09cb6d022e894e40d145f497bcf3d6d2bed79814e1c88452b9d29-primary.sqlite.bz2: [Errno 14] PYCURL ERROR 22 - "The requested URL returned error: 416 Requested Range Not Satisfiable"
Trying other mirror.
http://mirror.serverbeheren.nl/centos/6.4/os/i386/repodata/243fdef956d09cb6d022e894e40d145f497bcf3d6d2bed79814e1c88452b9d29-primary.sqlite.bz2: [Errno 14] PYCURL ERROR 22 - "The requested URL returned error: 416 Requested Range Not Satisfiable"
Trying other mirror.
Error: failure: repodata/243fdef956d09cb6d022e894e40d145f497bcf3d6d2bed79814e1c88452b9d29-primary.sqlite.bz2 from base: [Errno 256] No more mirrors to try.[/quote]
A reinstall of the machine with another dvd of centos 6.4 gives the same resolute.
I hope someone can help to solved this problem.
Thanks a lot for your feedback.
I reinstalled a dell r200 with a new hdd and CentOS 6.4 32bits.
After installing the machine i run a yum update and this fail again and again.
I tried already yum clean all and yum clean metadata but this doens't work.
[quote][root@s1 ~]# yum update -y
Loaded plugins: fastestmirror
Determining fastest mirrors
* base: mirror.muntinternet.net
* extras: mirror.1000mbps.com
* updates: mirror.muntinternet.net
base | 3.7 kB 00:00
base/primary_db | 3.4 MB 00:00
http://mirror.muntinternet.net/pub/centos/6.4/os/i386/repodata/243fdef956d09cb6d022e894e40d145f497bcf3d6d2bed79814e1c88452b9d29-primary.sqlite.bz2: [Errno -1] Metadata file does not match checksum
Trying other mirror.
http://mirror.prolocation.net/centos/6.4/os/i386/repodata/243fdef956d09cb6d022e894e40d145f497bcf3d6d2bed79814e1c88452b9d29-primary.sqlite.bz2: [Errno 14] PYCURL ERROR 22 - "The requested URL returned error: 416 Requested Range Not Satisfiable"
Trying other mirror.
http://centos.mirror1.spango.com/6.4/os/i386/repodata/243fdef956d09cb6d022e894e40d145f497bcf3d6d2bed79814e1c88452b9d29-primary.sqlite.bz2: [Errno 14] PYCURL ERROR 22 - "The requested URL returned error: 416 Requested Range Not Satisfiable"
Trying other mirror.
http://ftp.nluug.nl/ftp/pub/os/Linux/distr/CentOS/6.4/os/i386/repodata/243fdef956d09cb6d022e894e40d145f497bcf3d6d2bed79814e1c88452b9d29-primary.sqlite.bz2: [Errno 14] PYCURL ERROR 22 - "The requested URL returned error: 416 Requested Range Not Satisfiable"
Trying other mirror.
http://mirrors.supportex.net/centos/6.4/os/i386/repodata/243fdef956d09cb6d022e894e40d145f497bcf3d6d2bed79814e1c88452b9d29-primary.sqlite.bz2: [Errno 14] PYCURL ERROR 22 - "The requested URL returned error: 416 Requested Range Not Satisfiable"
Trying other mirror.
http://centos.weepeetelecom.nl/6.4/os/i386/repodata/243fdef956d09cb6d022e894e40d145f497bcf3d6d2bed79814e1c88452b9d29-primary.sqlite.bz2: [Errno 14] PYCURL ERROR 22 - "The requested URL returned error: 416 Requested Range Not Satisfiable"
Trying other mirror.
http://mirror.colocenter.nl/pub/centos/6.4/os/i386/repodata/243fdef956d09cb6d022e894e40d145f497bcf3d6d2bed79814e1c88452b9d29-primary.sqlite.bz2: [Errno 14] PYCURL ERROR 22 - "The requested URL returned error: 416 Requested Range Not Satisfiable"
Trying other mirror.
http://archive.cs.uu.nl/mirror/Linux/centos/6.4/os/i386/repodata/243fdef956d09cb6d022e894e40d145f497bcf3d6d2bed79814e1c88452b9d29-primary.sqlite.bz2: [Errno 14] PYCURL ERROR 22 - "The requested URL returned error: 416 Requested Range Not Satisfiable"
Trying other mirror.
http://mirror.i3d.net/pub/centos/6.4/os/i386/repodata/243fdef956d09cb6d022e894e40d145f497bcf3d6d2bed79814e1c88452b9d29-primary.sqlite.bz2: [Errno 14] PYCURL ERROR 22 - "The requested URL returned error: 416 Requested Range Not Satisfiable"
Trying other mirror.
http://mirror.serverbeheren.nl/centos/6.4/os/i386/repodata/243fdef956d09cb6d022e894e40d145f497bcf3d6d2bed79814e1c88452b9d29-primary.sqlite.bz2: [Errno 14] PYCURL ERROR 22 - "The requested URL returned error: 416 Requested Range Not Satisfiable"
Trying other mirror.
base/primary_db | 3.4 MB 00:00
http://mirror.muntinternet.net/pub/centos/6.4/os/i386/repodata/243fdef956d09cb6d022e894e40d145f497bcf3d6d2bed79814e1c88452b9d29-primary.sqlite.bz2: [Errno -1] Metadata file does not match checksum
Trying other mirror.
http://mirror.prolocation.net/centos/6.4/os/i386/repodata/243fdef956d09cb6d022e894e40d145f497bcf3d6d2bed79814e1c88452b9d29-primary.sqlite.bz2: [Errno 14] PYCURL ERROR 22 - "The requested URL returned error: 416 Requested Range Not Satisfiable"
Trying other mirror.
http://centos.mirror1.spango.com/6.4/os/i386/repodata/243fdef956d09cb6d022e894e40d145f497bcf3d6d2bed79814e1c88452b9d29-primary.sqlite.bz2: [Errno 14] PYCURL ERROR 22 - "The requested URL returned error: 416 Requested Range Not Satisfiable"
Trying other mirror.
http://ftp.nluug.nl/ftp/pub/os/Linux/distr/CentOS/6.4/os/i386/repodata/243fdef956d09cb6d022e894e40d145f497bcf3d6d2bed79814e1c88452b9d29-primary.sqlite.bz2: [Errno 14] PYCURL ERROR 22 - "The requested URL returned error: 416 Requested Range Not Satisfiable"
Trying other mirror.
http://mirrors.supportex.net/centos/6.4/os/i386/repodata/243fdef956d09cb6d022e894e40d145f497bcf3d6d2bed79814e1c88452b9d29-primary.sqlite.bz2: [Errno 14] PYCURL ERROR 22 - "The requested URL returned error: 416 Requested Range Not Satisfiable"
Trying other mirror.
http://centos.weepeetelecom.nl/6.4/os/i386/repodata/243fdef956d09cb6d022e894e40d145f497bcf3d6d2bed79814e1c88452b9d29-primary.sqlite.bz2: [Errno 14] PYCURL ERROR 22 - "The requested URL returned error: 416 Requested Range Not Satisfiable"
Trying other mirror.
http://mirror.colocenter.nl/pub/centos/6.4/os/i386/repodata/243fdef956d09cb6d022e894e40d145f497bcf3d6d2bed79814e1c88452b9d29-primary.sqlite.bz2: [Errno 14] PYCURL ERROR 22 - "The requested URL returned error: 416 Requested Range Not Satisfiable"
Trying other mirror.
http://archive.cs.uu.nl/mirror/Linux/centos/6.4/os/i386/repodata/243fdef956d09cb6d022e894e40d145f497bcf3d6d2bed79814e1c88452b9d29-primary.sqlite.bz2: [Errno 14] PYCURL ERROR 22 - "The requested URL returned error: 416 Requested Range Not Satisfiable"
Trying other mirror.
http://mirror.i3d.net/pub/centos/6.4/os/i386/repodata/243fdef956d09cb6d022e894e40d145f497bcf3d6d2bed79814e1c88452b9d29-primary.sqlite.bz2: [Errno 14] PYCURL ERROR 22 - "The requested URL returned error: 416 Requested Range Not Satisfiable"
Trying other mirror.
http://mirror.serverbeheren.nl/centos/6.4/os/i386/repodata/243fdef956d09cb6d022e894e40d145f497bcf3d6d2bed79814e1c88452b9d29-primary.sqlite.bz2: [Errno 14] PYCURL ERROR 22 - "The requested URL returned error: 416 Requested Range Not Satisfiable"
Trying other mirror.
Error: failure: repodata/243fdef956d09cb6d022e894e40d145f497bcf3d6d2bed79814e1c88452b9d29-primary.sqlite.bz2 from base: [Errno 256] No more mirrors to try.[/quote]
A reinstall of the machine with another dvd of centos 6.4 gives the same resolute.
I hope someone can help to solved this problem.
Thanks a lot for your feedback.
-
- Posts: 36
- Joined: 2012/12/12 18:06:19
- Location: India
- Contact:
Re: Yum update fails
It seems internet connection issue. Check your network if you are behind the proxy. If it is proxy then you have to set proxy ip and user/password in yum.conf .
Re: Yum update fails
I don't use a proxy server, so that not the problem at all.
The server is directly connected to switch in the datacenter.
The server is directly connected to switch in the datacenter.
-
- Posts: 10642
- Joined: 2005/08/05 15:19:54
- Location: Northern Illinois, USA
Yum update fails
I would suspect a misconfigured router.
-
- Posts: 36
- Joined: 2012/12/12 18:06:19
- Location: India
- Contact:
Re: Yum update fails
contact to your datacenter support that why the server do not have internet connectivity. Get sure with internet connectivity before raise the ticket. ping any domain name like ping google.com or try curl command. If your server is in DMZ zone in datacenter this is also reason it do not have internet. Let us know your feedback
check your /etc/resolv.conf for nameserver. check ipaddress and gateway settings also. It must be correct info as per given by datacenter.
check your /etc/resolv.conf for nameserver. check ipaddress and gateway settings also. It must be correct info as per given by datacenter.
Re: Yum update fails
That looks awfully like the error you get from a proxy that has cached incomplete metadata. I'd suggest that you try adding
[code]
http_caching=packages
[/code]
to your yum.conf and then try `yum clean all` and retry.
Just because you don't think there is a proxy in the way doesn't mean there isn't.
[code]
http_caching=packages
[/code]
to your yum.conf and then try `yum clean all` and retry.
Just because you don't think there is a proxy in the way doesn't mean there isn't.
Re: Yum update fails
Once this helped me.TrevorH wrote:That looks awfully like the error you get from a proxy that has cached incomplete metadata. I'd suggest that you try adding
to your yum.conf and then try `yum clean all` and retry.Code: Select all
http_caching=packages
Just because you don't think there is a proxy in the way doesn't mean there isn't.
Today i've got the same problem again. (Hyper-V instance of Centos 6.4 x86_64 with 2 virtual netcards - for int and ext networks)
Reason was found in wrong routes.
So, type
Code: Select all
route -n
if your system has more than 1 network interface, check default gw.