add
export http_proxy=http://server-proxy:port
and / or
export ftp_proxy=http://server-proxy:port in your profile (.bashrc)
or in /etc/bash.bashrc file
add
export http_proxy=http://server-proxy:port
and / or
export ftp_proxy=http://server-proxy:port in your profile (.bashrc)
or in /etc/bash.bashrc file
Checkout the following file: /etc/apt/apt.conf
else
modify it as below:
Acquire::http::Proxy “<http://your proxy:port/”;