PDA

View Full Version : can't get apt-get to work with proxy



emmostrom
06-30-2003, 09:20 PM
1. Tried setting http_proxy and ftp_proxy to:
http://username:password@proxy:port

Everything (apt-get and lynx) says it can't resolve host password@proxy
For some reason is thinks my password is part of the proxy URL

2. If I just set http_proxy and ftp_proxy to:
http://proxy:port

lynx works (asks for username and password) but apt-get has errors about proxy needing authorization.

rfc0815
09-03-2003, 10:35 AM
Try editing the /etc/apt.conf like described here (in german)
http://www.x-fish.org/deb_apt-proxy.html

Or search with google for "apt-get" and "proxy"