dpkg --fsys-tarfile and dpkg --contents contradiction ?
[02:26:37 shaul]$ dpkg --fsys-tarfile /cdrom/Debian-2.1/main/binary-all/x11/xfo
nts-100dpi_3.3.2.3a-11.deb | tar xof usr/doc/xfonts-100dpi/copyright | less
tar: Cannot open usr/doc/xfonts-100dpi/copyright: No such file or directory
tar: Error is not recoverable: exiting now
[02:27:08 shaul]$ dpkg --contents /cdrom/Debian-2.1/main/binary-all/x11/xfonts-
100dpi_3.3.2.3a-11.deb | grep copyright
-rw-r--r-- root/root 9972 1999-02-23 11:00 usr/doc/xfonts-100dpi/copyright
[02:27:36 shaul]$
When issuing the dpkg --fsys-tarfile I tried follow the packaging tutorial
suggestions (
To view the copyright file for a package you could use this command:
dpkg --fsys-tarfile filename.deb | tar xof usr/doc/\*copyright
)
What am I doing wrong ?
Reply to: