Welcome, Guest. Please login or register.
Did you miss your activation email?

Author Topic:  [SOLVED] Caution: cpp-8 Upgrade Will Cause Removals  (Read 13510 times)

Offline tranquil

  • User
  • Posts: 111
Code: [Select]
The following package was automatically installed and is no longer required:
  libmpx2
Use 'sudo apt autoremove' to remove it.
The following packages will be REMOVED:
  gcc-8 libgcc-8-dev
The following packages have been kept back:
  sshfs
The following packages will be upgraded:
  cpp-8 gcc-8-base libmpx2
3 upgraded, 0 newly installed, 2 to remove and 1 not upgraded.
Need to get 9,118 kB of archives.
After this operation, 42.9 MB disk space will be freed.
« Last Edit: 2020/03/29, 11:19:17 by tranquil »
Dual-booting Debian Stable and Unstable with Openbox window manager and Tint2 panel.

Offline sotnik

  • User
  • Posts: 105
Re: Caution: cpp-8 Upgrade Will Cause Removals
« Reply #1 on: 2020/03/27, 11:26:45 »
Quote
The following packages will be REMOVED:
  clang clang-8 clang-9 g++-8 gcc-8 gfortran-8 libclang-8-dev libclang-9-dev libclang-dev libdns1109 libgcc-8-dev libgfortran-8-dev libobjc-8-dev libstdc++-8-dev rstudio
The following NEW packages will be installed:
  bind9-dnsutils bind9-libs libdns-export1110 libdns1110 libprotobuf22
The following packages have been kept back:
  python-pip-whl python3-pip python3-virtualenv
The following packages will be upgraded:
  audacious audacious-plugins audacious-plugins-data bind9-host clang-7 console-setup console-setup-linux cpp-8 cpp-9 cryptsetup cryptsetup-bin cryptsetup-initramfs cryptsetup-run dirmngr
  dnsutils e2fsprogs fonts-croscore fonts-noto fonts-noto-core fonts-noto-extra fonts-noto-hinted fonts-noto-mono fonts-noto-ui-core fonts-noto-ui-extra fonts-noto-unhinted g++-9
  gcc-10-base gcc-8-base gcc-9 gcc-9-base gfortran-9 git git-man gnome-disk-utility gnupg gnupg-l10n gnupg-utils gnupg2 gpg gpg-agent gpg-wks-client gpg-wks-server gpgconf gpgsm gpgv
  gstreamer1.0-alsa gstreamer1.0-gl gstreamer1.0-gtk3 gstreamer1.0-plugins-base gstreamer1.0-plugins-good gstreamer1.0-pulseaudio gstreamer1.0-x isc-dhcp-client isc-dhcp-common
  keyboard-configuration krb5-locales lib32gcc-s1 lib32gcc1 lib32stdc++6 libasan5 libatomic1 libaudcore5 libaudgui5 libaudtag3 libbind9-161 libc-bin libc-dev-bin libc-l10n libc6 libc6-dev
  libc6-i386 libcc1-0 libclang-7-dev libclang-common-7-dev libclang1-7 libcom-err2 libcryptsetup12 libdvdnav4 libext2fs2 libffi-dev libffi7 libgcc-9-dev libgcc-s1 libgcc1 libgfortran-9-dev
  libgfortran5 libgomp1 libgssapi-krb5-2 libgstreamer-gl1.0-0 libgstreamer-plugins-base1.0-0 libhandy-0.0-0 libipc-system-simple-perl libirs161 libisc-export1105 libisc1105 libisccc161
  libisccfg163 libitm1 libk5crypto3 libkf5windowsystem-data libkf5windowsystem5 libkrb5-3 libkrb5support0 libllvm7 liblmdb0 liblsan0 liblwres161 libmpx2 libmtp-common libmtp-runtime
  libmtp9 libnautilus-extension1a libobjc-9-dev libobjc4 libomp-7-dev libomp5-7 libpcap0.8 libpq5 libprotobuf-c1 libqmi-glib5 libqmi-proxy libquadmath0 libsrtp2-1 libss2 libstdc++-9-dev
  libstdc++6 libsvn1 libtsan0 libubsan1 libwnck-3-0 libwnck-3-common libxerces-c3.2 llvm-7 llvm-7-dev llvm-7-runtime locales logsave mkvtoolnix mosh mtools neofetch openjdk-11-jre
  openjdk-11-jre-headless pci.ids pppconfig python3-decorator python3-keyrings.alt python3-packaging python3-pikepdf r-doc-html r-mathlib r-recommended shared-mime-info strace vim-common
  vim-nox vim-runtime wpasupplicant xinput xxd
