brianl, you need not kick yourself, Tinkster your friend was around to help. Thanks for your help.
But here is my situation. seems my source list is not uptodate as most connections do fail. Where can I get an updated sources list?
see below
banjika@s501022:~$ sudo apt-get install build-essential
[sudo] password for banjika:
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages were automatically installed and are no longer required:
graphicsmagick cpp-2.95 slib scm
Use 'apt-get autoremove' to remove them.
The following extra packages will be installed:
dpkg-dev g++ g++-4.1 libstdc++6-4.1-dev patch
Suggested packages:
debian-keyring g++-multilib g++-4.1-multilib gcc-4.1-doc libstdc++6-4.1-doc
diff-doc
The following NEW packages will be installed:
build-essential dpkg-dev g++ g++-4.1 libstdc++6-4.1-dev patch
0 upgraded, 6 newly installed, 0 to remove and 1 not upgraded.
Need to get 3995kB of archives.
After unpacking 14.6MB of additional disk space will be used.
Do you want to continue [Y/n]? y
Err
http://nz.archive.ubuntu.com gutsy/main libstdc++6-4.1-dev 4.1.2-16ubuntu2
Could not connect to nz.archive.ubuntu.com:80 (202.7.6.10), connection timed o
ut
Err
http://nz.archive.ubuntu.com gutsy/main g++-4.1 4.1.2-16ubuntu2
Connection failed
Err
http://nz.archive.ubuntu.com gutsy/main g++ 4:4.1.2-9ubuntu2
Connection failed
Err
http://nz.archive.ubuntu.com gutsy/main patch 2.5.9-4
Could not connect to nz.archive.ubuntu.com:80 (202.7.6.10), connection timed o ut
Err
http://nz.archive.ubuntu.com gutsy/main dpkg-dev 1.14.5ubuntu16
Connection failed
Err
http://nz.archive.ubuntu.com gutsy/main build-essential 11.3ubuntu1
Connection failed
Failed to fetch
http://nz.archive.ubuntu.com/ubuntu/...c-4.1/libstdc+ +6-4.1-dev_4.1.2-16ubuntu2_i386.deb Could not connect to nz.archive.ubuntu.com: 80 (202.7.6.10), connection timed out
Failed to fetch
http://nz.archive.ubuntu.com/ubuntu/...c-4.1/g++-4.1_ 4.1.2-16ubuntu2_i386.deb Connection failed
Failed to fetch
http://nz.archive.ubuntu.com/ubuntu/...c-defaults/g++ _4.1.2-9ubuntu2_i386.deb Connection failed
Failed to fetch
http://nz.archive.ubuntu.com/ubuntu/...atch/patch_2.5. 9-4_i386.deb Could not connect to nz.archive.ubuntu.com:80 (202.7.6.10), connec tion timed out
Failed to fetch
http://nz.archive.ubuntu.com/ubuntu/...pkg/dpkg-dev_1. 14.5ubuntu16_all.deb Connection failed
Failed to fetch
http://nz.archive.ubuntu.com/ubuntu/...ild-essential/ build-essential_11.3ubuntu1_i386.deb Connection failed
E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?
banjika@s501022:~$