Bug#135305: gcc-doc: Installing gcc-doc removes g++, gcc, etc
Package: gcc-doc
Version: N/A; reported 2002-02-23
Severity: important
I've just dist-upgraded from debian 2.2 (stable "potato") to
debian 3.0 (testing "woody").
When i try to install gcc-doc (I think it was uninstalled during
the dist-upgrade), apt-get wants to remove g++, gcc and several
other packages:
# apt-get -uyds install gcc-doc
Reading Package Lists... Done
Building Dependency Tree... Done
The following packages will be REMOVED:
g++ g++-2.95 gcc gcc-2.95 libstdc++2.10-dev task-c++-dev
The following NEW packages will be installed:
gcc-doc
0 packages upgraded, 1 newly installed, 6 to remove and 0 not upgraded.
Remv task-c++-dev (0.5 )
Remv g++ (2:2.95.4-9 Debian:testing) [g++-2.95 ]
Remv g++-2.95 (1:2.95.4-1 Debian:testing) [libstdc++2.10-dev ]
Remv libstdc++2.10-dev (1:2.95.4-1 Debian:testing)
Remv gcc (2:2.95.4-9 Debian:testing) [gcc-2.95 ]
Remv gcc-2.95 (1:2.95.4-1 Debian:testing)
Inst gcc-doc (1:2.95.2-20 Debian:testing)
Conf gcc-doc (1:2.95.2-20 Debian:testing)
Below I've provided the entries for gcc-doc, g++, g++-2.95, gcc,
gcc-2.95 and libstdc++2.10-dev from "apt-cache dumpavail", just in
case this might help:
Package: gcc-doc
Priority: optional
Section: doc
Installed-Size: 519
Maintainer: Debian GCC maintainers <gcc@packages.debian.org>
Architecture: all
Source: gcc (2.95.2-20)
Version: 1:2.95.2-20
Replaces: gcc (<=2.7.2.3-4.3), egcs-docs (<< 2.95), gcc-docs (<< 2.95.2)
Provides: egcs-docs
Conflicts: gcc-docs (<< 2.95.2), egcs-docs (<< 2.95)
Filename: pool/main/g/gcc/gcc-doc_2.95.2-20_all.deb
Size: 475824
MD5sum: f55512b3a16cd5d66a582af8f6c28127
Description: Documentation for the GNU compilers (gcc, gobjc, g++).
Documentation for the GNU compilers in info format.
Package: g++
Priority: standard
Section: devel
Installed-Size: 10
Maintainer: Debian GCC maintainers <debian-gcc@lists.debian.org>
Architecture: i386
Source: gcc-defaults (0.16)
Version: 2:2.95.4-9
Provides: c++-compiler
Depends: cpp (>= 2:2.95.4-9), g++-2.95, gcc-2.95
Filename: pool/main/g/gcc-defaults/g++_2.95.4-9_i386.deb
Size: 1198
MD5sum: 4c7d7919b27dc4ad37d719ed1921c7b9
Description: The GNU C++ compiler.
The default GNU C++ compiler for Debian GNU/Linux systems.
.
This is currently version 2.95.4 for this architecture (i386).
Task: c-dev
Package: g++-2.95
Priority: standard
Section: devel
Installed-Size: 2276
Maintainer: Debian GCC maintainers <debian-gcc@lists.debian.org>
Architecture: i386
Source: gcc-2.95 (2.95.4.ds8-1)
Version: 1:2.95.4-1
Replaces: gcc (<= 2.7.2.3-3)
Provides: c++-compiler
Depends: g++ (>= 1:2.95.3-2), libc6 (>= 2.2.4-4), gcc-2.95 (>= 1:2.95.4), gcc-2.95 (<< 1:2.95.5), libstdc++2.10-dev (>= 1:2.95.4)
Suggests: gcc-2.95-doc (>= 1:2.95.4)
Filename: pool/main/g/gcc-2.95/g++-2.95_2.95.4-1_i386.deb
Size: 1029156
MD5sum: a1c560b7b08a6c8cd5bf65f3240d9c38
Description: The GNU C++ compiler.
NOTE: This is not a final release, but taken from the CVS gcc-2_95-branch
(dated 2001-10-02).
.
This is the GNU C++ compiler, a fairly portable optimizing compiler for C++.
Package: gcc
Priority: standard
Section: devel
Installed-Size: 14
Maintainer: Debian GCC maintainers <debian-gcc@lists.debian.org>
Architecture: i386
Source: gcc-defaults (0.16)
Version: 2:2.95.4-9
Provides: c-compiler
Depends: cpp (>= 2:2.95.4-9), gcc-2.95, cpp-2.95
Recommends: libc-dev
Suggests: make, manpages-dev, autoconf, automake, libtool, flex, bison, gdb
Conflicts: gcc-doc (<< 1:2.95.3)
Filename: pool/main/g/gcc-defaults/gcc_2.95.4-9_i386.deb
Size: 3288
MD5sum: 25c87f68c7c735cb2fac70bad7a23599
Description: The GNU C compiler.
The default GNU C compiler for Debian GNU/Linux systems.
.
This is currently version 2.95.4 for this architecture (i386).
Task: c-dev
Package: gcc-2.95
Priority: standard
Section: devel
Installed-Size: 2244
Maintainer: Debian GCC maintainers <debian-gcc@lists.debian.org>
Architecture: i386
Source: gcc-2.95 (2.95.4.ds8-1)
Version: 1:2.95.4-1
Replaces: egcc
Provides: c-compiler
Depends: gcc (>= 1:2.95.3-2), libc6 (>= 2.2.4-4), cpp-2.95 (>= 1:2.95.4), cpp-2.95 (<< 1:2.95.5), binutils (>= 2.11.90.0.1-1)
Recommends: libc-dev
Suggests: gcc-2.95-doc (>= 1:2.95.4), task-devel-common
Conflicts: libc5-dev, egcc (<< 2.91.63-1.1)
Filename: pool/main/g/gcc-2.95/gcc-2.95_2.95.4-1_i386.deb
Size: 951256
MD5sum: f9bd0b107f7521b9e72d436366210119
Description: The GNU C compiler.
NOTE: This is not a final release, but taken from the CVS gcc-2_95-branch
(dated 2001-10-02).
.
This is the GNU C compiler, a fairly portable optimizing compiler which
supports multiple languages. This package includes support for C, C++,
and Objective C.
Package: libstdc++2.10-dev
Priority: standard
Section: devel
Installed-Size: 1944
Maintainer: Debian GCC maintainers <debian-gcc@lists.debian.org>
Architecture: i386
Source: gcc-2.95 (2.95.4.ds8-1)
Version: 1:2.95.4-1
Provides: libstdc++-dev
Depends: libstdc++2.10-glibc2.2 (>= 1:2.95.4), libc6-dev (>= 2.1.95), g++-2.95 (>= 1:2.95.4)
Suggests: stl-manual
Conflicts: libg++27-dev, libg++272-dev (<< 2.7.2.8-1), libstdc++2.8-dev, libg++2.8-dev, libstdc++2.9-dev, libstdc++2.9-glibc2.1-dev
Filename: pool/main/g/gcc-2.95/libstdc++2.10-dev_2.95.4-1_i386.deb
Size: 298446
MD5sum: ff2437b1727a61aafba76458ae3d1d81
Description: The GNU stdc++ library (development files)
NOTE: This is not a final release, but taken from the CVS gcc-2_95-branch
(dated 2001-10-02).
.
This package contains the headers and static library files necessary for
building C++ programs which use libstdc++. Be advised that this only works
with the GNU C++ compiler (version 2.95), and no earlier library will work it.
By the way, there are two other gcc doc packages: gcc-2.95-doc and
gcc-3.0-doc. Both these seems to behave correctly:
# apt-get -uyds install gcc-3.0-doc
Reading Package Lists... Done
Building Dependency Tree... Done
The following NEW packages will be installed:
gcc-3.0-doc
0 packages upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Inst gcc-3.0-doc (1:3.0.3-1 Debian:testing)
Conf gcc-3.0-doc (1:3.0.3-1 Debian:testing)
# apt-get -uyds install gcc-2.95-doc
Reading Package Lists... Done
Building Dependency Tree... Done
The following NEW packages will be installed:
gcc-2.95-doc
0 packages upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Inst gcc-2.95-doc (1:2.95.4-1 Debian:testing)
Conf gcc-2.95-doc (1:2.95.4-1 Debian:testing)
I find it a little peculiar that noone has spotted this bug before
me, so the reason may of course be that I'm doing something
extremely stupid here. In that case I appologize for wasting your
time with this.
At least this has teached me to always do a simulated install
("apt-get -s install foo") before the real thing... :)
-- System Information
Debian Release: 3.0
Architecture: i386
Kernel: Linux ad 2.2.17 #1 Sun Jun 25 09:24:41 EST 2000 i686
Locale: LANG=C, LC_CTYPE=en_US.ISO-8859-1
Erik Warendorph <erik.warendorph@start.no>
Reply to: