[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Proxy aziendale



ciao gianluca,

> Come imposto apt-get in modo tale che possa scaricare i pacchetti tramite http?

$ cat /etc/apt/apt.conf
APT 
{
  // Options for apt-get
  Get 
  {
     Download-Only "false";
  };
};

// Options for the downloading routines
Acquire
{
  Retries "0";
  Proxy "http://proxy:8080/";;
};

// Things that effect the APT dselect method
DSelect 
{
  Clean "never";   // always|auto|prompt|never
};

DPkg 
{
  // Probably don't want to use force-downgrade..
  Options {"--force-overwrite";}
}


man apt.conf

-- 
Paolo Pedaletti, Como, ITALYa     www.fastflow.it/~paolop
paolop@matapp.unimib.it           paped@jabber.org



Reply to: