Package: libstdc++6 Version: 6.3.0-18+deb9u1 Severity: important Dear Maintainer,
*** Reporter, please consider answering these questions, where appropriate *** * What led up to the situation? Installing g++-8 on Debian Stretch through the Debian Buster repository. Previously (some months ago) this was possible; I've done it several times, but some day, the dependencies changed, and when I updated g++, my system broke (I didn't check the warning from apt-get, which I should have done). When I did a clean install of Debian 9, I tried to do it again, and found that the dependencies of g++ caused xorg to be removed, and tracked it down to libstdc++6. * What exactly did you do (or not do) that was effective (or ineffective)? I read the dependencies of libstdc++6 through this command: $ apt-get install --simulate -V libstdc++6 $ apt-cache showpkg libstdc++6 * What was the outcome of this action? I expected a dependencies list that does not try to remove xorg. * What outcome did you expect instead? $ apt-cache showpkg libstdc++6 [...] Dependencies: 8.3.0-6 - gcc-8-base (5 8.3.0-6) libc6 (2 2.18) libgcc1 (2 1:4.2) scim (3 1.4.2-1) blockattack (1 1.4.1+ds1-2.1+b2) boo (1 0.9.5~git20110729.r1.202a430-2) c++-annotations (1 10.2.0-1) clustalx (1 2.1+lgpl-3) dff (1 1.3.0+dfsg.1-4.1+b3) digikam-private-libs (1 4:4.4.0-1.1+b2) dnsdist (3 1.3.3-3) emscripten (1 1.22.1-1) ergo (1 3.4.0-1) fceux (1 2.2.2+dfsg0-1) fiona (1 1.5.1-2) flush (1 0.9.12-3.1) freeorion (1 0.4.4+git20150327-2) fslview (1 4.0.1-4) fwbuilder (1 5.1.0-4) gcc-4.3 (3 4.3.6-1) gcc-4.4 (3 4.4.6-4) gcc-4.5 (3 4.5.3-2) gnote (1 3.16.2-1) gnudatalanguage (1 0.9.5-2+b2) innoextract (1 1.4-1+b1) lambda-align (3 1.0.3-5) libantlr-dev (1 2.7.7+dfsg-6) libapache2-mod-passenger (1 5.0.7-1) libaqbanking34-plugins (0 (null)) libaqsis1 (1 1.8.2-1) libassimp3 (1 3.0~dfsg-4) libboost-date-time1.54.0 (0 (null)) libboost-date-time1.55.0 (0 (null)) libchemps2-1 (1 1.5-1) libcpprest2.4 (1 2.4.0-2) libdap17 (1 3.14.0-2) libdapclient6 (1 3.14.0-2) libdapserver7 (1 3.14.0-2) libdavix0 (1 0.4.0-1+b1) libdballe6 (1 6.8-1) libdiet-admin2.8 (1 2.8.0-1+b3) libdiet-client2.8 (1 2.8.0-1+b3) libdiet-sed2.8 (1 2.8.0-1+b3) libfreefem++ (1 3.37.1-1) libgazebo5 (1 5.0.1+dfsg-2.1) libgetfem4++ (1 4.2.1~beta1~svn4635~dfsg-3+b1) libgmsh2 (1 2.9.3+dfsg1-1) libinsighttoolkit4.7 (1 4.7.2-2) libkolabxml1 (1 1.1.0-3) libktoblzcheck1c2a (0 (null)) liblhapdf0 (0 (null)) libllvm3.8 (0 (null)) libllvm3.9 (0 (null)) libllvm4.0 (0 (null)) libmarisa0 (1 0.2.4-8) libogre-1.8.0 (1 1.8.0+dfsg1-7+b1) libogre-1.9.0 (1 1.9.0+dfsg1-4) libopenwalnut1 (1 1.4.0~rc1+hg3a3147463ee2-1+b1) libpqxx-4.0 (1 4.0.1+dfsg-3) libpythia8 (0 (null)) libreoffice-core (1 1:4.4.5-2) librime1 (1 1.2+dfsg-2) libsimgrid3.14 (0 (null)) libusbguard0 (3 0.7.4+ds-1) libwibble-dev (1 1.1-1) libwreport2 (1 2.14-1) libxapian30 (1 1.4.1-1~bpo8+1) libxmltooling6 (1 1.5.3-2.1) lightspark (1 0.7.2+git20150512-2+b1) mednafen (3 1.22.1+dfsg-1) mira-assembler (1 4.9.5-1) mongodb (1 1:2.4.14-2) mongodb-server (1 1:2.4.14-2) ncbi-blast+ (1 2.2.30-4) nghttp2-proxy (3 1.36.0-2) openscad (1 2014.03+dfsg-1+b1) osm2pgsql (3 0.96.0+ds-2) osmcoastline (3 2.2.4-1) osmium-tool (3 1.10.0-1) passepartout (1 0.7.1-1.1) pdf2djvu (1 0.7.21-2) pdns-recursor (3 4.1.11-1) photoprint (1 0.4.2~pre2-2.3+b2) plastimatch (1 1.6.2+dfsg-1) plee-the-bear (1 0.6.0-3.1) poedit (3 2.2.1-2) povray (1 1:3.7.0.0-8) powertop (1 2.6.1-1) printer-driver-brlaser (1 3-3) psi4 (1 4.0~beta5+dfsg-2+b1) python-fiona (1 1.5.1-2) python-guiqwt (1 2.3.1-1) python-healpy (1 1.8.1-1+b1) python-htseq (1 0.5.4p3-2) python-imposm (1 2.5.0-3+b2) python-pyosmium (3 2.15.1-1) python-pysph (1 0~20150606.gitfa26de9-5) python-rasterio (1 0.24.0-1) python-scipy (1 0.14.1-1) python-sfml (1 2.2~git20150611.196c88+dfsg-1+b1) python3-fiona (1 1.5.1-2) python3-pyosmium (3 2.15.1-1) python3-scipy (1 0.14.1-1) python3-sfml (1 2.2~git20150611.196c88+dfsg-1+b1) python3-taglib (1 0.3.6+dfsg-2+b2) realtimebattle (1 1.0.8-14) ruby-passenger (1 5.0.7-1) schroot (1 1.6.10-1+b1) seer (3 1.1.4-2) sqlitebrowser (1 3.5.1-3) tecnoballz (1 0.93.1-6) undertaker (3 1.6.1-4.2) wesnoth-1.12-core (1 1:1.12.4-1) widelands (1 1:18-3+b1) xflr5 (1 6.09.06-2) libstdc++6-8-dbg (3 4.9.0-3) 6.3.0-18+deb9u1 - gcc-6-base (5 6.3.0-18+deb9u1) libc6 (2 2.18) libgcc1 (2 1:4.2) scim (3 1.4.2-1) blockattack (1 1.4.1+ds1-2.1+b2) boo (1 0.9.5~git20110729.r1.202a430-2) c++-annotations (1 10.2.0-1) clustalx (1 2.1+lgpl-3) dff (1 1.3.0+dfsg.1-4.1+b3) digikam-private-libs (1 4:4.4.0-1.1+b2) emscripten (1 1.22.1-1) ergo (1 3.4.0-1) fceux (1 2.2.2+dfsg0-1) fiona (1 1.5.1-2) flush (1 0.9.12-3.1) freeorion (1 0.4.4+git20150327-2) fslview (1 4.0.1-4) fwbuilder (1 5.1.0-4) gcc-4.3 (3 4.3.6-1) gcc-4.4 (3 4.4.6-4) gcc-4.5 (3 4.5.3-2) gnote (1 3.16.2-1) gnudatalanguage (1 0.9.5-2+b2) innoextract (1 1.4-1+b1) libantlr-dev (1 2.7.7+dfsg-6) libapache2-mod-passenger (1 5.0.7-1) libaqsis1 (1 1.8.2-1) libassimp3 (1 3.0~dfsg-4) libboost-date-time1.54.0 (0 (null)) libboost-date-time1.55.0 (0 (null)) libchemps2-1 (1 1.5-1) libcpprest2.4 (1 2.4.0-2) libdap17 (1 3.14.0-2) libdapclient6 (1 3.14.0-2) libdapserver7 (1 3.14.0-2) libdavix0 (1 0.4.0-1+b1) libdballe6 (1 6.8-1) libdiet-admin2.8 (1 2.8.0-1+b3) libdiet-client2.8 (1 2.8.0-1+b3) libdiet-sed2.8 (1 2.8.0-1+b3) libfreefem++ (1 3.37.1-1) libgazebo5 (1 5.0.1+dfsg-2.1) libgetfem4++ (1 4.2.1~beta1~svn4635~dfsg-3+b1) libgmsh2 (1 2.9.3+dfsg1-1) libinsighttoolkit4.7 (1 4.7.2-2) libkolabxml1 (1 1.1.0-3) libmarisa0 (1 0.2.4-8) libogre-1.8.0 (1 1.8.0+dfsg1-7+b1) libogre-1.9.0 (1 1.9.0+dfsg1-4) libopencv-core2.4 (0 (null)) libopenmpi1.6 (0 (null)) libopenwalnut1 (1 1.4.0~rc1+hg3a3147463ee2-1+b1) libpqxx-4.0 (1 4.0.1+dfsg-3) libreoffice-core (1 1:4.4.5-2) librime1 (1 1.2+dfsg-2) libsigc++-2.0-0c2a (1 2.4.1-1+b1) libwibble-dev (1 1.1-1) libwreport2 (1 2.14-1) libxmltooling6 (1 1.5.3-2.1) lightspark (1 0.7.2+git20150512-2+b1) mira-assembler (1 4.9.5-1) mongodb (1 1:2.4.14-2) mongodb-server (1 1:2.4.14-2) ncbi-blast+ (1 2.2.30-4) openscad (1 2014.03+dfsg-1+b1) passepartout (1 0.7.1-1.1) pdf2djvu (1 0.7.21-2) photoprint (1 0.4.2~pre2-2.3+b2) plastimatch (1 1.6.2+dfsg-1) plee-the-bear (1 0.6.0-3.1) povray (1 1:3.7.0.0-8) powertop (1 2.6.1-1) printer-driver-brlaser (1 3-3) psi4 (1 4.0~beta5+dfsg-2+b1) python-fiona (1 1.5.1-2) python-guiqwt (1 2.3.1-1) python-healpy (1 1.8.1-1+b1) python-htseq (1 0.5.4p3-2) python-imposm (1 2.5.0-3+b2) python-pysph (1 0~20150606.gitfa26de9-5) python-rasterio (1 0.24.0-1) python-scipy (1 0.14.1-1) python-sfml (1 2.2~git20150611.196c88+dfsg-1+b1) python3-fiona (1 1.5.1-2) python3-scipy (1 0.14.1-1) python3-sfml (1 2.2~git20150611.196c88+dfsg-1+b1) python3-taglib (1 0.3.6+dfsg-2+b2) realtimebattle (1 1.0.8-14) ruby-passenger (1 5.0.7-1) schroot (1 1.6.10-1+b1) sqlitebrowser (1 3.5.1-3) tecnoballz (1 0.93.1-6) wesnoth-1.12-core (1 1:1.12.4-1) widelands (1 1:18-3+b1) xflr5 (1 6.09.06-2) libstdc++6-6-dbg (3 4.9.0-3) $ apt-get install --simulate -V libstdc++6 NOTE: This is only a simulation! apt-get needs root privileges for real execution. Keep also in mind that locking is deactivated, so don't depend on the relevance to the real current situation! Reading package lists... Done Building dependency tree Reading state information... Done The following packages were automatically installed and are no longer required: fonts-linuxlibertine (5.3.0-4) fonts-sil-gentium (20081126:1.03-2) fonts-sil-gentium-basic (1.102-1) hyphen-en-us (2.8.8-7) libbsh-java (2.0b4-19) libreoffice (1:6.1.5-3) libreoffice-help-en-us (1:6.1.5-3) libreoffice-librelogo (1:6.1.5-3) libreoffice-nlpsolver (0.9+LibO6.1.5-3) libreoffice-ogltrans (1:6.1.5-3) libreoffice-pdfimport (1:6.1.5-3) libreoffice-script-provider-bsh (1:6.1.5-3) libreoffice-script-provider-js (1:6.1.5-3) libreoffice-script-provider-python (1:6.1.5-3) libreoffice-wiki-publisher (1.2.0+LibO6.1.5-3) libtxc-dxtn-s2tc (1.0+git20151227-2) mythes-en-us (1:6.2.0-1) x11-apps (7.7+7) x11-session-utils (7.7+3) xbitmaps (1.1.1-2) xinit (1.4.0-1) Use 'apt autoremove' to remove them. The following additional packages will be installed: libdrm-amdgpu1 (2.4.97-1) libdrm2 (2.4.97-1) libxatracker2 (18.3.6-2) mesa-va-drivers (18.3.6-2) mesa-vdpau-drivers (18.3.6-2) task-english (3.53) task-print-server (3.53) tasksel (3.53) tasksel-data (3.53) The following packages will be REMOVED: libgl1-mesa-dri (18.3.6-2) libllvm3.9 (1:3.9.1-9) task-desktop (3.53) task-gnome-desktop (3.53) xorg (1:7.7+19) The following packages will be upgraded: libdrm-amdgpu1 (2.4.74-1 => 2.4.97-1) libdrm2 (2.4.74-1 => 2.4.97-1) libstdc++6 (6.3.0-18+deb9u1 => 8.3.0-6) libxatracker2 (13.0.6-1+b2 => 18.3.6-2) mesa-va-drivers (13.0.6-1+b2 => 18.3.6-2) mesa-vdpau-drivers (13.0.6-1+b2 => 18.3.6-2) task-english (3.39 => 3.53) task-print-server (3.39 => 3.53) tasksel (3.39 => 3.53) tasksel-data (3.39 => 3.53) 10 upgraded, 0 newly installed, 5 to remove and 1467 not upgraded. Remv task-gnome-desktop [3.39] Remv task-desktop [3.39] Remv xorg [1:7.7+19] Remv libgl1-mesa-dri [13.0.6-1+b2] Inst libdrm2 [2.4.74-1] (2.4.97-1 Debian:testing [amd64]) Inst libdrm-amdgpu1 [2.4.74-1] (2.4.97-1 Debian:testing [amd64]) Inst mesa-vdpau-drivers [13.0.6-1+b2] (18.3.6-2 Debian:testing [amd64]) Inst mesa-va-drivers [13.0.6-1+b2] (18.3.6-2 Debian:testing [amd64]) Inst libxatracker2 [13.0.6-1+b2] (18.3.6-2 Debian:testing [amd64]) Remv libllvm3.9 [1:3.9.1-9] Inst libstdc++6 [6.3.0-18+deb9u1] (8.3.0-6 Debian:testing [amd64]) Conf libstdc++6 (8.3.0-6 Debian:testing [amd64]) Inst tasksel-data [3.39] (3.53 Debian:testing [all]) [] Inst task-print-server [3.39] (3.53 Debian:testing [all]) [] Inst task-english [3.39] (3.53 Debian:testing [all]) [] Inst tasksel [3.39] (3.53 Debian:testing [all]) Conf libdrm2 (2.4.97-1 Debian:testing [amd64]) Conf libdrm-amdgpu1 (2.4.97-1 Debian:testing [amd64]) Conf mesa-vdpau-drivers (18.3.6-2 Debian:testing [amd64]) Conf mesa-va-drivers (18.3.6-2 Debian:testing [amd64]) Conf libxatracker2 (18.3.6-2 Debian:testing [amd64]) Conf tasksel-data (3.53 Debian:testing [all]) Conf task-print-server (3.53 Debian:testing [all]) Conf task-english (3.53 Debian:testing [all]) Conf tasksel (3.53 Debian:testing [all]) *** End of the template - remove these template lines *** -- System Information: Debian Release: 9.9 APT prefers stable-updates APT policy: (500, 'stable-updates'), (500, 'testing'), (500, 'stable') Architecture: amd64 (x86_64) Kernel: Linux 4.9.0-9-amd64 (SMP w/8 CPU cores) Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE=en_US.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Init: systemd (via /run/systemd/system) Versions of packages libstdc++6 depends on: ii gcc-6-base 6.3.0-18+deb9u1 ii libc6 2.28-10 ii libgcc1 1:8.3.0-6 libstdc++6 recommends no packages. libstdc++6 suggests no packages. -- no debconf information