Ubuntu – Failed to fetch http://url/filename.deb Could not resolve ‘proxy’

This issue is caused by switching from a proxy to a none-proxy network, even when the proxy has been set to direct internet connection and applied system wide if the system has not rebooted it still seems to be configured to be under that proxy.

The easiest way to fix it is to go to System > Preferences > Network Proxy. Here change to your networks correct proxy setup then click “Apply System-Wide..” you will be prompted to enter your root password twice and then it will be done. If this does not resolve the issue try logging out and back in again or even rebooting your system, this should have fixed it.

The full error I was having is after the break:

$ sudo apt-get install amsn
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages were automatically installed and are no longer required:
linux-headers-2.6.31-14 linux-headers-2.6.31-14-generic
Use 'apt-get autoremove' to remove them.
The following extra packages will be installed:
amsn-data libsnack2-alsa tcl-tls tcl8.5 tk8.5
Suggested packages:
docker libsnack2-doc tclreadline
The following NEW packages will be installed
amsn amsn-data libsnack2-alsa tcl-tls tcl8.5 tk8.5
0 upgraded, 6 newly installed, 0 to remove and 3 not upgraded.
Need to get 12.5MB of archives.
After this operation, 30.9MB of additional disk space will be used.
Do you want to continue [Y/n]? y
Err http://gb.archive.ubuntu.com karmic/universe amsn-data 0.98.1~debian-0ubuntu1
Could not resolve ‘cache.uwe.ac.uk’
Err http://gb.archive.ubuntu.com karmic/main tcl8.5 8.5.7-1
Could not resolve ‘cache.uwe.ac.uk’
Err http://gb.archive.ubuntu.com karmic/main tk8.5 8.5.7-1
Could not resolve ‘cache.uwe.ac.uk’
Err http://gb.archive.ubuntu.com karmic/universe tcl-tls 1.5.0.dfsg-9
Could not resolve ‘cache.uwe.ac.uk’
Err http://gb.archive.ubuntu.com karmic/universe libsnack2-alsa 2.2.10-dfsg1-8ubuntu1
Could not resolve ‘cache.uwe.ac.uk’
Err http://gb.archive.ubuntu.com karmic/universe amsn 0.98.1~debian-0ubuntu1
Could not resolve ‘cache.uwe.ac.uk’
Failed to fetch http://gb.archive.ubuntu.com/ubuntu/pool/universe/a/amsn/amsn-data_0.98.1~debian-0ubuntu1_all.deb Could not resolve ‘cache.uwe.ac.uk’
Failed to fetch http://gb.archive.ubuntu.com/ubuntu/pool/main/t/tcl8.5/tcl8.5_8.5.7-1_i386.deb Could not resolve ‘cache.uwe.ac.uk’
Failed to fetch http://gb.archive.ubuntu.com/ubuntu/pool/main/t/tk8.5/tk8.5_8.5.7-1_i386.deb Could not resolve ‘cache.uwe.ac.uk’
Failed to fetch http://gb.archive.ubuntu.com/ubuntu/pool/universe/t/tcltls/tcl-tls_1.5.0.dfsg-9_i386.deb Could not resolve ‘cache.uwe.ac.uk’
Failed to fetch http://gb.archive.ubuntu.com/ubuntu/pool/universe/s/snack/libsnack2-alsa_2.2.10-dfsg1-8ubuntu1_i386.deb Could not resolve ‘cache.uwe.ac.uk’
Failed to fetch http://gb.archive.ubuntu.com/ubuntu/pool/universe/a/amsn/amsn_0.98.1~debian-0ubuntu1_i386.deb Could not resolve ‘cache.uwe.ac.uk’
E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?

Leave a Reply

You can use these HTML tags

<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>