On Sun, May 03, 2015 at 12:20:35PM +0300, Reco wrote:
> 1) sudo -E apt-get update
> 
> 2) Move 'Defaults env_keep…' to line 12 in /etc/sudoers (i.e. *before*
> "User privilege escalation section")
> 
> 3) sudo apt-get -o Acquire::http::Proxy=http://192.168.6.254:3128 update

The safest way would be a variation on 3), IMHO

  echo 'Acquire::http::Proxy "http://192.168.6.254:3128";;' | \
    sudo tee -a /etc/apt/apt.conf.d/90http-proxy

This should make the setting persist and normal apt-get update/upgrade
should work afterwards.


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: https://lists.debian.org/20150503095412.gb29...@chew.redmars.org

Reply via email to