160 upgraded, 5 newly installed, 15 to remove and 3 not upgraded.
Need to get 0 B/346 MB of archives.
After this operation, 1,045 MB disk space will be freed.
Do you want to continue? [Y/n] n
Abort.

Also
libdns-export1110 bug https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=954736

Offline Pip

  • User
  • Posts: 161
Re: Caution: cpp-8 Upgrade Will Cause Removals
« Reply #2 on: 2020/03/27, 11:28:18 »
Not sure if you need gcc-8 if you've got gcc-9 installed. I allowed it to go. That might have been the wrong move, and I still have gcc-7 in place. But nothing immediately catastrophic has occurred.

Offline Pip

  • User
  • Posts: 161
Re: Caution: cpp-8 Upgrade Will Cause Removals
« Reply #3 on: 2020/03/27, 11:30:08 »
And for libdns1109, isn't that replaced by libdns1110?

orca

  • Guest
Re: Caution: cpp-8 Upgrade Will Cause Removals
« Reply #4 on: 2020/03/27, 18:48:25 »
Hi there.

I think the issue I will report below might be related to this original post. At any rate, I will possibly create a new post here in the forum as well, if I am not succesful.

I use Linux Debian sid, its most uptodate branch. Rarely do I have problems with RStudio installation. However, after a last full-upgrade, carried out yesterday, Mar 26, 2020, my former fully operational RStudio (preview version) stopped working. In fact, it was somehow removed...

To fix this, I downloaded the latest preview version, 1.3.929-amd64.deb, for Ubuntu 18/Debian 10 (64-bit) and tried to install it, via dpkg:

# dpkg -i rstudio-1.3.929-amd64.deb
Selecting previously unselected package rstudio.
(Reading database ... 721700 files and directories currently installed.)
Preparing to unpack rstudio-1.3.929-amd64.deb ...
Unpacking rstudio (1.3.929) ...
dpkg: dependency problems prevent configuration of rstudio:
 rstudio depends on libclang-dev; however:
  Package libclang-dev is not installed.

dpkg: error processing package rstudio (--install):
 dependency problems - leaving unconfigured
Processing triggers for mime-support (3.64) ...
Processing triggers for desktop-file-utils (0.24-1) ...
Processing triggers for hicolor-icon-theme (0.17-2) ...
Processing triggers for shared-mime-info (1.15-1) ...
Errors were encountered while processing:
 rstudio

If I try to install libclang-dev, I get the following:

# apt install libclang-dev
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
 libclang-dev : Depends: libclang-9-dev (>= 9~) but it is not going to be installed
E: Unable to correct problems, you have held broken packages.

If I try installing libclang-9-dev, then I get:

# apt install libclang-9-dev
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
 libclang-9-dev : Depends: libstdc++-8-dev but it is not going to be installed
                  Depends: libgcc-8-dev but it is not going to be installed
                  Depends: libobjc-8-dev but it is not going to be installed
E: Unable to correct problems, you have held broken packages.

If I try to install libstdc++-8-dev, for instance, I get:

# apt install libstdc++-8-dev
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
 libstdc++-8-dev : Depends: libgcc-8-dev (= 8.4.0-2) but it is not going to be installed
E: Unable to correct problems, you have held broken packages.

If I try then to install libgcc-8-dev, I get:

# apt install libgcc-8-dev
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
 libgcc-8-dev : Depends: libgcc-s1 (>= 1:8.4.0-2) but 10-20200324-1 is to be installed
E: Unable to correct problems, you have held broken packages.

In fact, when I try to install libgcc-s1, I get:

apt install libgcc-s1
Reading package lists... Done
Building dependency tree       
Reading state information... Done
libgcc-s1 is already the newest version (10-20200324-1).

________

I have looked up several messages and posts here and elsewhere, with no success. Any directions to fix this up????

Thanks in advance.

Offline hendrikL

  • Administrator
  • User
  • *****
  • Gravatar
  • Posts: 927
Re: Caution: cpp-8 Upgrade Will Cause Removals
« Reply #5 on: 2020/03/27, 19:01:43 »
@ orca
i think its time for a bug report!
libclang-9-dev can't be installed, because .....
Set it to grave, then someone will react.

Code: [Select]
~$ LANG=C apt depends  libclang-dev
libclang-dev
  Depends: libclang-9-dev (>= 9~)

hhl@hhl:~$ LANG=C apt depends  libclang-9-dev
libclang-9-dev
  Depends: libstdc++-8-dev
  Depends: libgcc-8-dev
  Depends: libobjc-8-dev
  Depends: libclang1-9 (= 1:9.0.1-10)
  Depends: libclang-common-9-dev (= 1:9.0.1-10)

hhl@hhl:~$ LANG=C apt depends libgcc-8-dev
libgcc-8-dev
  Depends: gcc-8-base (= 8.4.0-2)
  Depends: libgcc-s1 (>= 1:8.4.0-2)
  Depends: libgomp1 (>= 8.4.0-2)
  Depends: libitm1 (>= 8.4.0-2)
  Depends: libatomic1 (>= 8.4.0-2)
  Depends: libasan5 (>= 8.4.0-2)
  Depends: liblsan0 (>= 8.4.0-2)
  Depends: libtsan0 (>= 8.4.0-2)
  Depends: libubsan1 (>= 8.4.0-2)
  Depends: libmpx2 (>= 8.4.0-2)
  Depends: libquadmath0 (>= 8.4.0-2)
  Recommends: libc6-dev (>= 2.13-5)
  Replaces: gccgo-8 (<< 8.4.0-2)

hhl@hhl:~$ LANG=C rmadison libgcc-s1
libgcc-s1  | 10-20200324-1 | buildd-unstable | mips64el
libgcc-s1  | 10-20200324-1 | testing         | amd64, arm64, armel, armhf, i386, mips64el, mipsel, ppc64el, s390x
libgcc-s1  | 10-20200324-1 | unstable        | amd64, arm64, armel, armhf, i386, mips64el, mipsel, ppc64el, s390x

orca

  • Guest
