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

Bug#390093: gcc-4.1-doc: Overwrites copyright and Debian changelog of gcc-4.1-base



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



Reply to: