Bug#291194: dpkg should handle tar posix format
Package: dpkg
Version: 1.13.0
Severity: wishlist
Hi,
So as to have proper file name encoding, I'm used to have
TAR_OPTIONS=--format=posix
But then built packages don't work:
$ echo $TAR_OPTIONS
--format=posix
$ apt-get source xsnow
$ cd xsnow-1.41
$ dpkg-buildpackage -rfakeroot
$ su
# cd ..
# dpkg -i xsnow_1.41-2_i386.deb
(Reading database ... 103333 files and directories currently installed.)
Preparing to replace xsnow 1:1.41-2 (using
.../samy/xsnow_1.41-2_i386.deb) ...
Unpacking replacement xsnow ...
dpkg: error processing /home/samy/xsnow_1.41-2_i386.deb (--install):
corrupted filesystem tarfile - corrupted package archive: Success
dpkg-deb: subprocess paste killed by signal (Broken pipe)
Errors were encountered while processing:
/home/samy/xsnow_1.41-2_i386.deb
Of course, it would properly work if TAR_OPTIONS was empty (and hence
dpkg-buildpackage would use usual tar format).
I suggest dpkg should be able to handle tar posix format.
-- System Information:
Debian Release: 3.1
APT prefers unstable
APT policy: (500, 'unstable')
Architecture: i386 (i686)
Kernel: Linux 2.6.10
Locale: LANG=fr_FR@euro, LC_CTYPE=fr_FR@euro (charmap=ISO-8859-15)
Versions of packages dpkg depends on:
ii libc6 2.3.2.ds1-20 GNU C Library: Shared libraries an
-- no debconf information
Reply to: