summaryrefslogtreecommitdiff
path: root/doc/examples/configure-index
diff options
context:
space:
mode:
Diffstat (limited to 'doc/examples/configure-index')
-rw-r--r--doc/examples/configure-index20
1 files changed, 19 insertions, 1 deletions
diff --git a/doc/examples/configure-index b/doc/examples/configure-index
index ab3657a58..bd70d61ac 100644
--- a/doc/examples/configure-index
+++ b/doc/examples/configure-index
@@ -100,6 +100,9 @@ APT
Install-Recommends "false";
Install-Suggests "false";
+ // install recommends automatically for packages in this section
+ Install-Recommends-Section "*metapackages";
+
// consider dependencies of packages in this section manual
Never-MarkAuto-Sections {"metapackages"; "universe/metapackages"; };
@@ -186,6 +189,20 @@ Acquire
{
Options {"--ignore-time-conflict";} // not very usefull on a normal system
};
+
+ mirror
+ {
+ RefreshInterval "360"; // refresh interval in minutes
+ MaxAge "90"; // max age for a mirror file in days before
+ // it gets deleted
+ // mirror failure reporting script
+ ProblemReporting "/usr/lib/apt/apt-report-mirror-failure";
+ // mirror failure reporting url
+ ReportFailures "http://example.com/mirror-failure";
+ };
+
+ // translations can be set here to "none", "environment" or "$locale"
+ Translation "none";
};
// Directory layout
@@ -199,6 +216,7 @@ Dir "/"
userstatus "status.user";
status "/var/lib/dpkg/status";
cdroms "cdroms.list";
+ mirrors "mirrors/";
};
// Location of the cache dir
@@ -289,9 +307,9 @@ Debug
Acquire::Http "false"; // Show http command traffic
Acquire::Https "false"; // Show https debug
Acquire::gpgv "false"; // Show the gpgv traffic
+ Acquire::Mirror "false"; // Show debugging of the mirror method
aptcdrom "false"; // Show found package files
IdentCdrom "false";
-
}
/* Whatever you do, do not use this configuration file!! Take out ONLY