Re: dpkg --fsys-tarfile and dpkg --contents contradiction ?

1999-08-11 Thread shaul
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

start quotation

To view the copyright file for a package you could use this command: 

  dpkg --fsys-tarfile filename.deb | tar xof usr/doc/\*copyright | less

end quotation
 
As far as I checked it still has the wrong entry (see 
www.debian.org/doc/pacaking-manuals/packaging.html/ch-binarypkg.html, just 
before section 2.2).

 On Mon, Aug 09, 1999 at 12:29:59AM +0200, Martin Bialasinski wrote:
  
  * shaul == shaul  [EMAIL PROTECTED] 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 [EMAIL PROTECTED]
 
 
 -- 
 Unsubscribe?  mail -s unsubscribe [EMAIL PROTECTED]  /dev/null
 
 





Re: dpkg --fsys-tarfile and dpkg --contents contradiction ?

1999-08-09 Thread Kain X
On Mon, Aug 09, 1999 at 12:29:59AM +0200, Martin Bialasinski wrote:
 
 * shaul == shaul  [EMAIL PROTECTED] 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 [EMAIL PROTECTED]


dpkg --fsys-tarfile and dpkg --contents contradiction ?

1999-08-08 Thread shaul
[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 ?






Re: dpkg --fsys-tarfile and dpkg --contents contradiction ?

1999-08-08 Thread Martin Bialasinski

* shaul == shaul  [EMAIL PROTECTED] wrote:

shaul tar: Cannot open usr/doc/xfonts-100dpi/copyright: No such file or 
directory
   ^^
Is your current working directory / ?

Actualy, I find /usr/doc/packagename/copyright easier to use.

Ciao,
Martin