Correct the apt configuration.

This commit is contained in:
gardouille 2015-11-16 15:54:27 +01:00
parent 6b4d1e14cb
commit 29f72d2b6b
1 changed files with 14 additions and 6 deletions

View File

@ -1,20 +1,28 @@
// Cache size
APT::Cache-Limit 100000000;
// Default Debian to manage: Unstable/Sid
APT::Default-Release "unstable";
APT
{
# Configure behavior of apt periodic updates
# Done by /etc/cron.daily/apt
// Configure behavior of apt periodic updates
// Done by /etc/cron.daily/apt
Periodic
{
// Run a apt-get autoclean every x days
AutocleanInterval "7";
Update-Package-Lists "1";
Download-Upgradeable-Packages "1";
}
autoclean "1";
clean-installed "1";
// Options for apt-get only (not aptitude!)
Get
{
Purge "true";
}
// General options
// Remove from the cache, any packages which can no longer be downloaded.
Clean-Installed "true";
// Default Debian to manage: Unstable/Sid
Default-Release "unstable";
}