Package: apt-cacher-ng Version: 0.7.24-1 Severity: normal Tags: patch Dear Maintainer, If I specify the following debconf parameter:
apt-cacher-ng/cachedir: /dati/cache/apt-cacher-ng The entry in zz_debconf.conf is not modified: grep CacheDir /etc/apt-cacher-ng/zz_debconf.conf CacheDir: /var/cache/apt-cacher-ng I have to do the following patch in order to get the updated value: --- /tmp/apt-cacher-ng.postinst.ORI 2013-12-30 19:58:54.465332842 +0100 +++ /tmp/apt-cacher-ng.postinst 2013-12-30 19:58:38.421365374 +0100 @@ -148,8 +148,7 @@ esac # make sure it's set even if commented out by the user - TESTPATH=$(PRINTCFGVAR=CacheDir $BINPATH -c $CFG 2>/dev/null) - if test -e "$TESTPATH" ; then + if ! test -e "$CDIR" ; then CDIR=/var/cache/$NAME CDIRCONF="CacheDir: $CDIR" fi Thanks, Luca -- Package-specific info: -- System Information: Debian Release: jessie/sid APT prefers testing-updates APT policy: (500, 'testing-updates'), (500, 'testing') Architecture: i386 (x86_64) Kernel: Linux 3.11-2-amd64 (SMP w/3 CPU cores) Locale: LANG=it_IT.UTF-8, LC_CTYPE=it_IT.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Versions of packages apt-cacher-ng depends on: ii adduser 3.113+nmu3 ii debconf [debconf-2.0] 1.5.52 ii dpkg 1.17.5 ii init-system-helpers 1.13 ii libbz2-1.0 1.0.6-5 ii libc6 2.17-97 ii libgcc1 1:4.8.2-10 ii liblzma5 5.1.1alpha+20120614-2 ii libssl1.0.0 1.0.1e-6 ii libstdc++6 4.8.2-10 ii libwrap0 7.6.q-24 ii zlib1g 1:1.2.8.dfsg-1 Versions of packages apt-cacher-ng recommends: ii avahi-daemon 0.6.31-2 ii ed 1.9-2 Versions of packages apt-cacher-ng suggests: ii curl 7.34.0-1 pn doc-base <none> ii libfuse2 2.9.2-4 ii wget 1.14-5 -- debconf information: * apt-cacher-ng/bindaddress: keep * apt-cacher-ng/port: keep * apt-cacher-ng/cachedir: /dati/cache/apt-cacher-ng * apt-cacher-ng/proxy: http://10.150.184.72:3128 * apt-cacher-ng/gentargetmode: No automated setup -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org