LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   proxy settings for apt-get problems (https://www.linuxquestions.org/questions/linux-networking-3/proxy-settings-for-apt-get-problems-4175525141/)

techdude 11-11-2014 11:46 PM

proxy settings for apt-get problems
 
This may sound simple at first, but it's far from simple. At my college, we have a really weird proxy setup. I used the
Code:

Aquire::http::Proxy "http://DOMAIN\USERNAME:PASSWORD@PROXYADDRESS:PORT/";
in a /etc/apt/apt.conf file that I created, and a 0Proxy file in the apt.conf.d folder. Nothing worked. The repositories are unblocked, but apt-get cannot connect. Because of this, my system still had the bash flaw. It cannot update whatsoever. I really don't want to have to go off campus for this (it's an inconvenience).

This is via my phone because the wifi shuts off at 11:30pm central time(us).

Thanks ahead of time.

techdude 11-12-2014 01:26 PM

Our wifi also has a configuration file for auto config proxys (.dat) and a security certificate.

jefro 11-12-2014 03:56 PM

You need to read the actual proxy file and use the server ip and ports named in it.

Usual warning about asking admin too applies.

techdude 11-12-2014 11:48 PM

How would all of that be used? Where does what go, and how?

jefro 11-13-2014 02:58 PM

You may be able to use export. https://help.ubuntu.com/community/AptGet/Howto
http://askubuntu.com/questions/41693...behind-a-proxy


Linux hasn't seemed to get proxies working very well globally in the OS. But, you can try it first too.

Putting in the correct ip's and names associated with proxy may work too.

So, you tend to have to make a file edit to each app that uses the proxy. You need the real ip address and port not any aquire statement.

Without knowing what the system is I can't even say if they allow apt to use ports.


All times are GMT -5. The time now is 08:38 AM.