Bug#384278: gcc: postinst installs dangling symlink for manpage
Package: gcc
Version: 4:4.1.1-6
Severity: normal
Today I got mail from the mandb cron script:
mandb: warning: /usr/share/man/man1/cc.1.gz is a dangling symlink
mandb: warning: /usr/share/man/man1/c++.1.gz is a dangling symlink
This is because the gcc postinst installs the following alternative:
,----
| update-alternatives --quiet \
| --install /usr/bin/cc cc /usr/bin/gcc 20 \
| --slave /usr/share/man/man1/cc.1.gz cc.1.gz /usr/share/man/man1/gcc.1.gz
`----
But /usr/share/man/man1/gcc.1.gz does not exist.
Note that the g++ package suffers from the same problem.
-- System Information:
Debian Release: testing/unstable
APT prefers unstable
APT policy: (500, 'unstable')
Architecture: i386 (i686)
Shell: /bin/sh linked to /bin/bash
Kernel: Linux 2.6.17.9
Locale: LANG=de_DE, LC_CTYPE=de_DE (charmap=ISO-8859-1)
Versions of packages gcc depends on:
ii cpp 4:4.1.1-6 The GNU C preprocessor (cpp)
ii gcc-4.1 4.1.1-11 The GNU C compiler
Versions of packages gcc recommends:
ii libc6-dev [libc-dev] 2.3.6.ds1-2 GNU C Library: Development Librari
-- no debconf information
Reply to: