Bug#438486: [debfile] Don't throw an exception on extra .deb members

Stefano Zacchiroli zack at debian.org
Fri Aug 17 11:11:19 UTC 2007


tags 438486 + confirmed
thanks

[ quoted text reordered ]

On Fri, Aug 17, 2007 at 12:44:33PM +0200, Romain Francoise wrote:
> The DebFile class constructor checks that the given .deb file
> contains the following archive members:
> and throws an exception if there are extra members.
<snip>
> deb(5) says the following about extra members:
> | Current implementations should ignore any additional
> | members after data.tar.gz.

Ok, I will ignore extra stuff then, thanks for noticing and finding the
relevant doc.

> failures on 36 packages currently in the archive (on my amd64
> mirror):
>  - 34 packages contain an extra member named '_gpgbuilder', which is
>    a file generated by dpkg-sig.

This will be addressed by the fix above.

>  - 2 packages use bz2 compression for the data tarball, hence they
>    have data.tar.bz2 but not data.tar.gz.  I think that this is a
>    policy violation, but that's beyond the scope of this bug report.

What are the 2 packages involved (so that I can use them as test cases).
Besides, do all the other dpkg-related tools work properly on them? If
not, I will ignore the issue, if they do work it's probably a good idea
to support them in any case, just for consistency.  But if you can check
that it's actually a policy violation (lazy guy writing here) it would
be a different story.

Thanks for this bugreport!
Cheers.

-- 
Stefano Zacchiroli -*- PhD in Computer Science ............... now what?
zack@{cs.unibo.it,debian.org,bononia.it} -%- http://www.bononia.it/zack/
(15:56:48)  Zack: e la demo dema ?    /\    All one has to do is hit the
(15:57:15)  Bac: no, la demo scema    \/    right keys at the right time
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
Url : http://lists.alioth.debian.org/pipermail/pkg-python-debian-maint/attachments/20070817/29128815/attachment.pgp 


More information about the pkg-python-debian-maint mailing list