Possible Duplicate:
apt-get does not work with proxy
I am a newbie to Ubuntu/Linux. I am using Ubuntu in office campus and we have a proxy server. I want to update or install new software like flash ,media player, networking tools etc., but I am unable to install from the Synaptic Package Manager.
I have created an apt.conf file which contains Acquire::http::Proxy "http://192.168.1.6:3128/";
I also have an apt.conf.d file but its empty and I don't know what to do with this file.
This is the error I encounter when I try to update:
E: Syntax error /etc/apt/apt.conf.d/proxy:3: Extra junk at end of file
E: Syntax error /etc/apt/apt.conf:2: Extra junk at end of file
sudo head -n 3 /etc/apt/apt.conf.d/proxy
andsudo head -n 2 /etc/apt/apt.conf
? Thanks./etc/apt/apt.conf.d
should be a directory, not a file.