Re: dpkg(1) and the "old" .deb format
On Thu, 2012-03-22 at 17:04:41 +0700, Ivan Shmakov wrote:
> >>>>> Joey Hess <joeyh@debian.org> writes:
> > [1] Doesn't dpkg even support all the old variants of the deb format?
>
> Surprisingly, it depends on the locale! Consider, e. g.:
>
> $ LC_ALL=C dpkg -c \
> archive.debian.org/debian/dists/Debian-0.93R6/binary/base/dpkg-1.0.0.deb
> drwxr-xr-x root/root 0 1995-10-01 18:18 ./
> drwxr-xr-x root/root 0 1995-10-01 18:18 usr/
> drwxr-xr-x root/root 0 1995-10-01 18:18 usr/doc/
> drwxr-xr-x root/root 0 1995-10-01 18:18 usr/doc/copyright/
> -rw-r--r-- root/root 1540 1995-10-01 18:18 usr/doc/copyright/dpkg
> …
> $ LC_ALL=de_DE.UTF-8 dpkg -c \
> archive.debian.org/debian/dists/Debian-0.93R6/binary/base/dpkg-1.0.0.deb
> dpkg-deb: »archive.debian.org/debian/dists/Debian-0.93R6/binary/base/dpkg-1.0.0.deb« ist kein Archiv im Debian-Format
> $
Nicely spot, I'm fixing this for my next push. It's anyway a part of
the codebase I had already on my TODO to fix.
thanks,
guillem
Reply to: