PDA

View Full Version : Error Updating/Installing in Ubuntu 13.04



f2010185
December 28th, 2013, 01:11 AM
I was trying to install git in my ubuntu using application manager.and got a "Required installation of untrusted packages error".i followed a few forums and tried to run sudo apt-get updateand i got this error
Err http://extras.ubuntu.com raring Release.gpg
Could not connect to 172.16.0.20:8080 (172.16.0.20), connection timed out
Err http://in.archive.ubuntu.com raring Release.gpg
Could not connect to 172.16.0.20:8080 (172.16.0.20), connection timed out
Err http://security.ubuntu.com raring-security Release.gpg
Could not connect to 172.16.0.20:8080 (172.16.0.20), connection timed out
Err http://dl.google.com stable Release.gpg
Could not connect to 172.16.0.20:8080 (172.16.0.20), connection timed out
Err http://in.archive.ubuntu.com raring-updates Release.gpg
Unable to connect to 172.16.0.20:8080:
Err http://in.archive.ubuntu.com raring-backports Release.gpg
Unable to connect to 172.16.0.20:8080:
Reading package lists... Done
W: Failed to fetch http://in.archive.ubuntu.com/ubuntu/dists/raring/Release.gpg Could not connect to 172.16.0.20:8080 (172.16.0.20), connection timed out

W: Failed to fetch http://in.archive.ubuntu.com/ubuntu/dists/raring-updates/Release.gpg Unable to connect to 172.16.0.20:8080:

W: Failed to fetch http://in.archive.ubuntu.com/ubuntu/dists/raring-backports/Release.gpg Unable to connect to 172.16.0.20:8080:

W: Failed to fetch http://security.ubuntu.com/ubuntu/dists/raring-security/Release.gpg Could not connect to 172.16.0.20:8080 (172.16.0.20), connection timed out

W: Failed to fetch http://extras.ubuntu.com/ubuntu/dists/raring/Release.gpg Could not connect to 172.16.0.20:8080 (172.16.0.20), connection timed out

W: Failed to fetch http://dl.google.com/linux/talkplugin/deb/dists/stable/Release.gpg Could not connect to 172.16.0.20:8080 (172.16.0.20), connection timed out

W: Some index files failed to download. They have been ignored, or old ones used instead.
i thought it was a problem with the network connection and tried pinging google.com and it was working perfectly.Can anyone please help me with this.i am new to ubuntu

tfrue
December 28th, 2013, 07:00 AM
Type:

sudo service networking restart

Then try and run 'sudo apt-get update'

Also, try and restart your computer, unplug your router for about 10 seconds then plug it back it.

Then we can go from there.

Thanks,
Chris

claracc
December 28th, 2013, 08:27 AM
You can try to change the server from which you download the software in repositories.

You can go yo the sources software gui, and then in settings window in tab ubuntu software, select other server to download the software.

Perhaps the server you are using 172.16.0.20 is overloaded.

f2010185
December 28th, 2013, 07:18 PM
is it sudo service networking-manager restart? it dint work :( and i tried connected to the main server as claracc suggested but then apt-get is not even able to read the package list.So there is a problem with network itself but i am not sure how to address it.

Iowan
December 28th, 2013, 07:18 PM
is it sudo service networking-manager restart? it dint work :(

sudo service network-manager restart

f2010185
December 28th, 2013, 07:23 PM
yes sorry there was a typo..i tried it.

sudo service network-manager restart
and then sudo ifconfig eth0 up and then sudo dhclient eth0

Bashing-om
December 28th, 2013, 08:10 PM
f2010185; Hi !

Networking is not my sphere of expertise, but sounds like you are not even getting out of your house.

What results from terminal code:


ping -c 3 8.8.8.8
which tries to contact Google's server( ip 8.8.8.8), 3 times; the result is an advisement of the connection.



my little bit to help

f2010185
December 28th, 2013, 08:50 PM
the ping gave me an expected result.it works.

I think the problem is that i am not able to connect to the software repository

Bashing-om
December 28th, 2013, 09:06 PM
f2010185; OK,

Next let's see if Domain Name Server is functional:


ping -c 3 ubuntu.com

If all still good, then;
So next is to determine the state of the package management system:
Post the outputs of terminal codes: (again)


sudo apt-get update
sudo apt-get upgrade


Did you change your mirror site per advisement ?



there is cause and effect

f2010185
December 28th, 2013, 09:36 PM
yeah everything went well.that's not the problem i guess...may be we have to change the repository ip in some dll(equivalent) files

Bashing-om
December 28th, 2013, 10:30 PM
f2010185;

All good now to where you can mark this thread as solved ?



all's well that ends well

f2010185
December 29th, 2013, 07:10 AM
no it's not resolved.

Bashing-om
December 29th, 2013, 05:50 PM
f2010185; Strange !

OK what results if you load the URL directly into your browser ?


http://in.archive.ubuntu.com/ubuntu/dists/raring/Release.gpg

You should get the "PGP SIGNATURE" ( I do when I test it ).
And maybe you no longer have a valid key on your system.
What returns from terminal command:


ls -la ~/.gnupg




look'n for a reason

mrgs
December 29th, 2013, 06:00 PM
@f2010185 , 13.04 has only one month of support left. Wasn't it better to do a fresh install of 13.10 now?