Package: apt-cacher-ng
Version: 0.8.0-3
Severity: normal

Dear Maintainer,

i'm a newbie in bug reporting, encountering issues while trying to
enable FreeBSD repo support.

Version apt-cacher-ng/stable,now 0.8.0-3 amd64

I did:
apt-cacher-ng -p debug=1 | grep filePatt

output:

VfilePattern = (^|.*/)(Index|Packages [...]
PfilePattern = .*(\.d?deb|\.rpm|\.drpm [...]
SPfilePattern = (^|.*/).*(\.d?deb|\.rpm [...]
WfilePattern = (^|.*/)(Release|InRelease [...]
VfilePatternEx =
PfilePatternEx =
WfilePatternEx =
SPfilePattern =

end of output.

Multible bugs may apply.

First, the output doesn't show SPfilePatternEx
(or it does show but the label is not correct?).

Second, whatever i set any of the *Ex pattern, nothing is accepted.
At first i thought i did syntax errors. Later i found that no keyword
change is accepted by the -p debug= line but the running apt-cacher-ng does?

While doc/README.gz and README.Debian talking about /etc/apt-cacher-ng/ as
the "default" configuration directory, it is not default 
for "apt-cacher-ng -p debug=1". I didn't test which config is shown.

The initd script for acng includes the -c /etc/apt-cacher-ng config dir.
If i do "apt-cacher-ng -c /etc/apt-cacher-ng -p debug=1" the output reacts
to changes of port and bindaddress,
but not for "SPfilePatternEx: ForTestingOnly*",

output:
Warning, unknown configuration directive: SPfilePatternEx
Error reading main options, terminating.

end of output.

To use the -c parameter to get the actual configuration from the default
directory did confuse me. It may make sense for the config example becaue
it refers to "get a syntax example". If a config was misconfigured with
wrong settings it does not make sense to show this wrongs as a reference
to a valid syntax.

Additional note: I tried testing and unstable acng version 2-1 and 3-1 and
noticed that the config is dumped now with acngtool. But the config comments 
still refer to the -p debug method.
I would like to ask kindly for a hint in the config to the new tool.

Very best regards

Bernd Roth



-- Package-specific info:

-- System Information:
Debian Release: 8.7
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 3.16.0-4-amd64 (SMP w/2 CPU cores)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (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.113+nmu3
ii  debconf [debconf-2.0]  1.5.56
ii  dpkg                   1.17.27
ii  init-system-helpers    1.22
ii  libbz2-1.0             1.0.6-7+b3
ii  libc6                  2.19-18+deb8u7
ii  libgcc1                1:4.9.2-10
ii  liblzma5               5.1.1alpha+20120614-2+b3
ii  libssl1.0.0            1.0.1t-1+deb8u6
ii  libstdc++6             4.9.2-10
ii  libsystemd0            215-17+deb8u6
ii  libwrap0               7.6.q-25
ii  zlib1g                 1:1.2.8.dfsg-2+b1

Versions of packages apt-cacher-ng recommends:
pn  ed  <none>

Versions of packages apt-cacher-ng suggests:
pn  avahi-daemon  <none>
ii  curl          7.38.0-4+deb8u5
pn  doc-base      <none>
ii  libfuse2      2.9.3-15+deb8u2
ii  wget          1.16-1+deb8u1

-- Configuration Files:
/etc/apt-cacher-ng/acng.conf changed [not included]

-- debconf information:
  apt-cacher-ng/port: keep
  apt-cacher-ng/bindaddress: keep
  apt-cacher-ng/cachedir: keep
  apt-cacher-ng/gentargetmode: No automated setup
  apt-cacher-ng/proxy: keep

Reply via email to