-// $Id: apt.conf,v 1.28 1999/03/15 23:05:49 jgg Exp $
+// $Id: apt.conf,v 1.39 1999/10/22 04:05:48 jgg Exp $
/* This file is an index of all APT configuration directives. It should
NOT actually be used as a real config file, though it is a completely
- valid file.
+ valid file. Most of the options have sane default values, unless
+ you have specific needs you should NOT include arbitary items in a custom
+ configuration.
In some instances involving filenames it is possible to set the default
directory when the path is evaluated. This means you can use relative
Show-Upgraded "false";
No-Upgrade "false";
Print-URIs "false";
+ Compile "false";
+ No-Download "false";
+ Purge "false";
+ List-Cleanup "true";
};
Cache
{
Important "false";
+ AllVersions "false";
};
CDROM
};
// Some general options
- Ingore-Hold "false";
+ Ignore-Hold "false";
+ Clean-Installed "true";
Immediate-Configure "true"; // DO NOT turn this off, see the man page
+ Force-LoopBreak "false"; // DO NOT turn this on, see the man page
};
// Options for the downloading routines
{
Queue-Mode "host"; // host|access
Retries "0";
+ Source-Symlinks "true";
// HTTP method configuration
http
cdrom
{
- Mount "/cdrom";
+ Mount "/cdrom";
+
+ // You need the trailing slash!
+ "/cdrom/"
+ {
+ Mount "sleep 1000";
+ UMount "sleep 500";
+ }
};
};
methods "/usr/lib/apt/methods/";
gzip "/bin/gzip";
dpkg "/usr/bin/dpkg";
+ dpkg-source "/usr/bin/dpkg-source";
+ dpkg-buildpackage "/usr/bin/dpkg-buildpackage"
apt-get "/usr/bin/apt-get";
- apt-cache "/usr/bin/apt-get";
+ apt-cache "/usr/bin/apt-cache";
};
};
DPkg
{
- // Probably don't want to set this one..
- Options {"--force-downgrade";}
+ // Probably don't want to use force-downgrade..
+ Options {"--force-overwrite";"--force-downgrade";}
// Auto re-mounting of a readonly /usr
Pre-Invoke {"mount -o remount,rw /usr";};
// Prevents daemons from getting cwd as something mountable (default)
Run-Directory "/";
+
+ // Build options for apt-get source --compile
+ Build-Options "-b -uc";
+
+ // Pre-configure all packages before they are installed using debconf.
+ Pre-Install-Pkgs {"dpkg-preconfig --apt --priority=low --frontend=dialog";};
}
/* Options you can set to see some debugging text They corrispond to names
pkgInitialize "false"; // This one will dump the configuration space
NoLocking "false";
Acquire::Ftp "false"; // Show ftp command traffic
+ Acquire::Http "false"; // Show http command traffic
+ aptcdrom "false"; // Show found package files
}
+
+/* Whatever you do, do not use this configuration file!! Take out ONLY
+ the portions you need */
+This Is Not A Valid Config File