Cannot install libc6-dev : Depends: libc6 (= 2.35-0ubuntu3) but 2.35-0ubuntu3.1 is to be installed
Keith
keithw at caramail.com
Sun Mar 19 16:46:08 UTC 2023
On 3/19/23 1:44 AM, klu wrote:
> Hi Keith,
>
> Thanks for helping out. Here's the output: https://termbin.com/iloa
>
> On Mon, Mar 13, 2023 at 8:43 AM Keith <keithw at caramail.com> wrote:
>>
>> On 3/13/23 12:16 AM, klu wrote:
>>> 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
>>>
>>
>> Can you post the resulting url from the following command?
>>
>> $ pkcon repo-list |grep Enabled |nc termbin.com 9999
>>
>>
>> --
>> Keith
>>
>>
>> --
>> ubuntu-users mailing list
>> ubuntu-users at lists.ubuntu.com
>> Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
>
The jammy-updates pocket isn't enabled. You should have some lines that
are spread throughout /etc/apt/sources.list like this:
deb http://us.archive.ubuntu.com/ubuntu/ jammy-updates main restricted
deb http://us.archive.ubuntu.com/ubuntu/ jammy-updates universe
deb http://us.archive.ubuntu.com/ubuntu/ jammy-updates multiverse
If they're commented out you'll need to uncomment them and rerun "sudo
apt update".
If they're missing, you'll need to add them and rerun "sudo apt update"
I'd would then would run "sudo apt upgrade" to install any updates from
that pocket (like libc6), and then try to install libc6-dev.
--
Keith
More information about the ubuntu-users
mailing list