Re: dpkg --fsys-tarfile and dpkg --contents contradiction ?
Kain is right. The correct switches are xO.
As was mentioned in my message, I was trying to follow the packaging tutorial,
which says that
To view the copyright file for a package you could use this command:
dpkg --fsys-tarfile filename.deb | tar xof usr/doc/\*copyright | less
As far as I checked it still has the wrong entry (see
before section 2.2).
> On Mon, Aug 09, 1999 at 12:29:59AM +0200, Martin Bialasinski wrote:
> > * "shaul" == shaul <email@example.com> wrote:
> > shaul> tar: Cannot open usr/doc/xfonts-100dpi/copyright: No such file or directory
> I missed this in the shaul's message at first, and nuked the orig. message, so I don't have the context. Sorry.
> Actually, the problem that he has here is that "xof" were the options specified on his commandline. In effect, he was trying to extract a V7 tar archive from the file usr/doc/xfonts-100dpi/copyright. If this filespec is present on the system, I doubt that it's a tarfile. :)
> You'll probably get better results using xO and then the filename in the tar archive for the copyright file. (This is, of course, presuming that your tar is compiled with stdin/stdout as the default device.)
> Bryon Roche, Kain <firstname.lastname@example.org>
> Unsubscribe? mail -s unsubscribe email@example.com < /dev/null