Code:
$ sudo apt-get -s install build-essentialReading 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:
build-essential : Depends: libc6-dev but it is not going to be installed or
libc-dev
Depends: g++ (>= 4:9.2) but it is not going to be installed
E: Unable to correct problems, you have held broken packages.
Code:
$ apt policy libc6-devlibc6-dev:
Installed: (none)
Candidate: 2.31-0ubuntu9.2
Version table:
2.31-0ubuntu9.2 500
500 http://us.archive.ubuntu.com/ubuntu focal-updates/main amd64 Packages
2.31-0ubuntu9 500
500 http://us.archive.ubuntu.com/ubuntu focal/main amd64 Packages
Code:
$ sudo apt install libc6-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:
libc6-dev : Depends: libc6 (= 2.31-0ubuntu9.2) but 2.31-0ubuntu9.3 is to be installed
E: Unable to correct problems, you have held broken packages.
Code:
$ apt policy libc6libc6:
Installed: 2.31-0ubuntu9.3
Candidate: 2.31-0ubuntu9.3
Version table:
*** 2.31-0ubuntu9.3 100
100 /var/lib/dpkg/status
2.31-0ubuntu9.2 500
500 http://us.archive.ubuntu.com/ubuntu focal-updates/main amd64 Packages
2.31-0ubuntu9 500
500 http://us.archive.ubuntu.com/ubuntu focal/main amd64 Packages
I did a bunch of chasing with apt policy and trying to install. Ultimately the libc6 seems to be the issue. It is version 9.3 but stuff wants 9.2.
I tried eliminating both PPA's as well as dumping the packages themselves. No dice.
Bookmarks