[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#384923: Dangling slave link to cc.1.gz



Package: gcc
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/cc.1.gz is a dangling symlink

cc.1.gz is a slave link to gcc.1.gz, which no longer exists.  The 
attached patch removes the slave link.

-- 
Matt
diff -ru gcc-defaults-1.41-orig/debian/gcc.postinst gcc-defaults-1.41/debian/gcc.postinst
--- gcc-defaults-1.41-orig/debian/gcc.postinst	2006-08-26 08:20:51.000000000 -0700
+++ gcc-defaults-1.41/debian/gcc.postinst	2006-08-26 08:25:12.000000000 -0700
@@ -9,7 +9,6 @@
 
 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
 
 update-alternatives --quiet \
     --install /usr/bin/c89 c89 /usr/bin/c89-gcc 20 \

Reply to: