Package: g++ Version: 4:4.1.1-6 The daily man-db cron job produces the following error:
> /etc/cron.daily/man-db: ... > mandb: warning: /usr/share/man/man1/c++.1.gz is a dangling symlink c++.1.gz is a slave link to g++.1.gz, which no longer exists. The attached patch removes the slave link. -- Matt
diff -ru gcc-defaults-1.41-orig/debian/g++.postinst gcc-defaults-1.41/debian/g++.postinst --- gcc-defaults-1.41-orig/debian/g++.postinst 2006-08-26 08:20:51.000000000 -0700 +++ gcc-defaults-1.41/debian/g++.postinst 2006-08-26 08:40:32.000000000 -0700 @@ -29,8 +29,7 @@ fi update-alternatives \ - --install /usr/bin/c++ c++ /usr/bin/g++ 20 \ - --slave /usr/share/man/man1/c++.1.gz c++.1.gz /usr/share/man/man1/g++.1.gz + --install /usr/bin/c++ c++ /usr/bin/g++ 20 #DEBHELPER#