Bug#403328: gcc-doc: file conflict with g++; missing conflicts or replaces
Package: gcc-doc
Version: 4:4.0.3-4
Severity: serious
Justification: Policy 7.5
Preparing to replace gcc-doc 4:4.0.3-4 (using .../gcc-doc_4%3a4.1.1.nf2_all.deb) ...
Removing old /usr/share/doc/gcc-doc symlink.
Unpacking replacement gcc-doc ...
dpkg: error processing /var/cache/apt/archives/gcc-doc_4%3a4.1.1.nf2_all.deb (--unpack):
trying to overwrite `/usr/share/man/man1/g++.1.gz', which is also in package g++
Errors were encountered while processing:
/var/cache/apt/archives/gcc-doc_4%3a4.1.1.nf2_all.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
I have g++ version 4.1.1-5.
-- System Information:
Debian Release: testing/unstable
APT prefers testing
APT policy: (300, 'testing'), (200, 'unstable'), (1, 'experimental')
Architecture: i386 (i686)
Shell: /bin/sh linked to /bin/bash
Kernel: Linux 2.6.17-1-686
Locale: LANG=fr_LU.UTF-8, LC_CTYPE=fr_LU.UTF-8 (charmap=UTF-8)
Versions of packages gcc-doc depends on:
ii gcc-4.0-doc 4.0.3-3 Documentation for the GNU compiler
gcc-doc recommends no packages.
-- no debconf information
Reply to: