seduction
 Language:
Welcome, Guest. Please login or register.
Did you miss your activation email?
2020/12/05, 01:13:28


Help

Author [EN] [PL] [ES] [PT] [IT] [DE] [FR] [NL] [TR] [SR] [AR] [RU] Topic: [SOLVED] Caution: cpp-8 Upgrade Will Cause Removals  (Read 8050 times)

0 Members and 1 Guest are viewing this topic.

Offline vayu

  • User
  • Posts: 222
Re: [SOLVED] Caution: cpp-8 Upgrade Will Cause Removals
« Reply #15 on: 2020/03/29, 15:15:27 »
My reverse depends look ok, but the actual delete screws up clang for me. I know I want clang. So I think I should leave gcc-8 on hold for a while:
Code: [Select]
sudo apt-get remove gcc-8 -s
Code: [Select]
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:
 clang-9 : 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: Error, pkgProblemResolver::Resolve generated breaks, this may be caused by held packages.

Offline vayu

  • User
  • Posts: 222
Re: [SOLVED] Caution: cpp-8 Upgrade Will Cause Removals
« Reply #16 on: 2020/03/29, 15:21:14 »
I have a feeling the whole thing is because libgcc-s1 has that strange version number. 
Code: [Select]
libgcc-8-dev : Depends: libgcc-s1 (>= 1:8.4.0-2) but 10-20200324-1 is to be installedI think I'll wait for a while, usually stuff like that gets fixed after a while.

Offline hendrikL

  • User
  • Posts: 451
Re: [SOLVED] Caution: cpp-8 Upgrade Will Cause Removals
« Reply #17 on: 2020/03/30, 08:37:00 »
@orca,

what you can do/try, is to install it from testing, if this is wise I can't say.

But as long as the situation  doesn't change, reading the bug reports

https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=955144
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=955223#10

you have to find another solution.

Test it first with "apt -s" and find out what is needed and what happen.
Like this example
Code: [Select]
~# LANG=C apt -s install -t testing gcc-8/testing libgcc-8-dev/testing  gcc-8-base/testing libmpx2/testing libclang-9-dev/testing libstdc++-8-dev/testing libc6-dev/testing

Reading package lists... Done
Building dependency tree       
Reading state information... Done
Selected version '8.4.0-1' (Debian:testing [amd64]) for 'gcc-8'
Selected version '8.4.0-1' (Debian:testing [amd64]) for 'cpp-8' because of 'gcc-8'
Selected version '8.4.0-1' (Debian:testing [amd64]) for 'libgcc-8-dev'
Selected version '8.4.0-1' (Debian:testing [amd64]) for 'gcc-8-base'
Selected version '8.4.0-1' (Debian:testing [amd64]) for 'libmpx2'
Selected version '1:9.0.1-10' (Debian:testing, Debian:unstable [amd64]) for 'libclang-9-dev'
Selected version '1:9.0.1-10' (Debian:testing, Debian:unstable [amd64]) for 'libclang-common-9-dev' because of 'libclang-9-dev'
Selected version '10-20200324-1' (Debian:testing, Debian:unstable [amd64]) for 'lib32gcc-s1' because of 'libclang-common-9-dev'
Selected version '2.30-2' (Debian:testing [amd64]) for 'libc6-i386' because of 'lib32gcc-s1'
Selected version '2.30-2' (Debian:testing [amd64]) for 'libc6' because of 'libc6-i386'
Selected version '10-20200324-1' (Debian:testing, Debian:unstable [amd64]) for 'lib32stdc++6' because of 'libclang-common-9-dev'
Selected version '1:10-20200324-1' (Debian:testing, Debian:unstable [amd64]) for 'lib32gcc1' because of 'lib32stdc++6'
Selected version '8.4.0-1' (Debian:testing [amd64]) for 'libstdc++-8-dev'
Selected version '2.30-2' (Debian:testing [amd64]) for 'libc6-dev'
Selected version '2.30-2' (Debian:testing [amd64]) for 'libc-dev-bin' because of 'libc6-dev'
The following packages were automatically installed and are no longer required:
  [...]
Use 'apt autoremove' to remove them.
The following additional packages will be installed:
  cpp-8 lib32gcc-s1 lib32gcc1 lib32stdc++6 libc-dev-bin libc6 libc6-i386 libclang-common-9-dev libclang1-9 libobjc-8-dev
Suggested packages:
  gcc-8-locales gcc-8-multilib gcc-8-doc glibc-doc libstdc++-8-doc
The following NEW packages will be installed:
  gcc-8 lib32gcc-s1 lib32gcc1 lib32stdc++6 libc6-i386 libclang-9-dev libclang-common-9-dev libclang1-9 libgcc-8-dev libobjc-8-dev libstdc++-8-dev
