Ubutu , chaning the server .

Hi ,
I am trying to run my c++ code in ubuntu .. but it seems that g++ package is not installed .
when i execute these command
1
2
3
4
5
6
7
sudo apt-get -f install
sudo apt-get --fix-missing install
sudo apt-get upgrade
sudo apt-get clean
sudo apt-get update
sudo apt-get dist-upgrade
sudo apt-get --reinstall install build-essential


I get ...

W: Failed to fetch http://in.archive.ubuntu.com/ubuntu/dists/lucid-updates/multiverse/binary-i386/Packages.gz Unable to connect to in.archive.ubuntu.com:http: [IP: 91.189.88.30 80]

E: Some index files failed to download, they have been ignored, or old ones used instead.


I am confused now what to do .. but it come to my reading that after changing
the server from local to any another server ..this and then executing the commands these problem will be solved ...


Now my question is how do i change these server .

Thanks in advance ..
If you are connected to the net, just do `sudo apt-get update` then `sudo apt-get install build-essential`
Maybe you can change your update source server and try to update the apt index again
there is probably a network buffer overflow thus u should try to increase your buffer s to see if they will hold the other index files.
if that does not work then you try to get the individual files then try to download them individually.
use the following code
sudo apt get connection ['ip']
sudo apt get files(put the files list)
continue with the other code
Topic archived. No new replies allowed.