sudo rpm -ivh *.el6.rpm *.fc20.rpm
error: unpacking of archive failed: cpio: Bad magic
--nomd5 --nodigest it still
rpm5.0.0 http://rpm5.org/files/rpm/rpm-5.0
makefile LIBS= -lz -lpopt -beecrypt
sudo make make install succeed
rpm -ivh .el5.rpm all right
but centos5 /usr/local/bin/rpm -ivh .el6.rpm error: unpacking of archive failed: cpio: Bad magic
ldd librpm*
all be
centos5 libc glibc glib too low level?
yum install
these not find
why?
centos 5 different code with 6 include rpm package?
whoes is centos5 have a try and tell me whether you can -ivh el6.rpm?
what print?
rpm error: unpacking of archive failed: cpio: Bad magic
rpm error: unpacking of archive failed: cpio: Bad magic
Last edited by xzby on 2013/11/21 21:20:01, edited 1 time in total.
Re: rpm error: unpacking of archive failed: cpio: Bad magic
You can't install CentOS 6 or Fedora 20 RPMs on CentOS 5.
Which package are you trying to install? Perhaps there's a package that will work with CentOS 5.
Which package are you trying to install? Perhaps there's a package that will work with CentOS 5.
Re: rpm error: unpacking of archive failed: cpio: Bad magic
And installing a newer version of rpm is unlikely to help in the long run since it's likely to just either confuse things or break them.
The correct way to deal with situations like this is to download the SRPM for fc20 and rebuild it on el5 using the el5 toolset and produce an RPM that's designed to install on el5 in the first place. You may still run into trouble with things from fc20 needing newer packages and/or being built with systemd not sysv initscripts in mind...
The correct way to deal with situations like this is to download the SRPM for fc20 and rebuild it on el5 using the el5 toolset and produce an RPM that's designed to install on el5 in the first place. You may still run into trouble with things from fc20 needing newer packages and/or being built with systemd not sysv initscripts in mind...
The future appears to be RHEL or Debian. I think I'm going Debian.
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke