[Bug 1926918] Re: cannot install libc6-dev, requires old libc6 version
Nik Lev
1926918 at bugs.launchpad.net
Sun Aug 8 01:27:56 UTC 2021
To avoid to have many packages to be removed you need to downgrade all
the 9.3 packages.
~~~~~~~~~
First find them.
nikau at nikubuntu:~$ dpkg -l | grep 2.31-0ubuntu9.3
ii libc-bin 2.31-0ubuntu9.3 amd64 GNU C Library: Binaries
ii libc-dev-bin 2.31-0ubuntu9.3 amd64 GNU C Library: Development binaries
ii libc6:amd64 2.31-0ubuntu9.3 amd64 GNU C Library: Shared libraries
ii libc6-dbg:amd64 2.31-0ubuntu9.3 amd64 GNU C Library: detached debugging symbols
ii libc6-dev:amd64 2.31-0ubuntu9.3 amd64 GNU C Library: Development Libraries and Header Files
ii libc6-i386 2.31-0ubuntu9.3 amd64 GNU C Library: 32-bit shared libraries for AMD64
ii locales 2.31-0ubuntu9.3 all GNU C Library: National Language (locale) data [support]
~~~~~~~~~
Then downgrade them all.
nikau at nikubuntu:~$ sudo apt install libc-bin=2.31-0ubuntu9.2 libc-dev-bin=2.31-0ubuntu9.2 libc6:amd64=2.31-0ubuntu9.2 libc6-dbg:amd64=2.31-0ubuntu9.2 libc6-dev:amd64=2.31-0ubuntu9.2 libc6-i386=2.31-0ubuntu9.2 locales=2.31-0ubuntu9.2
[sudo] Mot de passe de nikau :
Lecture des listes de paquets... Fait
Construction de l'arbre des dépendances
Lecture des informations d'état... Fait
Paquets suggérés :
glibc-doc
Les paquets suivants seront mis à une VERSION INFÉRIEURE :
libc-bin libc-dev-bin libc6 libc6-dbg libc6-dev libc6-i386 locales
0 mis à jour, 0 nouvellement installés, 7 remis à une version inférieure, 0 à enlever et 0 non mis à jour.
Inst libc6-dbg [2.31-0ubuntu9.3] (2.31-0ubuntu9.2 Ubuntu:20.04/focal-updates [amd64]) []
Inst libc6-i386 [2.31-0ubuntu9.3] (2.31-0ubuntu9.2 Ubuntu:20.04/focal-updates [amd64]) []
Inst libc6-dev [2.31-0ubuntu9.3] (2.31-0ubuntu9.2 Ubuntu:20.04/focal-updates [amd64]) []
Inst libc-dev-bin [2.31-0ubuntu9.3] (2.31-0ubuntu9.2 Ubuntu:20.04/focal-updates [amd64]) []
Inst libc6 [2.31-0ubuntu9.3] (2.31-0ubuntu9.2 Ubuntu:20.04/focal-updates [amd64])
Conf libc6 (2.31-0ubuntu9.2 Ubuntu:20.04/focal-updates [amd64])
Inst locales [2.31-0ubuntu9.3] (2.31-0ubuntu9.2 Ubuntu:20.04/focal-updates [all])
Inst libc-bin [2.31-0ubuntu9.3] (2.31-0ubuntu9.2 Ubuntu:20.04/focal-updates [amd64])
Conf libc-bin (2.31-0ubuntu9.2 Ubuntu:20.04/focal-updates [amd64])
Conf libc6-dbg (2.31-0ubuntu9.2 Ubuntu:20.04/focal-updates [amd64])
Conf libc6-i386 (2.31-0ubuntu9.2 Ubuntu:20.04/focal-updates [amd64])
Conf libc6-dev (2.31-0ubuntu9.2 Ubuntu:20.04/focal-updates [amd64])
Conf libc-dev-bin (2.31-0ubuntu9.2 Ubuntu:20.04/focal-updates [amd64])
Conf locales (2.31-0ubuntu9.2 Ubuntu:20.04/focal-updates [all])
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to glibc in Ubuntu.
https://bugs.launchpad.net/bugs/1926918
Title:
cannot install libc6-dev, requires old libc6 version
Status in glibc package in Ubuntu:
In Progress
Bug description:
Current version of libc6:amd64 in Focal is 2.31-0ubuntu9.3. libc6-dev
requires 2.31-0ubuntu9.2 **only**. This prevents installation of
libc6-dev (as originally discovered while trying to install build-
essential, which also requires libc6-dev).
~~~~
root at nel-lg-gram:/home/nel# apt -f 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.
root at nel-lg-gram:/home/nel# dpkg --get-selections | grep libc6
libc6:amd64 install
libc6-dbg:amd64 install
root at nel-lg-gram:/home/nel# apt policy libc6
libc6:
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
~~~~
ProblemType: Bug
DistroRelease: Ubuntu 20.04
Package: libc6-dev (not installed)
ProcVersionSignature: Ubuntu 5.8.0-50.56~20.04.1-generic 5.8.18
Uname: Linux 5.8.0-50-generic x86_64
ApportVersion: 2.20.11-0ubuntu27.16
Architecture: amd64
CasperMD5CheckResult: skip
Date: Sun May 2 17:58:02 2021
InstallationDate: Installed on 2020-10-31 (183 days ago)
InstallationMedia: Ubuntu 20.04.1 LTS "Focal Fossa" - Release amd64 (20200731)
ProcEnviron:
TERM=xterm-256color
PATH=(custom, no user)
LANG=en_US.UTF-8
SHELL=/bin/bash
SourcePackage: glibc
UpgradeStatus: No upgrade log present (probably fresh install)
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/glibc/+bug/1926918/+subscriptions
More information about the foundations-bugs
mailing list