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

Ralf Mardorf kde.lists at yahoo.com
Mon Mar 13 06:10:20 UTC 2023


On Sun, 2023-03-12 at 22:16 -0700, klu wrote:
> sudo apt install libc-dev
> E: Unable to correct problems, you have held broken packages.

Hi,

first of all I wonder, if you updated the package index files, IOW run

sudo apt update && sudo apt full-upgrade && sudo apt install libc-dev

or at least run

sudo apt update && sudo apt install libc-dev

However, I don't know if in your case you probably first need to follow
the advice mentioned by the error message and unhold a package.

sudo apt-mark unhold packagename

I wonder if "held broken packages" errors do point to hold packages only
or if this error also appears, if packages are "quasi" hold by missing
to resynchronize the package index files.

https://packages.ubuntu.com/jammy/libc6-dev         2.35-0ubuntu3
https://packages.ubuntu.com/jammy-updates/libc6-dev 2.35-0ubuntu3.1

Regards,
Ralf




More information about the ubuntu-users mailing list