Package: dpkg Version: 1.15.7.2 Severity: wishlist I managed to have sufficiently few packages installed that I did not have /usr/share/man/man7 when I tried to install postgresql-client-common which has an alternative for various postgres man pages. This failed due to update-alternatives being unable to create the symlink for some of the man pages because the target directory did not exist.
It would be very nice if update-alternatives would ensure the target directory exists before creating symlinks. Obviously this is a very rare situation as most directories that alternatives target tend to already exist, but apparently it is possible to hit this situation. It took more than a decade of using Debian, but I hit it. -- System Information: Debian Release: 5.0.8 APT prefers oldstable APT policy: (500, 'oldstable') Architecture: i386 (x86_64) Kernel: Linux 2.6.32-bpo.5-amd64 (SMP w/8 CPU cores) Locale: LANG=en_CA.UTF-8, LC_CTYPE=en_CA.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/bash Versions of packages dpkg depends on: ii coreutils 6.10-6 The GNU core utilities ii libbz2-1. 1.0.5-1+lenny1 high-quality block-sorting file co ii libc6 2.7-18lenny7 GNU C Library: Shared libraries ii libselinu 2.0.65-5 SELinux shared libraries ii xz-utils 4.999.9beta+20100602-1~bpo50+1 XZ-format compression utilities ii zlib1g 1:1.2.3.3.dfsg-12 compression library - runtime dpkg recommends no packages. Versions of packages dpkg suggests: ii apt 0.7.20.2+lenny2.1 Advanced front-end for dpkg -- no debconf information -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org