Package: apt-cacher-ng
Version: 0.7.24-1
Severity: important

Hi,

the upgrade to apt-cacher-ng 0.7.24-1 fails for me:

  dpkg: error processing package apt-cacher-ng (--configure):
   subprocess installed post-installation script returned error exit status 1
  Errors were encountered while processing:
   apt-cacher-ng
  E: Sub-process /usr/bin/dpkg returned an error code (1)

I've inserted "set -x" in /var/lib/dpkg/info/apt-cacher-ng.postinst
and here is the output:

  Setting up apt-cacher-ng (0.7.24-1) ...
  + . /usr/share/debconf/confmodule
  + [ !  ]
  + PERL_DL_NONLAZY=1
  + export PERL_DL_NONLAZY
  + [  ]
  + exec /usr/share/debconf/frontend /var/lib/dpkg/info/apt-cacher-ng.postinst 
configure 0.7.23-1
  + . /usr/share/debconf/confmodule
  + [ ! 1 ]
  + [ -z  ]
  + exec
  + [  ]
  + exec
  + DEBCONF_REDIR=1
  + export DEBCONF_REDIR
  + NAME=apt-cacher-ng
  + CONFIGFILE=/etc/apt-cacher-ng/zz_debconf.conf
  + LDIR=/var/log/apt-cacher-ng
  + SLIST=/etc/apt/sources.list
  + CFG=/etc/apt-cacher-ng
  + DDIR=/usr/lib/apt-cacher-ng
  + VDIR=/var/lib/apt-cacher-ng
  + udefault=/var/lib/apt-cacher-ng/backends_ubuntu.default
  + ddefault=/var/lib/apt-cacher-ng/backends_debian.default
  + BINPATH=/usr/sbin/apt-cacher-ng
  + sig=#09f369bf9c82a2210934e82213360226
  + def_file_header=# This is a configuration file. All lines starting with # 
will be ignored.
  #
  # WARNING: this file is maintained by configuration scripts of the 
apt-cacher-ng
  # package. All manual changes WILL BE LOST after the next package upgrade as
  # long as a line looking exactly like #09f369bf9c82a2210934e82213360226
  # is found inside. Remove or modify that line to stop auto-updates of this 
file.
  #09f369bf9c82a2210934e82213360226
  
  
  + [ configure = configure ]
  + db_get apt-cacher-ng/cachedir
  + _db_cmd GET apt-cacher-ng/cachedir
  + _db_internal_IFS=   
  
  + IFS= 
  + printf %s\n GET apt-cacher-ng/cachedir
  + IFS=        
  
  + IFS=
   read -r _db_internal_line
  + RET=/var/cache/apt-cacher-ng
  + return 0
  + CDIR=/var/cache/apt-cacher-ng
  + CDIRCONF=CacheDir: /var/cache/apt-cacher-ng
  + PRINTCFGVAR=CacheDir /usr/sbin/apt-cacher-ng -c /etc/apt-cacher-ng
  + TESTPATH=
  dpkg: error processing package apt-cacher-ng (--configure):
   subprocess installed post-installation script returned error exit status 1
  Errors were encountered while processing:
   apt-cacher-ng
  E: Sub-process /usr/bin/dpkg returned an error code (1)

So I've tried to debug this a bit more:

  # PRINTCFGVAR=CacheDir /usr/sbin/apt-cacher-ng -c /etc/apt-cacher-ng
  Error opening file, terminating.

Any other information that would be useful?

-- Package-specific info:
-- System Information:
Debian Release: jessie/sid
  APT prefers unstable
  APT policy: (990, 'unstable')
Architecture: amd64 (x86_64)

Kernel: Linux 3.11-2-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.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.14
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-3
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

-- Configuration Files:
/etc/apt-cacher-ng/acng.conf changed:
CacheDir: /var/cache/apt-cacher-ng
LogDir: /var/log/apt-cacher-ng
Port:3142
Remap-debrep: file:deb_mirror*.gz /debian ; file:backends_debian # Debian 
Archives
Remap-uburep: file:ubuntu_mirrors /ubuntu ; file:backends_ubuntu # Ubuntu 
Archives
Remap-debvol: file:debvol_mirror*.gz /debian-volatile ; file:backends_debvol # 
Debian Volatile Archives
Remap-cygwin: file:cygwin_mirrors /cygwin # ; file:backends_cygwin # 
incomplete, please create this file or specify preferred mirrors here
Remap-sfnet:  file:sfnet_mirrors # ; file:backends_sfnet # incomplete, please 
create this file or specify preferred mirrors here
Remap-alxrep: file:archlx_mirrors /archlinux # ; file:backend_archlx # Arch 
Linux
Remap-fedora: file:fedora_mirrors # Fedora Linux
Remap-epel:   file:epel_mirrors # Fedora EPEL
Remap-slrep:  file:sl_mirrors # Scientific Linux
Remap-gentoo: file:gentoo_mirrors.gz /gentoo ; file:backends_gentoo # Gentoo 
Archives
ReportPage: acng-report.html
ExTreshold: 4
LocalDirs: acng-doc /usr/share/doc/apt-cacher-ng
ReuseConnections: 1
PipelineDepth: 255

/etc/apt-cacher-ng/security.conf [Errno 13] Permission denied: 
u'/etc/apt-cacher-ng/security.conf'

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

--
  intrigeri
  | GnuPG key @ https://gaffer.ptitcanardnoir.org/intrigeri/intrigeri.asc
  | OTR fingerprint @ https://gaffer.ptitcanardnoir.org/intrigeri/otr.asc

Reply via email to