[Discuss] Ubuntu 22.04 apt-get problem

bctill bctill at ece.uvic.ca
Sun Mar 26 08:56:37 PDT 2023


Hi Znoteer --

Good call.  I hadn't thought to try that.  Here's what happens when I 
do:

$ sudo apt-get update
[sudo] password for user:
Get:1 http://security.ubuntu.com/ubuntu jammy-security InRelease [110 
kB]
Hit:2 http://ca.archive.ubuntu.com/ubuntu jammy InRelease
Get:3 http://security.ubuntu.com/ubuntu jammy-security/main amd64 DEP-11 
Metadata [41.6 kB]
Get:4 http://security.ubuntu.com/ubuntu jammy-security/universe amd64 
DEP-11 Metadata [18.6 kB]
Fetched 170 kB in 1s (202 kB/s)
Reading package lists... Done

However it makes no difference to the apt-get install g++ command.  I 
still get the same results.

Regards,
-- Bernie.

On 2023-03-25 14:40, Znoteer wrote:
> On Sat, Mar 25, 2023 at 02:30:08PM -0700, 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++
> 
> Sorry if this is too obvious, but you said you were new, so, did you 
> run "apt-get update" before running the intall command?



More information about the Discuss mailing list