Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

what does "unpacking of archive failed: cpio: Bad magic" mean?

567 views
Skip to first unread message

Joseph Cheek

unread,
Jan 17, 2001, 5:24:25 PM1/17/01
to
and why would i get it?

scenario: i built an rpm with v3.0.6. worked fine, rpm's installed fine
but it stripped my executables. so i added:

%__os_install_post \
/usr/lib/rpm/brp-compress \
/usr/lib/rpm/brp-strip-comment-note \
%{nil}

to ~/.rpmmacros, effectively removing brp-strip from the post-install
process.

now rpm's build fine but the particular rpm which i wanted to be not
stripped now fails to install with:

sanfrancisco:/usr/src/RedmondLinux/RPMS/i586# rpm -Uvh
XFree86-server-4.0.2-26rl.i586.rpm --force
XFree86-server
##################################################
unpacking of archive failed: cpio: Bad magic

i'm not sure what i need to do to fix this. could this be a bad rpm
compile? i built rpm myself rather than using a prebuilt binary.

a related question: is it possible to redefine macros in .spec files?
this is the only rpm i don't want stripped, and i'd much rather redefine
%__os_install_post in the .spec file than edit my .rpmmacros for just
this package.


thanks!

joe

--
Joseph Cheek, Sr Linux Consultant, Linuxcare | http://www.linuxcare.com/
Linuxcare. Support for the Revolution. | jos...@linuxcare.com
PM / Lead Dev, Redmond Linux Project | jos...@redmondlinux.org
425 990-1072 vox, 425 635-7799 fax | jos...@cheek.com

_______________________________________________
Rpm-list mailing list
Rpm-...@redhat.com
https://listman.redhat.com/mailman/listinfo/rpm-list

Gavin Graham

unread,
Jan 22, 2001, 8:17:41 AM1/22/01
to
Joseph Cheek wrote:

Hi,

I was getting the same thing until I fixed the SCSI ID's on my Hard Disks.

0 new messages