[Discuss] Ubuntu 22.04 apt-get problem

bctill bctill at ece.uvic.ca
Sun Mar 26 10:44:08 PDT 2023


Hi Peter --

Good idea.  Unfortunately, it didn't work.  I got exactly the same 
result as before.

I seem to recall that there is a way to downgrade to that version, but 
if I do, who knows what else will break...

Regards,
-- Bernie.

On 2023-03-26 10:03, Peter Willis wrote:
> It's complaining that the version of libc6-dev  has a specific 
> dependency on the  3.0 version of the 2.35 kernel build.
> You apparently have 3.1  version.
> 
> sudo apt-get install -f  libc6-dev g++
> 
> 
> '-f'  means force the install.
> 
> 
> 
> 
> 
>> On Mar 25, 2023, at 14:30, bctill <bctill at ece.uvic.ca> 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
> 
> 
> _______________________________________________
> Discuss mailing list
> Discuss at vlug.org
> http://vlug.org/mailman/listinfo/discuss_vlug.org



More information about the Discuss mailing list