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

Dear Maintainer,

On a system that must access the internet through a proxy, installation
of apt-cacher-ng hangs in the postinst phase.

/var/lib/dpkg/info/apt-cacher-ng.postinst contains this line, which I
believe is causing the hang:

wget -q -O- $mirurl >> $tmpfile 2>/dev/null || curl -s $mirurl >> $tmpfile
2>/dev/null || true

I think this would be solved postinst should respect the apt proxy
specified
in apt.conf or apt.conf.d/*

Summary:

'apt-get install apt-cacher-ng' hangs, but

'export http_proxy=myproxy.8888', followed by
'apt-get install apt-cacher-ng' succeeds.

-- Package-specific info:

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

Kernel: Linux 3.10-2-amd64 (SMP w/8 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.50
ii  dpkg                   1.16.10
ii  init-system-helpers    1.8
ii  libbz2-1.0             1.0.6-5
ii  libc6                  2.17-92
ii  libgcc1                1:4.8.1-2
ii  liblzma5               5.1.1alpha+20120614-2
ii  libstdc++6             4.8.1-2
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
ii  perl          5.14.2-21

Versions of packages apt-cacher-ng suggests:
ii  curl      7.32.0-1
pn  doc-base  <none>
ii  libfuse2  2.9.2-4
ii  wget      1.14-2

-- Configuration Files:
/etc/apt-cacher-ng/backends_debian changed:
http://ftp.us.debian.org/debian/

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

-- debconf information:
  apt-cacher-ng/gentargetmode: No automated setup

Reply via email to