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

Jeffrey Walton noloader at gmail.com
Mon Mar 13 05:35:49 UTC 2023


On Mon, Mar 13, 2023 at 1:18 AM klu <kludev at gmail.com> 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.

That sounds like a Phased Update
(https://askubuntu.com/questions/1431940/what-are-phased-updates-and-why-does-ubuntu-use-them).

If you can install the update with `aptitude safe-install`, then it
was a phased update. If you cannot install it with aptitude, then it
is a problem with the package.

Unfortunately, there's no way to know the difference without
attempting to perform the install. (Awful user interface design
decision).

Jeff



More information about the ubuntu-users mailing list