The following packages will be DOWNGRADED:
  cpp-8 gcc-8-base libc-dev-bin libc6 libc6-dev libmpx2
0 upgraded, 11 newly installed, 6 downgraded, 0 to remove and 0 not upgraded.
Inst libc6-dev [2.30-4] (2.30-2 Debian:testing [amd64]) []
Inst libc-dev-bin [2.30-4] (2.30-2 Debian:testing [amd64]) []
Inst libc6 [2.30-4] (2.30-2 Debian:testing [amd64])
Conf libc6 (2.30-2 Debian:testing [amd64])
Inst libmpx2 [8.4.0-2] (8.4.0-1 Debian:testing [amd64]) []
Inst cpp-8 [8.4.0-2] (8.4.0-1 Debian:testing [amd64]) []
Inst gcc-8-base [8.4.0-2] (8.4.0-1 Debian:testing [amd64])
Inst libgcc-8-dev (8.4.0-1 Debian:testing [amd64])
Inst gcc-8 (8.4.0-1 Debian:testing [amd64])
Inst libc6-i386 (2.30-2 Debian:testing [amd64])
Inst lib32gcc-s1 (10-20200324-1 Debian:testing, Debian:unstable [amd64])
Inst lib32gcc1 (1:10-20200324-1 Debian:testing, Debian:unstable [amd64])
Inst lib32stdc++6 (10-20200324-1 Debian:testing, Debian:unstable [amd64])
Inst libstdc++-8-dev (8.4.0-1 Debian:testing [amd64])
Inst libobjc-8-dev (8.4.0-1 Debian:testing [amd64])
Inst libclang1-9 (1:9.0.1-10 Debian:testing, Debian:unstable [amd64])
Inst libclang-common-9-dev (1:9.0.1-10 Debian:testing, Debian:unstable [amd64])
Inst libclang-9-dev (1:9.0.1-10 Debian:testing, Debian:unstable [amd64])
Conf libc6-dev (2.30-2 Debian:testing [amd64])
Conf libc-dev-bin (2.30-2 Debian:testing [amd64])
Conf libmpx2 (8.4.0-1 Debian:testing [amd64])
Conf cpp-8 (8.4.0-1 Debian:testing [amd64])
Conf gcc-8-base (8.4.0-1 Debian:testing [amd64])
Conf libgcc-8-dev (8.4.0-1 Debian:testing [amd64])
Conf gcc-8 (8.4.0-1 Debian:testing [amd64])
Conf libc6-i386 (2.30-2 Debian:testing [amd64])
Conf lib32gcc-s1 (10-20200324-1 Debian:testing, Debian:unstable [amd64])
Conf lib32gcc1 (1:10-20200324-1 Debian:testing, Debian:unstable [amd64])
Conf lib32stdc++6 (10-20200324-1 Debian:testing, Debian:unstable [amd64])
Conf libstdc++-8-dev (8.4.0-1 Debian:testing [amd64])
Conf libobjc-8-dev (8.4.0-1 Debian:testing [amd64])
Conf libclang1-9 (1:9.0.1-10 Debian:testing, Debian:unstable [amd64])
Conf libclang-common-9-dev (1:9.0.1-10 Debian:testing, Debian:unstable [amd64])
Conf libclang-9-dev (1:9.0.1-10 Debian:testing, Debian:unstable [amd64])

And then set it to hold with apt-mark.

Offline drb

  • User
  • Posts: 164
Re: [SOLVED] Caution: cpp-8 Upgrade Will Cause Removals
« Reply #18 on: 2020/03/30, 11:28:51 »
Strange. du -dV says gcc-8 8.4.0-1 to be removed, but synaptic (diagnostic only!) shows it wants to be upgraded to 8.4.0-2. Also:
Code: [Select]
apt-cache policy gcc-8
gcc-8:
  Installed: 8.4.0-1
  Candidate: 8.4.0-2
  Version table:
     8.4.0-2 500
        500 http://httpredir.debian.org/debian unstable/main amd64 Packages
 *** 8.4.0-1 500
        500 http://http.debian.net/debian testing/main amd64 Packages
        100 /var/lib/dpkg/status
« Last Edit: 2020/03/30, 11:36:16 by drb »

Offline sotnik

  • User
  • Posts: 68
Re: [SOLVED] Caution: cpp-8 Upgrade Will Cause Removals
« Reply #19 on: 2020/03/30, 16:29:12 »
I don't think that the problem is solved.
apt and synaptic agree for the packages to be removed.
Code: [Select]
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 libgcc-8-dev libgfortran-8-dev libobjc-8-dev libstdc++-8-dev python-pip rstudio
The last week, I have made selective upgrades because apt upgrade installs libdns-export1110 that has bugs and can not be on hold.
« Last Edit: 2020/03/30, 16:36:56 by sotnik »

