[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#247086: dpkg: Added note about TMPDIR in dpkg-deb(1) and other minor manpage corrections



Package: dpkg
Version: 1.10.20
Severity: minor
Tags: patch

When building a large package I ran into the fact that my /tmp was too
small for gzip to run during dpkg-deb. I first tried setting TMP and
TEMP which did not help. My patch adds a note about this (feel free to
move it to another place in the man page). Also it changes the man
page, that now dpkg\-deb is used consistently. Finally I added a few
section markers for programs (e.g. gzip(1)). If you don't like the
latter two, please consider applying at least the first.

--- dpkg-deb.1.orig	2004-03-11 13:31:09.000000000 +0100
+++ dpkg-deb.1	2004-05-02 09:22:53.000000000 +0200
@@ -2,33 +2,33 @@
 .SH NAME 
 dpkg\-deb \- Debian package archive (.deb) manipulation tool
 .SH SYNOPSIS
-.B dpkg-deb
+.B dpkg\-deb
 .BR -b | --build
 .IR directory " [" archive | directory ]
 .br
-.B dpkg-deb
+.B dpkg\-deb
 .BR -I | --info
 .IR archive " [" control\-file\-name " ..]"
 .br
-.B dpkg-deb
+.B dpkg\-deb
 .BR -f | --field
 .IR archive " [" control\-field\-name " ...]"
 .br
-.B dpkg-deb
+.B dpkg\-deb
 .BR -c | --contents
 .I archive
 .br
-.B dpkg-deb
+.B dpkg\-deb
 .BR -x | --extract | -X | --vextract
 .I archive directory
 .br
-.B dpkg-deb --fsys-tarfile
+.B dpkg\-deb --fsys-tarfile
 .I archive
 .br
-.B dpkg-deb --control
+.B dpkg\-deb --control
 .I archive directory
 .SH DESCRIPTION
-.B dpkg-deb
+.B dpkg\-deb
 packs, unpacks and provides information about Debian archives.
 
 Use
@@ -61,8 +61,8 @@
 You can specify the compressionlevel used by adding a
 .B \-z#
 option.
-.B dpkg-deb
-will pass that option on to gzip.
+.B dpkg\-deb
+will pass that option on to gzip(1).
 
 Unless you specify
 .BR \-\-nocheck ", " dpkg\-deb "
@@ -164,7 +164,7 @@
 to standard output in
 .B tar
 format.  Together with
-.B tar
+.BR tar (1)
 this can be used to extract a particular file from a package archive.
 .TP
 .BR --control ", " -e
@@ -218,7 +218,7 @@
 .BR --debug ", " -D
 Enables debugging output.  This is not very interesting.
 .SH BUGS
-.B dpkg-deb -I 
+.B dpkg\-deb -I 
 .IB package1 .deb
 .IB package2 .deb
 does the wrong thing.
@@ -233,6 +233,10 @@
 .B dpkg
 proper to ensure that all the files are correctly placed and the
 package's scripts run and its status and contents recorded.
+
+If there is not enough space left in \fB/tmp\fR, 
+.B dpkg\-deb
+might fail. Set TMPDIR to some directory with enough space.
 .SH SEE ALSO
 .BR deb (5),
 .BR deb-control (5),

-- System Information:
Debian Release: testing/unstable
  APT prefers testing
  APT policy: (990, 'testing')
Architecture: alpha
Kernel: Linux 2.4.21-pre1
Locale: LANG=de_DE@euro, LC_CTYPE=de_DE@euro

Versions of packages dpkg depends on:
ii  dselect                     1.10.20      a user tool to manage Debian packa
ii  libc6.1                     2.3.2.ds1-11 GNU C Library: Shared libraries an

-- no debconf information
-- 
Helge Kreutzmann, Dipl.-Phys.               Helge.Kreutzmann@itp.uni-hannover.de
  gpg signed mail preferred    gpg-key: finger kreutzm@zibal.itp.uni-hannover.de
    64bit GNU powered                  http://www.itp.uni-hannover.de/~kreutzm
       Help keep free software "libre": http://www.freepatents.org/

Attachment: pgp6YcUmmYE34.pgp
Description: PGP signature


Reply to: