HI all !
I can't upgrade my 4.6 server to 4.7.
I have these error messages:
Any help ?
Thanks a lot.
roberto
[root@juzgado ~]# yum clean all Cleaning up Everything 0 headers removed 0 packages removed 15 metadata files removed 0 cache files removed 5 cache files removed [root@juzgado ~]# yum update Setting up Update Process Setting up repositories update 100% |=========================| 951 B 00:00 rpmforge 100% |=========================| 1.1 kB 00:00 base 100% |=========================| 1.1 kB 00:00 addons 100% |=========================| 951 B 00:00 extras 100% |=========================| 1.1 kB 00:00 Reading repository metadata in from local files primary.xml.gz 100% |=========================| 158 kB 00:00 update : ################################################## 511/511 primary.xml.gz 100% |=========================| 4.0 MB 00:28 rpmforge : ################################################## 11191/11191 primary.xml.gz 100% |=========================| 608 kB 00:02 base : ################################################## 1591/1591 primary.xml.gz 100% |=========================| 190 B 00:00 primary.xml.gz 100% |=========================| 38 kB 00:00 extras : ################################################## 172/172 Resolving Dependencies --> Populating transaction set with selected packages. Please wait. ---> Downloading header for crash to pack into transaction set. crash-4.0-5.0.0.1.i386.rp 100% |=========================| 1.4 MB 00:10 http://pubmirrors.reflected.net/centos/4.7/os/i386/CentOS/RPMS/crash-4.0-5.0...: [Errno -1] Header is not complete. Trying other mirror. crash-4.0-5.0.0.1.i386.rp 100% |=========================| 1.4 MB 00:38 http://linux.mirrors.es.net/centos/4.7/os/i386/CentOS/RPMS/crash-4.0-5.0.0.1...: [Errno -1] Header is not complete. Trying other mirror. crash-4.0-5.0.0.1.i386.rp 100% |=========================| 1.4 MB 00:09 http://centos.pop.com.br/4.7/os/i386/CentOS/RPMS/crash-4.0-5.0.0.1.i386.rpm: [Errno -1] Header is not complete. Trying other mirror. crash-4.0-5.0.0.1.i386.rp 100% |=========================| 1.4 MB 00:07 http://centos.mbni.med.umich.edu/mirror/4.7/os/i386/CentOS/RPMS/crash-4.0-5....: [Errno -1] Header is not complete.
Hi,
On Wed, Jul 15, 2009 at 08:52, Roberto Pereyrapereyra.roberto@gmail.com wrote:
I can't upgrade my 4.6 server to 4.7. I have these error messages: Any help ?
Try to run "yum update yum" and "yum update rpm" before running a full "yum update", it might fix the issue...
HTH, Filipe
Thanks a lot for your help, but that not works:
roberto
[root@juzgado ~]# yum update rpm Setting up Update Process Setting up repositories Reading repository metadata in from local files Resolving Dependencies --> Populating transaction set with selected packages. Please wait. ---> Downloading header for rpm to pack into transaction set. rpm-4.3.3-26_nonptl.i386. 100% |=========================| 651 kB 00:12 http://mirrors.greenmountainaccess.net/centos/4.7/os/i386/CentOS/RPMS/rpm-4....: [Errno -1] Header is not complete. Trying other mirror. rpm-4.3.3-26_nonptl.i386. 100% |=========================| 651 kB 00:08 http://mirror.stanford.edu/yum/pub/centos/4.7/os/i386/CentOS/RPMS/rpm-4.3.3-...: [Errno -1] Header is not complete.
On Wed, Jul 15, 2009 at 09:50, Roberto Pereyrapereyra.roberto@gmail.com wrote:
Thanks a lot for your help, but that not works: [root@juzgado ~]# yum update rpm
What about "yum update yum", did you try that one before?
Filipe
2009/7/15 Filipe Brandenburger filbranden@gmail.com:
On Wed, Jul 15, 2009 at 09:50, Roberto Pereyrapereyra.roberto@gmail.com wrote:
Thanks a lot for your help, but that not works: [root@juzgado ~]# yum update rpm
What about "yum update yum", did you try that one before?
Filipe
Yes, not works. I'm using this yum version:
[root@juzgado ~]# yum --version 2.4.3
[root@juzgado ~]# cat /etc/redhat-release CentOS release 4.6 (Final)
roberto
Looks like I can't install any package with yum.
roberto
On Wed, Jul 15, 2009 at 09:55, Roberto Pereyrapereyra.roberto@gmail.com wrote:
Looks like I can't install any package with yum.
Is there a proxy between your machine and the Internet?
See this question in Yum's FAQ: http://wiki.linux.duke.edu/YumFaq#head-49047d5d448aee45946da9394fa57b7041a9d...
Are you able to download these packages using "wget"?
HTH, Filipe
2009/7/15 Filipe Brandenburger filbranden@gmail.com:
On Wed, Jul 15, 2009 at 09:55, Roberto Pereyrapereyra.roberto@gmail.com wrote:
Looks like I can't install any package with yum.
Is there a proxy between your machine and the Internet?
See this question in Yum's FAQ: http://wiki.linux.duke.edu/YumFaq#head-49047d5d448aee45946da9394fa57b7041a9d...
Are you able to download these packages using "wget"?
yes, I not have any proxy and wget works:
[root@juzgado ~]# wget http://mirror.centos-br.org/4.7/os/i386/CentOS/RPMS/rpm-4.3.3-26_nonptl.i386... --11:31:43-- http://mirror.centos-br.org/4.7/os/i386/CentOS/RPMS/rpm-4.3.3-26_nonptl.i386... => `rpm-4.3.3-26_nonptl.i386.rpm' Resolviendo mirror.centos-br.org... 189.126.97.120 Connecting to mirror.centos-br.org|189.126.97.120|:80... conectado. PeticiĆ³n HTTP enviada, esperando respuesta... 200 OK Longitud: 666,684 (651K) [application/x-rpm]
100%[================================================================================>] 666,684 122.76K/s ETA 00:00
roberto
On Wed, Jul 15, 2009 at 10:06, Roberto Pereyrapereyra.roberto@gmail.com wrote:
yes, I not have any proxy and wget works:
I suggest you try using a FTP mirror, you can find one here: http://www.centos.org/modules/tinycontent/index.php?id=30
Then edit your /etc/yum.repos.d/CentOS-Base.repo, comment out the "mirrorlist" lines, uncomment the "baseurl" lines and change the URL from http://mirror.centos.org/ to ftp://... using the mirror you choose. Then run "yum clean all" and "yum update" again. If the issue is indeed an HTTP proxy, using FTP might work for you.
You can also use the command line they suggest in the Yum FAQ to find out if you have proxies. Using your mirror that would be: echo -e "TRACE / HTTP/1.1\nHost: mirror.centos-br.org\n\n" | nc mirror.centos-br.org 80
Actually, my suggestion to use "wget" was a little misguided, as the issue here seems to be that "yum" uses HTTP/1.1 and some advanced features of the protocol, so the fact that "wget" works doesn't necessarily means all is well...
HTH, Filipe