Package: apt-cacher-ng
Version: 3.1-1
Severity: minor
File: /usr/share/man/man8/apt-cacher-ng.8.gz

There is a typo in the manual page, it says -C is used for adjusting
the configuration directory but earlier in the manual page it says -c
is used for that. Running the binary confirms that the -C option does not exist 
but the -c option does exist and changes the config dir.

$ man apt-cacher-ng  | grep -iP -- '-c\b'
       apt-cacher-ng [-c confdir] [-h] [optname=optvalue ...]
       -c confdir
       be adjusted with the -C option (see systemd service file for details or

$ /usr/sbin/apt-cacher-ng -h | grep -iP -- '-c\b'
Usage: apt-cacher-ng [options] [ -c configdir ] <var=value ...>
-c: configuration directory

$ /usr/sbin/apt-cacher-ng -c tmp-acng
Failed to open config directory

$ /usr/sbin/apt-cacher-ng -C tmp-acng
Not a valid configuration directive: -C
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.

$ mkdir tmp-acng ; /usr/sbin/apt-cacher-ng -c tmp-acng
Error opening file /home/pabs/tmp-acng/*.conf (No such file or directory), 
terminating.

$ mkdir tmp-acng ; /usr/sbin/apt-cacher-ng -C tmp-acng
Not a valid configuration directive: -C
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:
Debian Release: buster/sid
  APT prefers testing-debug
  APT policy: (900, 'testing-debug'), (900, 'testing'), (800, 
'unstable-debug'), (800, 'unstable'), (790, 'buildd-unstable'), (700, 
'experimental-debug'), (700, 'experimental'), (690, 'buildd-experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 4.16.0-2-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_AU.UTF-8, LC_CTYPE=en_AU.UTF-8 (charmap=UTF-8), 
LANGUAGE=en_AU:en (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages apt-cacher-ng depends on:
ii  adduser                3.117
ii  debconf [debconf-2.0]  1.5.66
ii  dpkg                   1.19.0.5+b1
ii  libbz2-1.0             1.0.6-8.1
ii  libc6                  2.27-3
ii  libgcc1                1:8.1.0-5
ii  liblzma5               5.2.2-1.3
ii  libssl1.1              1.1.0h-4
ii  libstdc++6             8.1.0-5
ii  libsystemd0            238-5
ii  libwrap0               7.6.q-27
ii  lsb-base               9.20170808
ii  zlib1g                 1:1.2.11.dfsg-1

apt-cacher-ng recommends no packages.

Versions of packages apt-cacher-ng suggests:
ii  avahi-daemon  0.7-4
pn  doc-base      <none>
ii  libfuse2      2.9.7-1

-- 
bye,
pabs

https://wiki.debian.org/PaulWise

Attachment: signature.asc
Description: This is a digitally signed message part

Reply via email to