[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#718330: python-apt: Please add support for .deb with uncompressed data.tar member



Package: python-apt
Version: 0.8.9.1
Severity: wishlist
Control: block -1 by 718329

Hi!

The python-apt code does not seem to support uncompressed data.tar .deb
members, as specified by deb(5), which have been supported by since
dpkg 1.10.24.

At least the kernel team is currently using «dpkg-deb -Zgzip -z0» on
linux-source-3.10, which generates an uncompressed data.tar.gz member
(which TBH in a strict sense it's bogus for dpkg to create), because
otherwise dak rejects uncompressed .deb data.tar members by way of
lintian, and might not be able to process them through python-apt, and
finally libapt, or other tools dealing with .deb files.

dpkg-deb calls that "compressor" «none», in case you'd like to have
some term consistency.

In any case uncompressed data.tar members are useful in general, when
the contents are all already compressed and there's no gain in
recompressing the member again. AFAIK debdelta is also using those
when reconstructing .debs to feed to dpkg, to avoid duped work.

Thanks,
Guillem


Reply to: