Hi guillem,

Thanks for your quick response.:)

>You could try using a different compression though
(if you are using gz that is), like xz.

How to specify the different compression, I find 'dpkg-deb -Z' could specifiy 
the compression type, but only gzip, bzip, lzma could be choosen.How to use xz?

>But dpkg-deb should handled that more gracefully, I'll fix this in my
next push.

Do you have a schedule for your fix?
After your push, dpkg-deb could build/extract the package which have size more 
than 9536.74 MiB? Then is threre any new size limitation after your push?

Thank you.



He Qingsheng
SWE(Software Environment)
 
Sony Mobile Communications
Tel: +8610-5865-6414
sonymobile.com
 


-----Original Message-----
From: Guillem Jover [mailto:guil...@debian.org] 
Sent: Monday, June 25, 2012 4:31 PM
To: He, Qingsheng 2; 678...@bugs.debian.org
Subject: Re: Bug#678933: dpkg: bad magic at end of first header

Hi!

On Mon, 2012-06-25 at 14:55:58 +0800, Qingsheng wrote:
> Package: dpkg
> Version: 1.15.5.6ubuntu4.5
> Severity: important
> 
> When deal with large pacakge(>10G Bytes), dpkg-deb/dpkg with a
> 'bad magic at end of first header' error when using 'dpkg-deb -e'
> to extract the package.
> 
> Say if use 'dpkg-deb -b' to build a large package(>10G Bytes), it
> is ok. but if 'dpkg-deb -e' to extract the package, error will
> happenned.

> Is there any size limitation for dpkg/dpkg-deb tools?

Yes the common ar format allows only for approx 9536.74 MiB member files,
so if your data.tar.gz file member is bigger than that it will not be
storable there. You could try using a different compression though
(if you are using gz that is), like xz.

But dpkg-deb should handled that more gracefully, I'll fix this in my
next push.

thanks,
guillem

Reply via email to