<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  </head>
  <body>
    <p>HI Bernie,</p>
    <p>Have you tried doing a:</p>
    <pre>sudo apt-get update</pre>
    <p>first?</p>
    <p>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.</p>
    <p>Craig...<br>
    </p>
    <div class="moz-cite-prefix">On 3/25/23 14:30, bctill wrote:<br>
    </div>
    <blockquote type="cite"
      cite="mid:d849808f9d64f4a122fab15a741c9c71@ece.uvic.ca">Hello all
      --
      <br>
      <br>
      I'm trying to install the g++ compiler on Ubuntu 22.04.1 LTS, and
      I get the following:
      <br>
      <br>
      $ sudo apt-get install g++
      <br>
      Reading package lists... Done
      <br>
      Building dependency tree... Done
      <br>
      Reading state information... Done
      <br>
      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:
      <br>
      <br>
      The following packages have unmet dependencies:
      <br>
       libc6-dev : Depends: libc6 (= 2.35-0ubuntu3) but 2.35-0ubuntu3.1
      is to be installed
      <br>
      E: Unable to correct problems, you have held broken packages.
      <br>
      <br>
      Running
      <br>
      <br>
      $ dpkg --get-selections | grep hold
      <br>
      <br>
      returns me nothing at all.  I am new to Linux, so I have no idea
      what to do next.
      <br>
      <br>
      Does anyone know how to resolve this issue?
      <br>
      <br>
      Regards,
      <br>
      -- Bernie.
      <br>
      <br>
      _______________________________________________
      <br>
      Discuss mailing list
      <br>
      <a class="moz-txt-link-abbreviated" href="mailto:Discuss@vlug.org">Discuss@vlug.org</a>
      <br>
      <a class="moz-txt-link-freetext" href="http://vlug.org/mailman/listinfo/discuss_vlug.org">http://vlug.org/mailman/listinfo/discuss_vlug.org</a>
      <br>
    </blockquote>
    <div class="moz-signature">-- <br>
      IPv6 is the future, the future is here<br>
      <a href="ipv6hawaii.org" class="moz-txt-link-freetext">ipv6hawaii.org</a></div>
  </body>
</html>