Re: Caution: cpp-8 Upgrade Will Cause Removals
« Reply #6 on: 2020/03/27, 19:09:54 »
Sorry, I have never done a bug report :-(. Could someone help with it?
Thanks

orca

  • Guest
Re: Caution: cpp-8 Upgrade Will Cause Removals
« Reply #7 on: 2020/03/27, 19:37:08 »
I guess I have somehow reported the bug to the package libclang-9-dev; am not sure, however...

Offline sotnik

  • User
  • Posts: 105
Re: Caution: cpp-8 Upgrade Will Cause Removals
« Reply #8 on: 2020/03/27, 19:40:32 »
@orca rstudio will be removed if you proceed with the upgrade.Until the problem is fixed you may try to use RKWard. Actually, most of the time is much better than rstudio.

orca

  • Guest
Re: Caution: cpp-8 Upgrade Will Cause Removals
« Reply #9 on: 2020/03/27, 21:02:48 »
Dear sotnik,
I guess RKward does not have the same resources at all as RStudio (rmarkdown support, including running specific chunks and the whole document; github integration; projects, etc). Does it?

Offline tranquil

  • User
  • Posts: 111
Re: Caution: cpp-8 Upgrade Will Cause Removals
« Reply #10 on: 2020/03/28, 00:13:23 »
Sorry, I have never done a bug report :-(. Could someone help with it?
Thanks

Complete Guide to Bug Reporting in Debian Linux

Also
libdns-export1110 bug https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=954736

I allowed that package to be installed and have not noticed any issues. There was mention in the bug report about isc-dhcp-server not compiling, but I do not have that package installed on either of my machines.

Not sure if you need gcc-8 if you've got gcc-9 installed. I allowed it to go. That might have been the wrong move, and I still have gcc-7 in place. But nothing immediately catastrophic has occurred.

Thank you for that info. I'll keep that in mind, but I'm currently placing cpp-8 on hold prior to dist-upgrading and then remove the hold afterwards.
« Last Edit: 2020/03/28, 00:24:36 by tranquil »
Dual-booting Debian Stable and Unstable with Openbox window manager and Tint2 panel.

orca

  • Guest
Re: Caution: cpp-8 Upgrade Will Cause Removals
« Reply #11 on: 2020/03/28, 01:05:16 »
Hi there,
Would it be considered normal to have gcc-7 and gcc-9 installed, as I do have in my system, and then gcc-8 uninstallable. I think this is a main culprit for this mess... Would it be wise to try and install it from another release, if possible, or this might have unpleasant consequences?
I think,  during my last full-upgrade, other packages have been removed as well (such as gfortran-8, for instance).
Can anyone confirm that, under a vanilla fully-upgraded siduction, libclang-dev is actually uninstallable, please?

Thanks

Offline unklarer

  • User
  • Posts: 816
Re: Caution: cpp-8 Upgrade Will Cause Removals
« Reply #12 on: 2020/03/28, 09:55:53 »
I did the DU on 25-03-2020 on a test machine because I noticed this "grave" error of libdns-export.
Since I was able to work with this machine without any problems in the following time, I did the DU also on my productive machine on the following day, the 26th.
This is the result:



Note:
Contrary to my usual practice, I have not yet executed "autoremove".   ;)



This thread is in the meantime a complete mess of different problems.

In general, I would like to emphasize that I ONLY work with apt, read and handle what HE tells me! That's why I never had to uninstall packets one by one because they block DU.   :P

Offline Camelot

  • User
  • Posts: 81
Re: Caution: cpp-8 Upgrade Will Cause Removals
« Reply #13 on: 2020/03/29, 10:09:58 »
Code: [Select]
apt full-upgrade
The following package was automatically installed and is no longer required:
  cpp-8
Use 'apt autoremove' to remove it.
The following packages will be REMOVED:
  gcc-8 libgcc-8-dev
The following packages will be upgraded:
  cpp-8 gcc-8-base libmpx2
3 upgraded, 0 newly installed, 2 to remove and 0 not upgraded.

Code: [Select]
apt install libgcc-8-dev
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
 libgcc-8-dev : Depends: libgcc-s1 (>= 1:8.4.0-2) but 10-20200324-1 is to be installed

Bug #955223:
Quote
Not a bug in libgcc-s1, and gcc-8 is scheduled for removal.

Offline tranquil

  • User
  • Posts: 111
Re: [SOLVED] Caution: cpp-8 Upgrade Will Cause Removals
« Reply #14 on: 2020/03/29, 11:29:26 »
pip was correct. gcc-8 was no longer needed. I performed...

Code: [Select]
apt-cache rdepends gcc-8
which generated the following:

Code: [Select]
gcc-8
Reverse Depends:
  fixincludes
 |nvidia-cuda-toolkit
  gobjc-8
  gnat-8
  gfortran-8
  gccgo-8
  gccbrig-8
  gcc-8-plugin-dev
  gcc-8-offload-nvptx
  gcc-8-multilib
  gcc-8-locales
  gcc-8-hppa64-linux-gnu
  g++-8

All but one package, linux-compiler-gcc-8-x86 (not listed above) was not installed on my system and the aforementioned package was flagged for autoremoval, so I let it go.
Dual-booting Debian Stable and Unstable with Openbox window manager and Tint2 panel.