Apt-get behind a proxy in Ubuntu 11.10
When you are behind a proxy on Ubuntu 11.10 and would like to update your system:
- Edit the file /etc/apt/apt.conf.d/02proxy
- Add the following line to this file (Of course replace the username, password and proxy ip address)
- And of you go:
apt-get update apt-get upgrade
If the above does not work, you could try the above in /etc/apt/apt.conf. This sometimes works with the above doesn’t.