Package: base-files Version: 11 Severity: wishlist X-Debbugs-Cc: j...@joshtriplett.org
It's common to use dpkg's path-exclude mechanism to exclude documentation. Excluding /usr/share/info, however, results in this error when configuring base-files: Setting up base-files (11) ... cp: cannot create regular file '/usr/share/info/dir': No such file or directory dpkg: error processing package base-files (--install): installed base-files package post-installation script subprocess returned error exit status 1 Please consider making the postinst handle /usr/share/info not existing. It looks like that would just require a [ -d /usr/share/info ] added to the existing condition guarding the installation of /usr/share/info/dir. (For reference, the dash package recently fixed a similar issue that prevented excluding /usr/share/man: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=974825 .) -- System Information: Debian Release: bullseye/sid APT prefers unstable-debug APT policy: (500, 'unstable-debug'), (500, 'unstable'), (1, 'experimental-debug'), (1, 'experimental') Architecture: amd64 (x86_64) Kernel: Linux 5.9.0-4-amd64 (SMP w/4 CPU threads) Locale: LANG=C.UTF-8, LC_CTYPE=C.UTF-8 (charmap=UTF-8), LANGUAGE not set Shell: /bin/sh linked to /bin/dash Init: systemd (via /run/systemd/system) Versions of packages base-files depends on: ii mawk [awk] 1.3.4.20200120-2 base-files recommends no packages. base-files suggests no packages. -- no debconf information