Quellcode durchsuchen

man: Document “dpkg-query -l” abbreviated state information

Closes: #383869

Based-on-patch-by: Marc-Jano Knopp <pub_br_debian.org@marc-jano.de>
Guillem Jover vor 16 Jahren
Ursprung
Commit
690f099bf2
2 geänderte Dateien mit 37 neuen und 0 gelöschten Zeilen
  1. 3 0
      debian/changelog
  2. 34 0
      man/dpkg-query.1

+ 3 - 0
debian/changelog

@@ -161,6 +161,9 @@ dpkg (1.15.6) UNRELEASED; urgency=low
   * Document in the man page the effects of setting TMPDIR for dpkg and
     dpkg-deb, HOME for dselect and dpkg and PAGER for dpkg. Closes: #572836
   * Document the exit codes for dpkg-query. Closes: #571798
+  * Document “dpkg-query -l” abbreviated state information in the man page.
+    Based on a patch by Marc-Jano Knopp <pub_br_debian.org@marc-jano.de>.
+    Closes: #383869
 
   [ Modestas Vainius ]
   * Implement symbol patterns (Closes: #563752). From now on, it is possible to

+ 34 - 0
man/dpkg-query.1

@@ -26,6 +26,40 @@ with \*(lqlibc6\*(rq:
   \fBdpkg\-query \-l \(aqlibc6*\(aq\fP
 .fi
 
+The first three columns of the output show the desired action, the package
+status, and errors, in that order.
+
+Desired action:
+.nf
+  u = Unknown
+  i = Install
+  h = Hold
+  r = Remove
+  p = Purge
+.fi
+
+Package status:
+.nf
+  n = Not-installed
+  c = Config-files
+  H = Half-installed
+  U = Unpacked
+  F = Half-configured
+  W = Triggers-awaiting
+  t = Triggers-pending
+  i = Installed
+.fi
+
+Error flags:
+.nf
+  <empty> = (none)
+  R = Reinst-required
+.fi
+
+An uppercase status or error letter indicates the package is likely to
+cause severe problems. Please refer to \fBdpkg\fP(1) for information
+about the above states and flags.
+
 The output format of this option is not configurable, but varies
 automatically to fit the terminal width. It is intended for human
 readers, and is not easily machine-readable. See \fB\-W\fP (\fB\-\-show\fP)