Differences between revisions 6 and 7
Revision 6 as of 2005-07-05 10:44:50
Size: 654
Editor: anonymous
Comment:
Revision 7 as of 2005-07-05 10:45:23
Size: 634
Editor: anonymous
Comment:
Deletions are marked like this. Additions are marked like this.
Line 18: Line 18:
An if you have a proxy, you can use this example for http proxy: You can use this example for HTTP proxy:
Line 23: Line 23:
and this for ftp proxy (NOTE: Only change proxy hostname and port): And this one for FTP proxy (NOTE: Only change proxy hostname and port):

["?AptDirectory"]


/etc/apt/conf file

Debconf configuration is initiated with this line:

 Dpkg::Pre-Install-Pkgs {"/usr/sbin/dpkg-preconfigure --apt |||| true";};

An example that sets default release to testing:

 APT::Default-Release "testing";

You can use this example for HTTP proxy:

 Acquire::http::Proxy "http://proxy:8080";

And this one for FTP proxy (NOTE: Only change proxy hostname and port):

 Acquire::ftp
 {
   Proxy "ftp://proxy:2121/";
   ProxyLogin
   {
      "USER $(SITE_USER)@$(SITE)";
      "PASS $(SITE_PASS)";
   }
 }