error: unpacking of archive failed on file ...rpm;4a2a2501: cpio: Digest mismatch
tjoen
tjoen at dds.nl
Sun Jun 7 08:05:54 UTC 2009
Please help me with this problem.
rpm 4.7.0. System: a DIYS linux, everything from sources
4.7.0 was working since may 12.
4.7.0 was linked to nspr-4.7.3 and nss-3.12.2 distributed
with firefox 3.0.9
Until jun 30 when I updated to nspr-4.7.4 and nss-3.12.3.
Always the same error like:
# rpm -U --force bash-4.0-1.i386.rpm
warning: bash-4.0-1.i386.rpm: Header SHA1 digest: NOKEY
warning: bash-4.0-1.i386: Header SHA1 digest: NOKEY
error: unpacking of archive failed on file /bin/bash;4a2a2a78: \
cpio: Digest mismatch
$ rpm -q --dump -p bash-4.0-1.i386.rpm
warning: bash-4.0-1.i386.rpm: Header SHA1 digest: NOKEY
/bin/bash 620928 1241810277 d2533a8f742e68e543304327d7b7e87f \
0100755 root root 0 0 0 X
...
$ md5sum /bin/bash
d2533a8f742e68e543304327d7b7e87f /bin/bash
I have a chroot directory /media/hda where I
copied an old /bin/rpm (4.4.2.3) and the libs,
installed my own built firefox-3.0.9.rpm (for the nspr and nss)
installed rpm-4.7.0
deleted /var/lib/rpm/*
rpm --initdb
rpm -i bash-4.0-1.i386.rpm works
But in another chroot directory /home/tjoen/cdrom1
I copied the necessary libs:
~/cdrom1/lib $ ls
ld-linux.so.2 libexpat.so.1 libntfs.so.10 librpmbuild.so.0
libblkid.so.1 libext2fs.so.2 libparted-1.8.so.8 librpmio.so.0
libbz2.so.1.0 libhistory.so.6 libpcre.so.0 librt.so.1
libc.so.6 libm.so.6 libplc4.so libshadow.so.0
libcom_err.so.2 libmagic.so.1 libplds4.so libstdc++.so.6
libcrypt.so.1 libncurses.so.5 libpopt.so.0 libuuid.so.1
libdb-4.7.so libnspr4.so libpthread.so.0 libz.so.1
libdl.so.2 libnss3.so libreadline.so.6 modules
libe2p.so.2 libnss_files.so.2 libresolv.so.2
libelf.so.1 libnssutil3.so librpm.so.0
~/cdrom1/lib $ for i in *.so* ; do cmp $i /media/hda/lib/$i ; done
[is OK]
~/cdrom1/bin $ cmp rpm /media/hda/bin/rpm
[OK]
~/cdrom1/usr/lib/rpm $ for i in macros rpmrc ; do cmp $i \
/media/hda/usr/lib/rpm/$i ; done
[OK]
[in /media/hda]
# rpm -U --force --nodeps libpthread-stubs-0.1-1.noarch.rpm
[no problems]
# chroot /home/tjoen/cdrom1
# mount /proc
# rpm --initdb
# rpm -i --nodeps libpthread-stubs-0.1-1.noarch.rpm
warning: libpthread-stubs-0.1-1.noarch.rpm: Header SHA1 digest: NOKEY
warning: libpthread-stubs-0.1-1.noarch: Header SHA1 digest: NOKEY
error: unpacking of archive failed on file \
/usr/lib/pkgconfig/pthread-stubs.pc;4a2a33fa: cpio: Digest mismatch
AAAARGH!
Why the difference?
Please help me
I have tried 4.6.1, same error
Compiled nspr-4.7.3 and nss-3.12.2, same error.
(That was the version in firefox-3.0.9)
Also strange rendering html-files. <h3>-tag very big.
--nodigest and --nofiledigest don't work here.
Only nspr and nss compiled with firefox-3.0.9
works, and only before jun 30 or in /media/hda
Searched on Google. Not sure others have the same problem.
It looks like Fedora has a special nss.
More information about the Rpm-list
mailing list