Cannot install libc6-dev : Depends: libc6 (= 2.35-0ubuntu3) but 2.35-0ubuntu3.1 is to be installed

klu kludev at gmail.com
Mon Mar 13 05:16:55 UTC 2023


I have met this problem trying to install libc-dev. I have ubuntu
22.04 installed. I have tried apt update/upgrade but still failing. I
wonder what other information can help me pinpoint the issue. Thanks!

    >>> sudo apt install libc-dev
    Reading package lists... Done
    Building dependency tree... Done
    Reading state information... Done
    Note, selecting 'libc6-dev' instead of 'libc-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:
     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.


    >>> lsb_release -a
    No LSB modules are available.
    Distributor ID: Ubuntu
    Description:    Ubuntu 22.04.1 LTS
    Release:        22.04
    Codename:       jammy


    >>> file `realpath /bin/sh`
    /usr/bin/dash: ELF 64-bit LSB pie executable, x86-64, version 1
(SYSV), dynamically linked, interpreter /lib64/ld-linux-x86-64.so.2,
for GNU/Linux 3.2.0, stripped



More information about the ubuntu-users mailing list