yum command problem

In my vps,whatever I want to yum install,it shows error.

for example:

yum install screen

> ……

Total download size: 549 k

Is this ok [y/N]: y

Downloading Packages:

http://mirrors.kernel.org/centos/5.3/ad … 1.el5.i386">http://mirrors.kernel.org/centos/5.3/addons/i386/CentOS/screen-4.0.3-1.el5.i386. rpm: [Errno 14] HTTP Error 404: Not Found

Trying other mirror.

http://mirror.facebook.net/centos/5.3/a … 1.el5.i386">http://mirror.facebook.net/centos/5.3/addons/i386/CentOS/screen-4.0.3-1.el5.i386 .rpm: [Errno 14] HTTP Error 404: Not Found

Trying other mirror.

http://mirror.5ninesolutions.com/centos … 4.0.3-1.el">http://mirror.5ninesolutions.com/centos/5.3/addons/i386/CentOS/screen-4.0.3-1.el 5.i386.rpm: [Errno 14] HTTP Error 404: Not Found

Trying other mirror.

http://mirrors.easynews.com//linux/cent … en-4.0.3-1">http://mirrors.easynews.com//linux/centos/5.3/addons/i386/CentOS/screen-4.0.3-1. el5.i386.rpm: [Errno 14] HTTP Error 404: Not Found

Trying other mirror.

screen-4.0.3-1.el5.i386.rpm | 1.1 kB 00:00

http://www.cyberuse.com/centos/5.3/addo … l5.i386.rp">http://www.cyberuse.com/centos/5.3/addons/i386/CentOS/screen-4.0.3-1.el5.i386.rp m: [Errno -1] Package does not match intended download

Trying other mirror.

http://mirrors.gigenet.com/centos/5.3/a … 1.el5.i386">http://mirrors.gigenet.com/centos/5.3/addons/i386/CentOS/screen-4.0.3-1.el5.i386 .rpm: [Errno 14] HTTP Error 404: Not Found

Trying other mirror.

http://mirror.newnanutilities.org/pub/c … reen-4.0.3">http://mirror.newnanutilities.org/pub/centos/5.3/addons/i386/CentOS/screen-4.0.3 -1.el5.i386.rpm: [Errno 14] HTTP Error 404: Not Found

Trying other mirror.

http://mirror.atlanticmetro.net/centos/ … .0.3-1.el5">http://mirror.atlanticmetro.net/centos/5.3/addons/i386/CentOS/screen-4.0.3-1.el5 .i386.rpm: [Errno 14] HTTP Error 404: Not Found

Trying other mirror.

screen-4.0.3-1.el5.i386.rpm | 4.1 kB 00:00

http://centos.secsup.org/5.3/addons/i38 … 5.i386.rpm">http://centos.secsup.org/5.3/addons/i386/CentOS/screen-4.0.3-1.el5.i386.rpm: [Errno -1] Package does not match intended download

Trying other mirror.

ftp://mirror.nyi.net/centos/5.3/addons/ … 5.i386.rpm">ftp://mirror.nyi.net/centos/5.3/addons/i386/CentOS/screen-4.0.3-1.el5.i386.rpm: [Errno 4] IOError: [Errno ftp error] 550 Can't change directory to CentOS: No such file or directory

Trying other mirror.

Error Downloading Packages:

screen-4.0.3-1.el5.i386: failure: CentOS/screen-4.0.3-1.el5.i386.rpm from addons: [Errno 256] No more mirrors to try.

I think the reason is that I have installed cenots 5.3.

Now,I change to centos 5.2, it works well.

But how to fix it in cenots 5.3 ?

1 Reply

yum clean all

everything works well now.

Reply

Please enter an answer
Tips:

You can mention users to notify them: @username

You can use Markdown to format your question. For more examples see the Markdown Cheatsheet.

> I’m a blockquote.

I’m a blockquote.

[I'm a link] (https://www.google.com)

I'm a link

**I am bold** I am bold

*I am italicized* I am italicized

Community Code of Conduct