error while extraction RPM -cpio: premature end of file

976 views
Skip to first unread message

Poonam Gupta

unread,
Jul 10, 2013, 9:34:04 AM7/10/13
to osti...@googlegroups.com

Hello Everyone,
 
For network packet generation/analyzation , I  had downloaded ostinato-0.5.1-1.3.i686.rpm  for my Linux machine.(From - https://code.google.com/p/ostinato/wiki/Downloads?tm=2)
The rpm available for download was for CentOs , which could be used for Red hat Linux as well ( as mentioned there).
 
 
My Linux Machine:
$ uname -a
Linux s007246a 2.6.18-308.13.1.el5PAE #1 SMP Thu Jul 26 06:08:24 EDT 2012 i686 i686 i386 GNU/Linux
 
 
 
Upon copying it to the linux machine, rpm query gave the following output :
 
$ file ostinato-0.5.1-1.3.i686.rpm
ostinato-0.5.1-1.3.i686.rpm: RPM v3.0 bin i386/x86_64 ostinato-0.5.1-1.3
 
$ rpm -qlp ostinato-0.5.1-1.3.i686.rpm
warning: ostinato-0.5.1-1.3.i686.rpm: Header V3 DSA signature: NOKEY, key ID f7aa50b3
/usr/bin/drone
/usr/bin/ostinato
/usr/share/doc/ostinato-0.5.1
/usr/share/doc/ostinato-0.5.1/COPYING
 
On extarcting ,following is the error I got :
 
$ rpm2cpio ostinato-0.5.1-1.3.i686.rpm | cpio -idmv
cpio: warning: skipped 3595 bytes of junk
cpio: ÎüÄÅ<,
            cpio: premature end of file
 
  
Could anyone please suggest , what could have gone wrong ?
 
 
Thanks in advance
Poonam
 

 

Kartik Mistry

unread,
Jul 10, 2013, 11:27:42 AM7/10/13
to Poonam Gupta, osti...@googlegroups.com
On Wed, Jul 10, 2013 at 7:04 PM, Poonam Gupta
<poonamgu...@gmail.com> wrote:
> $ rpm2cpio ostinato-0.5.1-1.3.i686.rpm | cpio -idmv
> cpio: warning: skipped 3595 bytes of junk
> cpio: ÎüÄÅ<,
> cpio: premature end of file
>
> Could anyone please suggest , what could have gone wrong ?

Verify md5sum of downloaded RPM.

--
Kartik Mistry | IRC: kart_
{0x1f1f, kartikm}.wordpress.com
Reply all
Reply to author
Forward
0 new messages