I would suggest renaming the binary -doc packages, and providing the original ones.
Sven Joachim writes: > Package: gcc-4.1-doc-non-dfsg > Version: 4.1.1-nf1 > Severity: serious > > In previous versions of gcc-4.1-doc (up to 4.1.1-10), > /usr/share/doc/gcc-4.1-doc was a symlink to gcc-4.1-base. Because > dpkg follows the symlink when upgrading the package, your files end up > in /usr/share/doc/gcc-4.1-base, overwriting the files there (dpkg does > not detect that clash, unfortunately). > > To resolve this issue, I suggest you create a prescript which tests if > usr/share/doc/gcc-4.1-doc is a symlink and, if this is the case, > removes it. Note that you must take care to delete spurious files > from previous versions of the gcc-4.1-doc package in > usr/share/doc/gcc-4.1-base as well. > > Since the other packages built from the same source probably have the > same problem :-(, I've assigned this bug to the source package. > > Good luck in resolving this mess and thanks for packaging the GCC > documentation. > > > -- 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.18 > Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8) > > -- no debconf information > > > -- > To UNSUBSCRIBE, email to [EMAIL PROTECTED] > with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED] -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]