Hi guys,
i know for sure this is not the best place where to ask but im sure here ill get more useful hint compared on what ive found using google.
One of my server on yum update report this:
Dependencies Resolved
================================================================================================================================================================================================================================================ Package Arch Version Repository Size ================================================================================================================================================================================================================================================ Installing: kernel x86_64 2.6.18-308.4.1.el5 updates 21 M Removing: kernel x86_64 2.6.18-274.7.1.el5 installed 96 M
Transaction Summary ================================================================================================================================================================================================================================================ Install 1 Package(s) Upgrade 0 Package(s) Remove 1 Package(s) Reinstall 0 Package(s) Downgrade 0 Package(s)
Total download size: 21 M Is this ok [y/N]: y Downloading Packages: kernel-2.6.18-308.4.1.el5.x86_64.rpm | 292 B 00:00 http://mirror.crazynetwork.it/centos/5.8/updates/x86_64/RPMS/kernel-2.6.18-3...: [Errno -1] Package does not match intended download Trying other mirror. kernel-2.6.18-308.4.1.el5.x86_64.rpm | 284 B 00:00 http://centos.psw.net/centos/5.8/updates/x86_64/RPMS/kernel-2.6.18-308.4.1.e...: [Errno -1] Package does not match intended download Trying other mirror. ftp://mirror.fraunhofer.de/centos.org/5.8/updates/x86_64/RPMS/kernel-2.6.18-308.4.1.el5.x86_64.rpm: [Errno 4] IOError: [Errno ftp error] [Errno ftp error] 502 Command REST not allowed by policy. Trying other mirror. kernel-2.6.18-308.4.1.el5.x86_64.rpm | 293 B 00:00 http://centos.kiewel-online.ch/centos/5.8/updates/x86_64/RPMS/kernel-2.6.18-...: [Errno -1] Package does not match intended download Trying other mirror. kernel-2.6.18-308.4.1.el5.x86_64.rpm | 302 B 00:00 http://mirrors.atosworldline.com/public/centos/5.8/updates/x86_64/RPMS/kerne...: [Errno -1] Package does not match intended download Trying other mirror. kernel-2.6.18-308.4.1.el5.x86_64.rpm | 292 B 00:00 http://ftp.ciril.fr/pub/linux/centos/5.8/updates/x86_64/RPMS/kernel-2.6.18-3...: [Errno -1] Package does not match intended download Trying other mirror. kernel-2.6.18-308.4.1.el5.x86_64.rpm | 284 B 00:00 http://centos.digitalnova.at/5.8/updates/x86_64/RPMS/kernel-2.6.18-308.4.1.e...: [Errno -1] Package does not match intended download Trying other mirror. kernel-2.6.18-308.4.1.el5.x86_64.rpm | 288 B 00:00 http://mirrors.paknet.org/CentOS/5.8/updates/x86_64/RPMS/kernel-2.6.18-308.4...: [Errno -1] Package does not match intended download Trying other mirror. kernel-2.6.18-308.4.1.el5.x86_64.rpm | 289 B 00:00 http://centosq3.centos.org/centos/5.8/updates/x86_64/RPMS/kernel-2.6.18-308....: [Errno -1] Package does not match intended download Trying other mirror. kernel-2.6.18-308.4.1.el5.x86_64.rpm | 289 B 00:00 http://centosh2.centos.org/centos/5.8/updates/x86_64/RPMS/kernel-2.6.18-308....: [Errno -1] Package does not match intended download Trying other mirror.
Error Downloading Packages: kernel-2.6.18-308.4.1.el5.x86_64: failure: RPMS/kernel-2.6.18-308.4.1.el5.x86_64.rpm from updates: [Errno 256] No more mirrors to try.
Ive found online some replies with some tests including: disable fastmirror, disable mirrorlist on centos repo and enable baseurl, clean all but none of those helped me on resolve this issue.
Is a CentOS 5.8 64Bit Server and is the only one that is facing this problem (other 5 server updated kernel without any issue on same OS).
If i maually download the file and run rpm here is the result:
wget
http://mirror.crazynetwork.it/centos/5.8/updates/x86_64/RPMS/kernel-2.6.18-3... --2012-04-18 10:28:34-- http://mirror.crazynetwork.it/centos/5.8/updates/x86_64/RPMS/kernel-2.6.18-3... Resolving mirror.crazynetwork.it... 93.63.209.92 Connecting to mirror.crazynetwork.it|93.63.209.92|:80... connected. HTTP request sent, awaiting response... 200 OK Length: 292 [text/html] Saving to: `kernel-2.6.18-308.4.1.el5.x86_64.rpm.1'
100%[======================================================================================================================================================================================================>] 292 --.-K/s in 0s
2012-04-18 10:28:34 (39.8 MB/s) - `kernel-2.6.18-308.4.1.el5.x86_64.rpm.1' saved [292/292]
rpm -i kernel-2.6.18-308.4.1.el5.x86_64.rpm
error: skipping http://mirrors.atosworldline.com/public/centos/5.8/updates/x86_64/RPMS/kerne...</p> - transfer failed - Unknown or unexpected error warning: u 0x1ca57cb0 ctrl 0x1ca5a740 nrefs != 0 (mirrors.atosworldline.com http)
Can anyone help me with this?
Thanks in advance and sorry for this totally not-related post.
Best regards
Supporto Tecnico - Crazy Network kirjoitti:
wget
http://mirror.crazynetwork.it/centos/5.8/updates/x86_64/RPMS/kernel-2.6.18-3... Length: 292 [text/html] Saving to: `kernel-2.6.18-308.4.1.el5.x86_64.rpm.1'
Notice the size of the file. The RPM should be a bit bigger..
Your mirror appears to be fine at this moment, perhaps it was synced again to fix any issues. I'm fairly sure if you do a 'yum clean all' and 'yum update', the update will go through just fine.
Thanks for your reply.
The mirror is working fine i know cause the other servers updated just fine and if i manually download the file from another server (from my same own mirror) the file is 21MB
The strange part is that the server cant download the file with correct size from any mirror, so, i suppose is "this server" related and not mirror related.
Ive just tryed again with yum clean all && yum update but with same result.
Any other hint?
Thanks
Il 18/04/2012 10:51, Anssi Johansson ha scritto:
Supporto Tecnico - Crazy Network kirjoitti:
wget
http://mirror.crazynetwork.it/centos/5.8/updates/x86_64/RPMS/kernel-2.6.18-3... Length: 292 [text/html] Saving to: `kernel-2.6.18-308.4.1.el5.x86_64.rpm.1'
Notice the size of the file. The RPM should be a bit bigger..
Your mirror appears to be fine at this moment, perhaps it was synced again to fix any issues. I'm fairly sure if you do a 'yum clean all' and 'yum update', the update will go through just fine. _______________________________________________ CentOS-mirror mailing list CentOS-mirror@centos.org http://lists.centos.org/mailman/listinfo/centos-mirror
Do a wget http://mirror.crazynetwork.it/centos/5.8/updates/x86_64/RPMS/kernel-2.6.18-3... and examine what's in the downloaded file (also notice the filename the file is saved as; the last time you used wget the file was saved with a .1 suffix). The file might be HTML instead of a RPM package. You'd better discuss with your colleagues there to try to come up with a solution to this problem, this doesn't seem like a CentOS mirror problem any more.
Supporto Tecnico - Crazy Network kirjoitti:
Thanks for your reply.
The mirror is working fine i know cause the other servers updated just fine and if i manually download the file from another server (from my same own mirror) the file is 21MB
The strange part is that the server cant download the file with correct size from any mirror, so, i suppose is "this server" related and not mirror related.
Ive just tryed again with yum clean all && yum update but with same result.
Any other hint?
Thanks
Il 18/04/2012 10:51, Anssi Johansson ha scritto:
Supporto Tecnico - Crazy Network kirjoitti:
wget
http://mirror.crazynetwork.it/centos/5.8/updates/x86_64/RPMS/kernel-2.6.18-3... Length: 292 [text/html] Saving to: `kernel-2.6.18-308.4.1.el5.x86_64.rpm.1'
Notice the size of the file. The RPM should be a bit bigger..
Your mirror appears to be fine at this moment, perhaps it was synced again to fix any issues. I'm fairly sure if you do a 'yum clean all' and 'yum update', the update will go through just fine. _______________________________________________ CentOS-mirror mailing list CentOS-mirror@centos.org http://lists.centos.org/mailman/listinfo/centos-mirror
Well i knew wasnt a mirror problem cause as i wrote updates went just fine on other boxes.
The .1 is cause was a second test, but nice you menthioned an HTML file, that's pointed me to the right direction, a firewall issue ;)
Thanks for your support
Regards
Il 18/04/2012 11:11, Anssi Johansson ha scritto:
Do a wget http://mirror.crazynetwork.it/centos/5.8/updates/x86_64/RPMS/kernel-2.6.18-3... and examine what's in the downloaded file (also notice the filename the file is saved as; the last time you used wget the file was saved with a .1 suffix). The file might be HTML instead of a RPM package. You'd better discuss with your colleagues there to try to come up with a solution to this problem, this doesn't seem like a CentOS mirror problem any more.
Supporto Tecnico - Crazy Network kirjoitti:
Thanks for your reply.
The mirror is working fine i know cause the other servers updated just fine and if i manually download the file from another server (from my same own mirror) the file is 21MB
The strange part is that the server cant download the file with correct size from any mirror, so, i suppose is "this server" related and not mirror related.
Ive just tryed again with yum clean all&& yum update but with same result.
Any other hint?
Thanks
Il 18/04/2012 10:51, Anssi Johansson ha scritto:
Supporto Tecnico - Crazy Network kirjoitti:
wget
http://mirror.crazynetwork.it/centos/5.8/updates/x86_64/RPMS/kernel-2.6.18-3... Length: 292 [text/html] Saving to: `kernel-2.6.18-308.4.1.el5.x86_64.rpm.1'
Notice the size of the file. The RPM should be a bit bigger..
Your mirror appears to be fine at this moment, perhaps it was synced again to fix any issues. I'm fairly sure if you do a 'yum clean all' and 'yum update', the update will go through just fine. _______________________________________________ CentOS-mirror mailing list CentOS-mirror@centos.org http://lists.centos.org/mailman/listinfo/centos-mirror
CentOS-mirror mailing list CentOS-mirror@centos.org http://lists.centos.org/mailman/listinfo/centos-mirror