Package: apt-cacher-ng
Version: 2-2
Severity: normal

--- Please enter the report below this line. ---

Running apt-cacher-ng with -p options does not show current configuration.
manpage does not mention -p option, but 'apt-cacher-ng -h' does.


# apt-cacher-ng -p
Not a valid configuration directive: -p
Usage: apt-cacher-ng [options] [ -c configdir ] <var=value ...>

Options:
-h: this help message
-c: configuration directory
-e: on startup, run expiration once
-p: print configuration and exit
-i: ignore configuration loading errors

Most interesting variables:
ForeGround: Don't detach (default: 0)
Port: TCP port number (default: 3142)
CacheDir: /directory/for/storage
LogDir: /directory/for/logfiles

See configuration examples for all directives.


# apt-cacher-ng -h
Usage: apt-cacher-ng [options] [ -c configdir ] <var=value ...>

Options:
-h: this help message
-c: configuration directory
-e: on startup, run expiration once
-p: print configuration and exit
-i: ignore configuration loading errors

Most interesting variables:
ForeGround: Don't detach (default: 0)
Port: TCP port number (default: 3142)
CacheDir: /directory/for/storage
LogDir: /directory/for/logfiles

See configuration examples for all directives.


--- System information. ---
Architecture: 
Kernel:       Linux 4.18.0-0.bpo.1-amd64

Debian Release: 9.6
  500 stretch-backports ftp.pl.debian.org 
  500 stable-debug    debug.mirrors.debian.org 
  500 stable          security.debian.org 
  500 stable          ftp.pl.debian.org 
  500 stable          dl.google.com 
  500 proposed-updates ftp.pl.debian.org 
  450 stable          www.deb-multimedia.org 
  402 unstable-debug  debug.mirrors.debian.org 
  402 unstable        ftp.pl.debian.org 
  401 experimental    ftp.pl.debian.org 

--- Package information. ---
Depends                                (Version) | Installed
================================================-+-=========================
libbz2-1.0                                       | 1.0.6-8.1
libc6                                  (>= 2.22) | 
libgcc1                             (>= 1:3.3.1) | 
liblzma5                (>= 5.1.1alpha+20120614) | 
libssl1.1                             (>= 1.1.0) | 
libstdc++6                              (>= 5.2) | 
libsystemd0                             (>= 210) | 
libwrap0                             (>= 7.6-4~) | 
zlib1g                              (>= 1:1.2.0) | 
debconf                                (>= 0.5)  | 
 OR debconf-2.0                                  | 
init-system-helpers                   (>= 1.18~) | 
adduser                                          | 
lsb-base                              (>= 3.0-6) | 


Package's Recommends field is empty.

Suggests          (Version) | Installed
===========================-+-===========
doc-base                    | 0.10.7
libfuse2           (>= 2.5) | 2.9.7-1+deb9u2
avahi-daemon                | 0.6.32-2



--- Output from package bug script ---

Reply via email to