Offline vayu

  • User
  • Posts: 222
Re: [SOLVED] Caution: cpp-8 Upgrade Will Cause Removals
« Reply #20 on: 2020/03/30, 17:43:00 »
Code: [Select]
The last week, I have made selective upgrades because apt upgrade installs libdns-export1110 that has bugs and can not be on hold.
Code: [Select]
$ apt-listbugs list libdns-export1110
Code: [Select]
Retrieving bug reports... Done
Parsing Found/Fixed information... Done
critical bugs of libdns-export1110 (→ ) <Outstanding>
 b1 - #954736 - Upgrade to 9.16.1-1 causes dhcpd to die with SIGABRT

Notice it says upgrade to 9.16.1-1 causes dhcpd to die, but the version installed with libdns-export1110 is 9.11.17

Code: [Select]
apt policy libdns-export1110
libdns-export1110:
  Installed: 1:9.11.17+dfsg-4

Offline sotnik

  • User
  • Posts: 68
Re: [SOLVED] Caution: cpp-8 Upgrade Will Cause Removals
« Reply #21 on: 2020/03/30, 23:33:38 »
Thank you vayuI will upgrade.

Offline sotnik

  • User
  • Posts: 68
Re: [SOLVED] Caution: cpp-8 Upgrade Will Cause Removals
« Reply #22 on: 2020/04/01, 02:10:50 »
Hello orca

Try to install libclang-dev from experimental and then rstudio installs without problems.I just tried it in a new installation of siduction.
Regards.

Offline hendrikL

  • User
  • Posts: 451
Re: [SOLVED] Caution: cpp-8 Upgrade Will Cause Removals
« Reply #23 on: 2020/04/01, 10:33:11 »
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=955144#63

Code: [Select]
~$ rmadison libclang-9-dev
libclang-9-dev | 1:9.0.1-10    | testing         | amd64, arm64, armel, armhf, i386, mips64el, mipsel, ppc64el, s390x
libclang-9-dev | 1:9.0.1-10    | unstable        | amd64, arm64, armel, armhf, i386, mips64el, mipsel, ppc64el, s390x
libclang-9-dev | 1:9.0.1-11    | buildd-unstable | amd64, arm64, armhf, i386, ppc64el, s390x
libclang-9-dev | 1:9.0.1-11    | unstable        | amd64, arm64, armhf, i386, ppc64el, s390x

So after the next sync or tomorrow libclang-9-dev should be installable on a pure "debian sid"..
Code: [Select]
~$ LANG=C apt -s install libclang-9-dev
[...]
The following additional packages will be installed:
  lib32gcc-s1 lib32gcc1 lib32stdc++6 libc6-i386 libclang-common-9-dev libclang1-9 libllvm9 libobjc-9-dev
The following NEW packages will be installed:
  lib32gcc-s1 lib32gcc1 lib32stdc++6 libc6-i386 libclang-9-dev libclang-common-9-dev libclang1-9 libobjc-9-dev
The following packages will be upgraded:
  libllvm9
1 upgraded, 8 newly installed, 0 to remove and 10 not upgraded.
Inst libc6-i386 (2.30-4 Debian:unstable [amd64])
Inst lib32gcc-s1 (10-20200324-1 Debian:unstable [amd64])
Inst lib32gcc1 (1:10-20200324-1 Debian:unstable [amd64])
Inst lib32stdc++6 (10-20200324-1 Debian:unstable [amd64])
Inst libobjc-9-dev (9.3.0-8 Debian:unstable [amd64])
Inst libllvm9 [1:9.0.1-10] (1:9.0.1-11 Debian:buildd-unstable [amd64])
Inst libclang1-9 (1:9.0.1-11 Debian:buildd-unstable [amd64])
Inst libclang-common-9-dev (1:9.0.1-11 Debian:buildd-unstable [amd64])
Inst libclang-9-dev (1:9.0.1-11 Debian:buildd-unstable [amd64])
Conf libc6-i386 (2.30-4 Debian:unstable [amd64])
Conf lib32gcc-s1 (10-20200324-1 Debian:unstable [amd64])
Conf lib32gcc1 (1:10-20200324-1 Debian:unstable [amd64])
Conf lib32stdc++6 (10-20200324-1 Debian:unstable [amd64])
Conf libobjc-9-dev (9.3.0-8 Debian:unstable [amd64])
Conf libllvm9 (1:9.0.1-11 Debian:buildd-unstable [amd64])
Conf libclang1-9 (1:9.0.1-11 Debian:buildd-unstable [amd64])
Conf libclang-common-9-dev (1:9.0.1-11 Debian:buildd-unstable [amd64])
Conf libclang-9-dev (1:9.0.1-11 Debian:buildd-unstable [amd64])