Page 1 of 1

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

Posted: Wed Dec 05, 2012 12:35 am
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 ?

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

Posted: Wed Dec 05, 2012 12:52 am
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 )

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

Posted: Wed Dec 05, 2012 12:56 am
by shakti
Thankyou for your prompt reply ...

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