[EMAIL PROTECTED] arklinux]$ su -c "rpm -Uvh --debug --prtpkts  --nodeps
libxml-static-2.6.32-1ark.i586.rpm"
D: Expected size:       556592 = lead(96)+sigs(180)+pad(4)+data(556312)
D:   Actual size:       556592
D: libxml-static-2.6.32-1ark.i586.rpm: Header SHA1 digest: OK
(596fbb3977ca8acac11cac7f8b691a501beb2133)
D: opening  db environment /var/lib/rpm/Packages cdb:mpool
D: opening  db index       /var/lib/rpm/Packages rdonly mode=0x0
D: locked   db index       /var/lib/rpm/Packages
D: opening  db index       /var/lib/rpm/Providename rdonly mode=0x0
D: ========== recording tsort relations
D: ========== tsorting packages (order, #predecessors, #succesors, tree,
Ldepth, Rbreadth)
D:     0    0    0    1    0    0 +libxml-static-2.6.32-1ark.i586
D: closed   db index       /var/lib/rpm/Providename
D: closed   db index       /var/lib/rpm/Packages
D: closed   db environment /var/lib/rpm/Packages
D: opening  db environment /var/lib/rpm/Packages cdb:mpool
D: opening  db index       /var/lib/rpm/Packages create mode=0x42
D: mounted filesystems:
D:     i        dev    bsize       bavail       iavail mount point
D:     0 0x0000fd00     4096      2248858      9265253 rw /
D:     1 0x00000003     4096            1           -1 rw /proc
D:     2 0x00000000     4096            1           -1 rw /sys
D:     3 0x0000000b     4096            1           -1 rw /dev/pts
D:     4 0x00000301     1024        65549        26468 rw /boot
D:     5 0x00000013     4096        64441        64440 rw /dev/shm
D:     6 0x00000014     4096            1           -1 rw
/proc/sys/fs/binfmt_misc
D: sanity checking 1 elements
D: opening  db index       /var/lib/rpm/Name create mode=0x42
D: running pre-transaction scripts
D: *computing 2 file fingerprints   *
Preparing...                D: computing file dispositions
D: opening  db index       /var/lib/rpm/Basenames create mode=0x42
D: opening  db index       /var/lib/rpm/Pubkeys create mode=0x42
D: ========== DSA pubkey id 53268101 37017186 (h#42)
D: rpmdb: read h#      99 Header V3 DSA signature: OK, key ID 37017186
########################################### [100%]
D: ========== +++ libxml-static-2.6.32-1ark.i586 i586-linux 0x0
D: Expected size:       556592 = lead(96)+sigs(180)+pad(4)+data(556312)
D:   Actual size:       556592
D: libxml-static-2.6.32-1ark.i586: Header SHA1 digest: OK
(596fbb3977ca8acac11cac7f8b691a501beb2133)
D:   install: libxml-static-2.6.32-1ark.i586 has 2 files, test = 0
D: opening  db index       /var/lib/rpm/Sha1header create mode=0x42
D: opening  db index       /var/lib/rpm/Triggername create mode=0x42
   1:libxml-static          D: ========== Directories not explicitly
included in package:
D:          0 /usr/lib/
D:          1 /usr/lib/python2.5/site-packages/
D: ==========
D: undo      100644  1 (   0,   0)     1607930 /usr/lib/libxml2.a;489c03b8
LZDIO:     197 reads,  1613824 total bytes in 0.200129 secs
########################################### [100%]
error: unpacking of archive failed on file /usr/lib/libxml2.a;489c03b8:
cpio: File digest mismatch
D: running post-transaction scripts
D: closed   db index       /var/lib/rpm/Pubkeys
D: closed   db index       /var/lib/rpm/Sha1header
D: closed   db index       /var/lib/rpm/Triggername
D: closed   db index       /var/lib/rpm/Basenames
D: closed   db index       /var/lib/rpm/Name
D: closed   db index       /var/lib/rpm/Packages
D: closed   db environment /var/lib/rpm/Packages

[EMAIL PROTECTED] arklinux]# rpm -V --version
*rpm (RPM) 5.1.2  *

./rpm-paylod-qry.sh libxml-static-2.6.32-1ark.i586.rpm
Package RPM : libxml-static-2.6.32-1ark.i586.rpm
*PAYLOADCOMPRESSOR=lzma*
PAYLOADFORMAT=cpio
PAYLOADFLAGS=9
Uncompressed Size of the Payload Archive, including cpio/bzip2/lzma
header=      2003904
Effective RPM size=      556592


Perhaps a lzma problem in rpm 5.1.4 ? What is the result  without using lzma
compression ?

(aside) YES, it is not a prelink problem for sure

On Fri, Aug 8, 2008 at 12:46 AM, Jeff Johnson <[EMAIL PROTECTED]> wrote:

>
> On Thursday, August 07, 2008, at 02:34PM, "Bernhard Rosenkränzer"
> <[EMAIL PROTECTED]> wrote:
> >Hi,
> >I know this error message usually indicates a corrupted download or
> >somesuch -- but in this particular case, rebuilding the package doesn't
> help.
> >
> >Trying to install
> >
> http://arklinux.osuosl.org/dockyard-devel/i586/libxml-static-2.6.32-1ark.i586.rpm
> >always results in
> >
> >error: unpacking of archive failed on file /usr/lib/libxml2.a;489b3fda:
> cpio:
> >File digest mismatch
> >
>
> Compare
>     md5sum  /usr/lib/libxml2.a;489b3fda
> with what is in the header.
>
> >Rebuilding doesn't help, and rpm -qp --checksig
> >libxml-static-2.6.32-1ark.i586.rpm agress that the file is ok.
> >
>
> Note that rpm -qp verifies payload digest, not file digests.
>
> >The source rpm is
> >
> http://arklinux.osuosl.org/dockyard-devel/SPRMS/libxml-2.6.32-1ark.src.rpm
> >
>
> Rebuilding from *.src.rpm won't help (but won't hurt). The plaintext and
> the digest are in the
> binary *.rpm.
>
> >Any ideas?
> >
>
> Including prelinked *.so libraries in packages can/will lead to curious
> behavior like you are reporting. But prelinking does not touch *.a
> files.
>
> 73 de Jeff
> >thanks
> >bero
> >______________________________________________________________________
> >RPM Package Manager                                    http://rpm5.org
> >Developer Communication List                        rpm-devel@rpm5.org
> >
> >
> ______________________________________________________________________
> RPM Package Manager                                    http://rpm5.org
> Developer Communication List                        rpm-devel@rpm5.org
>

Reply via email to