[Discuss] Ubuntu 22.04 apt-get problem
Craig Miller
cvmiller at gmail.com
Sat Mar 25 14:48:58 PDT 2023
HI Bernie,
Have you tried doing a:
sudo apt-get update
first?
I have had older packages which are no longer in the repo (because there
is a newer version) and had apt-get fail for that reason.
Craig...
On 3/25/23 14:30, bctill wrote:
> Hello all --
>
> I'm trying to install the g++ compiler on Ubuntu 22.04.1 LTS, and I
> get the following:
>
> $ sudo apt-get install g++
> Reading package lists... Done
> Building dependency tree... Done
> Reading state information... Done
> 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 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.
>
> Running
>
> $ dpkg --get-selections | grep hold
>
> returns me nothing at all. I am new to Linux, so I have no idea what
> to do next.
>
> Does anyone know how to resolve this issue?
>
> Regards,
> -- Bernie.
>
> _______________________________________________
> Discuss mailing list
> Discuss at vlug.org
> http://vlug.org/mailman/listinfo/discuss_vlug.org
--
IPv6 is the future, the future is here
ipv6hawaii.org
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://vlug.org/pipermail/discuss_vlug.org/attachments/20230325/53124a7e/attachment.html>
More information about the Discuss
mailing list