Cannot install libc6-dev : Depends: libc6 (= 2.35-0ubuntu3) but 2.35-0ubuntu3.1 is to be installed
Keith
keithw at caramail.com
Tue Mar 21 14:30:20 UTC 2023
On 3/21/23 2:12 AM, klu wrote:
> Thanks Keith. Yes indeed those are commented out:
>
>>>> grep jammy-updates /etc/apt/sources.list
> # deb-src http://us.archive.ubuntu.com/ubuntu/ jammy-updates main restricted
> # deb-src http://us.archive.ubuntu.com/ubuntu/ jammy-updates universe
> # deb-src http://us.archive.ubuntu.com/ubuntu/ jammy-updates multiverse
>
>
> I uncommented them, changed deb-src to deb. Then apt update and apt upgrade.
>
> Problem solved now. Also do you know why I don't have the right
> entries in /etc/apt/sources.list?
>
> Thanks so much for the help!
>
[snipped]
Well, ok. Glad its working now, but that means that the those lines I
listed were missing rather than being commented out in your
sources.list. The deb-src lines allows apt to get the package lists for
the source packages the binary deb packages were built from. If you have
no need to examine the source code of packages and download them via
apt-get, then it's no big deal to not have them in your sources.list.
However, if you change you mind later, you'll need the deb-src lines
added back.
I'm afraid I don't know as to why they went missing in the first place,
though.
--
Keith
More information about the ubuntu-users
mailing list