Linux Mint (Gloria Release 7 ) - Installing GNU C++ Compiler

Quick to answer questions about finding your way around Linux Mint as a new user.
Forum rules
There are no such things as "stupid" questions. However if you think your question is a bit stupid, then this is the right place for you to post it. Stick to easy to-the-point questions that you feel people can answer fast. For long and complicated questions use the other forums in the support section.
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Locked
shakti

Linux Mint (Gloria Release 7 ) - Installing GNU C++ Compiler

Post by shakti »

:(
I am using linux mint - gloria as the guest os using virtual box on a win7 64 bit host os.

I need to install a g++ compiler but "apt-get install g++ "wont work -

Code: Select all

root123-laptop sanjay # apt-get install g++
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following extra packages will be installed:
  g++-4.3 libstdc++6-4.3-dev
Suggested packages:
  g++-multilib g++-4.3-multilib gcc-4.3-doc libstdc++6-4.3-dbg
  libstdc++6-4.3-doc
The following NEW packages will be installed:
  g++ g++-4.3 libstdc++6-4.3-dev
0 upgraded, 3 newly installed, 0 to remove and 45 not upgraded.
Need to get 5520kB of archives.
After this operation, 19.1MB of additional disk space will be used.
Do you want to continue [Y/n]? y
WARNING: The following packages cannot be authenticated!
  libstdc++6-4.3-dev g++-4.3 g++
Authentication warning overridden.
Err http://archive.ubuntu.com jaunty/main libstdc++6-4.3-dev 4.3.3-5ubuntu4
  404 Not Found [IP: 91.189.92.201 80]
Err http://archive.ubuntu.com jaunty/main g++-4.3 4.3.3-5ubuntu4
  404 Not Found [IP: 91.189.92.201 80]
Err http://archive.ubuntu.com jaunty/main g++ 4:4.3.3-1ubuntu1
  404 Not Found [IP: 91.189.92.201 80]
Failed to fetch http://archive.ubuntu.com/ubuntu/pool/main/g/gcc-4.3/libstdc++6-4.3-dev_4.3.3-5ubuntu4_i386.deb  404 Not Found [IP: 91.189.92.201 80]
Failed to fetch http://archive.ubuntu.com/ubuntu/pool/main/g/gcc-4.3/g++-4.3_4.3.3-5ubuntu4_i386.deb  404 Not Found [IP: 91.189.92.201 80]
Failed to fetch http://archive.ubuntu.com/ubuntu/pool/main/g/gcc-defaults/g++_4.3.3-1ubuntu1_i386.deb  404 Not Found [IP: 91.189.92.201 80]
E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?

I have tried using "update" but it generated a similar error.

when i entered the url in frefox it showed up 404 error

Is there any way to fix this error in the repository index?
Can u provide link for a tutorial which can help me setup the g++ from the source code ?
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 1 time in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
mank_in

Re: Linux Mint (Gloria Release 7 ) - Installing GNU C++ Comp

Post by mank_in »

LM 7 Gloria is Obsolete since October 2010. I think the repository is closed.
The current supported:
-LM 9 Isadora ( Long term support release, supported until April 2013 )
-LM 12 Lisa ( Supported until April 2013 )
-LM 13 Maya ( Long term support release , supported until April 2017 )
-LM 14 Nadia ( Supported until April 2014 )
shakti

Re: Linux Mint (Gloria Release 7 ) - Installing GNU C++ Comp

Post by shakti »

Thankyou for your prompt reply ...

Upgrading to the new versions ...on my way... :D
Locked

Return to “Beginner Questions”