Ubuntu System-Wide Proxy Auto-Configuration (PAC) script

PROXYUbuntu

I am using Ubuntu via VirtualBox. I need to set proxy auto-configuration script. It works in FireFox but the global preferences–>network has no effect. So when I do "apt-get install" it is not able to download anything.

How can I tell the entire Ubuntu system that I want it to use the specified PAC file to configure proxy settings for any app that needs to connect to the internet?

Best Answer

apt-get install

doesn't do any installation , the correct syntax is:

apt-get install package_name

But did you see the output of that program in terminal ?

And setting proxy in firefox won't affect a global proxy settings , you may need to refer to Network Manager in Ubuntu.

@update:

the whole progress will be involved , e.g when install mscorettf-installer with wget

%> cat /etc/apt/apt.conf.d/00proxy 
Acquire {
    Retries "0";
    HTTP {
        Proxy "http://221.176.168.178:80";
    };
};
Related Question