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

Bug#725492: linux-source: deb file contains data.tar.gz instead of data.tar



Hi,

I'm now also hit by this issue (some packages at debian-ports.org can't
be built due to build-dep linux-source-3.11 not being listed in Packages).

> I asked on #debian-ftp a while back and was advised to use -Zgzip -z0
> which is accepted but has the problem you're reporting.  (The dpkg
> documentation now says this is equivalent to -Znone, but obviously
> that's not quite true!)

The difference seems to be that -Znone results in a data.tar (rejected
by lintian) and -Zgzip -z0 results in the same file but called
data.tar.gz. The latter is actally not a gzip file and clearly breaks
apt-ftparchive.

A workaround would be to ignore gunzip errors in apt (apt-ftparchive)
and retry data.tar.gz as data.tar. But this would be rather ugly.

However, a file called data.tar.gz which isn't really gz is misleading.
Maybe you can consider -z1 instead of -z0? (gzip -0 isn't really supported).

Thanks in advance,

Roland


Reply to: