2

I do not know how to fix the following, and it's causing a huge delay on my progress on a research project:

(base) chaztikov@priority:~/git/modulus$ sudo apt-get install libc6-dev
Reading package lists... Done
Building dependency tree... Done
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.35-0ubuntu3) but 2.35-0ubuntu3.1 is to be installed E: Unable to correct problems, you have held broken packages.

Edit 1: Thanks for your comments so far, I apologize for the readability of the following

(base) chaztikov@priority:~/git/modulus$ sudo apt install libc6=2.31-0ubuntu9.2 libc-bin=2.31-0ubuntu9.2
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Package libc6 is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
However the following packages replace it:
  libc6:i386 libdb1-compat libnss-nisplus:i386 libnss-nis:i386 libcrypt1:i386
  libnss-nisplus libnss-nis libcrypt1

Package libc-bin is a virtual package provided by: libc-bin:i386 2.35-0ubuntu3 (= 2.35-0ubuntu3) You should explicitly select one to install.

E: Version '2.31-0ubuntu9.2' for 'libc6' was not found E: Version '2.31-0ubuntu9.2' for 'libc-bin' was not found (base) chaztikov@priority:~/git/modulus$ sudo apt install libc-bin Reading package lists... Done Building dependency tree... Done Reading state information... Done libc-bin is already the newest version (2.35-0ubuntu3.1). 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. (base) chaztikov@priority:~/git/modulus$ sudo apt install libc6=2.31-0ubuntu9.2 Reading package lists... Done Building dependency tree... Done Reading state information... Done Package libc6 is not available, but is referred to by another package. This may mean that the package is missing, has been obsoleted, or is only available from another source However the following packages replace it: libc6:i386 libdb1-compat libnss-nisplus:i386 libnss-nis:i386 libcrypt1:i386 libnss-nisplus libnss-nis libcrypt1

E: Version '2.31-0ubuntu9.2' for 'libc6' was not found (base) chaztikov@priority:~/git/modulus$ sudo aptitude install libc6 sudo: aptitude: command not found (base) chaztikov@priority:~/git/modulus$ sudo apt-get aptitude E: Invalid operation aptitude

(so at this point I installed aptitude-common)

(base) chaztikov@priority:~/git/modulus$ sudo apt install libc6=2.31-0ubuntu9.2
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Package libc6 is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
However the following packages replace it:
  libc6:i386 libdb1-compat libnss-nisplus:i386 libnss-nis:i386 libcrypt1:i386
  libnss-nisplus libnss-nis libcrypt1

E: Version '2.31-0ubuntu9.2' for 'libc6' was not found (base) chaztikov@priority:~/git/modulus$ sudo apt install libc6 Reading package lists... Done Building dependency tree... Done Reading state information... Done libc6 is already the newest version (2.35-0ubuntu3.1). 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. (base) chaztikov@priority:~/git/modulus$ sudo aptitude install libc6 libc6 is already installed at the requested version (2.35-0ubuntu3.1) libc6 is already installed at the requested version (2.35-0ubuntu3.1) No packages will be installed, upgraded, or removed. 0 packages upgraded, 0 newly installed, 0 to remove and 0 not upgraded. Need to get 0 B of archives. After unpacking 0 B will be used.

(base) chaztikov@priority:~/git/modulus$ sudo aptitude install libc6-bin Couldn't find any package whose name or description matched "libc6-bin" Unable to apply some actions, aborting (base) chaztikov@priority:~/git/modulus$ sudo aptitude install libc-bin libc-bin is already installed at the requested version (2.35-0ubuntu3.1) libc-bin is already installed at the requested version (2.35-0ubuntu3.1) No packages will be installed, upgraded, or removed. 0 packages upgraded, 0 newly installed, 0 to remove and 0 not upgraded. Need to get 0 B of archives. After unpacking 0 B will be used.

At this point, I am not sure what I should do, my intuition is that it has something to do with virtual packages...?

Should I try to install using, for example, selections from https://pkgs.org/search/?q=libc-bin and https://pkgs.org/search/?q=libc6

Chaztikov
  • 21
  • 1
  • 3

0 Answers0