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

Hi,

If I'm trying to purge the apt-cacher-ng when /var/cache/apt-cacher-ng
is mounted on an other partition the postrm script fails as it's just
blindly trying to remove the directory.

As I guess that having the cache directory on an other partition is a
common setup, the maintainer scripts should check if it's a mountpoint
before trying to remove it.

Kind regards,

Laurent Bigonville

-- Package-specific info:

-- System Information:
Debian Release: buster/sid
  APT prefers unstable-debug
  APT policy: (500, 'unstable-debug'), (500, 'unstable'), (1, 
'experimental-debug'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.18.0-2-amd64 (SMP w/8 CPU cores)
Locale: LANG=fr_BE.UTF-8, LC_CTYPE=fr_BE.UTF-8 (charmap=UTF-8), 
LANGUAGE=fr_BE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: SELinux: enabled - Mode: Permissive - Policy name: refpolicy

Versions of packages apt-cacher-ng depends on:
ii  adduser                3.118
ii  debconf [debconf-2.0]  1.5.69
ii  dpkg                   1.19.2
ii  libbz2-1.0             1.0.6-9
ii  libc6                  2.28-1
ii  libgcc1                1:8.2.0-10
ii  liblzma5               5.2.2-1.3
ii  libssl1.1              1.1.1a-1
ii  libstdc++6             8.2.0-10
ii  libsystemd0            239-13
ii  libwrap0               7.6.q-27
ii  lsb-base               10.2018112800
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+b1
pn  doc-base      <none>
ii  libfuse2      2.9.8-2

-- Configuration Files:
/etc/apt-cacher-ng/security.conf [Errno 13] Permission non accordée: 
'/etc/apt-cacher-ng/security.conf'

-- debconf information excluded

Reply via email to