first commit
This commit is contained in:
1
etc_org/apt/apt.conf.d/00aptitude
Normal file
1
etc_org/apt/apt.conf.d/00aptitude
Normal file
@ -0,0 +1 @@
|
||||
Aptitude::Get-Root-Command "sudo:/usr/bin/sudo";
|
1
etc_org/apt/apt.conf.d/01-vendor-ubuntu
Normal file
1
etc_org/apt/apt.conf.d/01-vendor-ubuntu
Normal file
@ -0,0 +1 @@
|
||||
Acquire::Changelogs::AlwaysOnline "true";
|
48
etc_org/apt/apt.conf.d/01autoremove
Normal file
48
etc_org/apt/apt.conf.d/01autoremove
Normal file
@ -0,0 +1,48 @@
|
||||
APT
|
||||
{
|
||||
NeverAutoRemove
|
||||
{
|
||||
"^firmware-linux.*";
|
||||
"^linux-firmware$";
|
||||
};
|
||||
|
||||
VersionedKernelPackages
|
||||
{
|
||||
# linux kernels
|
||||
"linux-image";
|
||||
"linux-headers";
|
||||
"linux-image-extra";
|
||||
"linux-signed-image";
|
||||
# kfreebsd kernels
|
||||
"kfreebsd-image";
|
||||
"kfreebsd-headers";
|
||||
# hurd kernels
|
||||
"gnumach-image";
|
||||
# (out-of-tree) modules
|
||||
".*-modules";
|
||||
".*-kernel";
|
||||
"linux-backports-modules-.*";
|
||||
# tools
|
||||
"linux-tools";
|
||||
};
|
||||
|
||||
Never-MarkAuto-Sections
|
||||
{
|
||||
"metapackages";
|
||||
"contrib/metapackages";
|
||||
"non-free/metapackages";
|
||||
"restricted/metapackages";
|
||||
"universe/metapackages";
|
||||
"multiverse/metapackages";
|
||||
};
|
||||
|
||||
Move-Autobit-Sections
|
||||
{
|
||||
"oldlibs";
|
||||
"contrib/oldlibs";
|
||||
"non-free/oldlibs";
|
||||
"restricted/oldlibs";
|
||||
"universe/oldlibs";
|
||||
"multiverse/oldlibs";
|
||||
};
|
||||
};
|
43
etc_org/apt/apt.conf.d/01autoremove-kernels
Normal file
43
etc_org/apt/apt.conf.d/01autoremove-kernels
Normal file
@ -0,0 +1,43 @@
|
||||
// DO NOT EDIT! File autogenerated by /etc/kernel/postinst.d/apt-auto-removal
|
||||
APT::NeverAutoRemove
|
||||
{
|
||||
"^linux-image-4\.4\.43-v7\+$";
|
||||
"^linux-image-4\.8\.0-34-generic$";
|
||||
"^linux-headers-4\.4\.43-v7\+$";
|
||||
"^linux-headers-4\.8\.0-34-generic$";
|
||||
"^linux-image-extra-4\.4\.43-v7\+$";
|
||||
"^linux-image-extra-4\.8\.0-34-generic$";
|
||||
"^linux-signed-image-4\.4\.43-v7\+$";
|
||||
"^linux-signed-image-4\.8\.0-34-generic$";
|
||||
"^kfreebsd-image-4\.4\.43-v7\+$";
|
||||
"^kfreebsd-image-4\.8\.0-34-generic$";
|
||||
"^kfreebsd-headers-4\.4\.43-v7\+$";
|
||||
"^kfreebsd-headers-4\.8\.0-34-generic$";
|
||||
"^gnumach-image-4\.4\.43-v7\+$";
|
||||
"^gnumach-image-4\.8\.0-34-generic$";
|
||||
"^.*-modules-4\.4\.43-v7\+$";
|
||||
"^.*-modules-4\.8\.0-34-generic$";
|
||||
"^.*-kernel-4\.4\.43-v7\+$";
|
||||
"^.*-kernel-4\.8\.0-34-generic$";
|
||||
"^linux-backports-modules-.*-4\.4\.43-v7\+$";
|
||||
"^linux-backports-modules-.*-4\.8\.0-34-generic$";
|
||||
"^linux-tools-4\.4\.43-v7\+$";
|
||||
"^linux-tools-4\.8\.0-34-generic$";
|
||||
};
|
||||
/* Debug information:
|
||||
# dpkg list:
|
||||
iF linux-image-4.8.0-34-generic 4.8.0-34.36~16.04.1 armhf Linux kernel image for version 4.8.0 on ARM (hard float) SMP
|
||||
# list of installed kernel packages:
|
||||
4.8.0-34-generic 4.8.0-34.36~16.04.1
|
||||
# list of different kernel versions:
|
||||
4.8.0-34.36~16.04.1
|
||||
# Installing kernel: 4.8.0-34.36~16.04.1 (4.8.0-34-generic)
|
||||
# Running kernel: (4.4.43-v7+)
|
||||
# Last kernel: 4.8.0-34.36~16.04.1
|
||||
# Previous kernel:
|
||||
# Kernel versions list to keep:
|
||||
4.8.0-34.36~16.04.1
|
||||
# Kernel packages (version part) to protect:
|
||||
4\.4\.43-v7\+
|
||||
4\.8\.0-34-generic
|
||||
*/
|
3
etc_org/apt/apt.conf.d/10periodic
Normal file
3
etc_org/apt/apt.conf.d/10periodic
Normal file
@ -0,0 +1,3 @@
|
||||
APT::Periodic::Update-Package-Lists "0";
|
||||
APT::Periodic::Download-Upgradeable-Packages "0";
|
||||
APT::Periodic::AutocleanInterval "0";
|
1
etc_org/apt/apt.conf.d/15update-stamp
Normal file
1
etc_org/apt/apt.conf.d/15update-stamp
Normal file
@ -0,0 +1 @@
|
||||
APT::Update::Post-Invoke-Success {"touch /var/lib/apt/periodic/update-success-stamp 2>/dev/null || true";};
|
3
etc_org/apt/apt.conf.d/20archive
Normal file
3
etc_org/apt/apt.conf.d/20archive
Normal file
@ -0,0 +1,3 @@
|
||||
APT::Archives::MaxAge "30";
|
||||
APT::Archives::MinAge "2";
|
||||
APT::Archives::MaxSize "500";
|
2
etc_org/apt/apt.conf.d/20auto-upgrades
Normal file
2
etc_org/apt/apt.conf.d/20auto-upgrades
Normal file
@ -0,0 +1,2 @@
|
||||
APT::Periodic::Update-Package-Lists "0";
|
||||
APT::Periodic::Unattended-Upgrade "0";
|
2
etc_org/apt/apt.conf.d/20dbus
Normal file
2
etc_org/apt/apt.conf.d/20dbus
Normal file
@ -0,0 +1,2 @@
|
||||
// Notify all clients to reload the cache
|
||||
APT::Update::Post-Invoke-Success { "[ ! -f /var/run/dbus/system_bus_socket ] || /usr/bin/dbus-send --system --dest=org.debian.apt --type=signal /org/debian/apt org.debian.apt.CacheChanged || true"; };
|
2
etc_org/apt/apt.conf.d/50raspi
Normal file
2
etc_org/apt/apt.conf.d/50raspi
Normal file
@ -0,0 +1,2 @@
|
||||
# Never use pdiffs, current implementation is very slow on low-powered devices
|
||||
Acquire::PDiffs "0";
|
60
etc_org/apt/apt.conf.d/50unattended-upgrades
Normal file
60
etc_org/apt/apt.conf.d/50unattended-upgrades
Normal file
@ -0,0 +1,60 @@
|
||||
// Automatically upgrade packages from these (origin:archive) pairs
|
||||
Unattended-Upgrade::Allowed-Origins {
|
||||
"${distro_id}:${distro_codename}";
|
||||
"${distro_id}:${distro_codename}-security";
|
||||
// "${distro_id}:${distro_codename}-updates";
|
||||
// "${distro_id}:${distro_codename}-proposed";
|
||||
// "${distro_id}:${distro_codename}-backports";
|
||||
};
|
||||
|
||||
// List of packages to not update (regexp are supported)
|
||||
Unattended-Upgrade::Package-Blacklist {
|
||||
// "vim";
|
||||
// "libc6";
|
||||
// "libc6-dev";
|
||||
// "libc6-i686";
|
||||
};
|
||||
|
||||
// This option allows you to control if on a unclean dpkg exit
|
||||
// unattended-upgrades will automatically run
|
||||
// dpkg --force-confold --configure -a
|
||||
// The default is true, to ensure updates keep getting installed
|
||||
//Unattended-Upgrade::AutoFixInterruptedDpkg "false";
|
||||
|
||||
// Split the upgrade into the smallest possible chunks so that
|
||||
// they can be interrupted with SIGUSR1. This makes the upgrade
|
||||
// a bit slower but it has the benefit that shutdown while a upgrade
|
||||
// is running is possible (with a small delay)
|
||||
//Unattended-Upgrade::MinimalSteps "true";
|
||||
|
||||
// Install all unattended-upgrades when the machine is shuting down
|
||||
// instead of doing it in the background while the machine is running
|
||||
// This will (obviously) make shutdown slower
|
||||
//Unattended-Upgrade::InstallOnShutdown "true";
|
||||
|
||||
// Send email to this address for problems or packages upgrades
|
||||
// If empty or unset then no email is sent, make sure that you
|
||||
// have a working mail setup on your system. A package that provides
|
||||
// 'mailx' must be installed. E.g. "user@example.com"
|
||||
//Unattended-Upgrade::Mail "root";
|
||||
|
||||
// Set this value to "true" to get emails only on errors. Default
|
||||
// is to always send a mail if Unattended-Upgrade::Mail is set
|
||||
//Unattended-Upgrade::MailOnlyOnError "true";
|
||||
|
||||
// Do automatic removal of new unused dependencies after the upgrade
|
||||
// (equivalent to apt-get autoremove)
|
||||
//Unattended-Upgrade::Remove-Unused-Dependencies "false";
|
||||
|
||||
// Automatically reboot *WITHOUT CONFIRMATION*
|
||||
// if the file /var/run/reboot-required is found after the upgrade
|
||||
//Unattended-Upgrade::Automatic-Reboot "false";
|
||||
|
||||
// If automatic reboot is enabled and needed, reboot at the specific
|
||||
// time instead of immediately
|
||||
// Default: "now"
|
||||
//Unattended-Upgrade::Automatic-Reboot-Time "02:00";
|
||||
|
||||
// Use apt bandwidth limit feature, this example limits the download
|
||||
// speed to 70kb/sec
|
||||
//Acquire::http::Dl-Limit "70";
|
3
etc_org/apt/apt.conf.d/70debconf
Normal file
3
etc_org/apt/apt.conf.d/70debconf
Normal file
@ -0,0 +1,3 @@
|
||||
// Pre-configure all packages with debconf before they are installed.
|
||||
// If you don't like it, comment it out.
|
||||
DPkg::Pre-Install-Pkgs {"/usr/sbin/dpkg-preconfigure --apt || true";};
|
2
etc_org/apt/apt.conf.d/99update-notifier
Normal file
2
etc_org/apt/apt.conf.d/99update-notifier
Normal file
@ -0,0 +1,2 @@
|
||||
#DPkg::Post-Invoke {"if [ -d /var/lib/update-notifier ]; then touch /var/lib/update-notifier/dpkg-run-stamp; fi; /usr/lib/update-notifier/update-motd-updates-available 2>/dev/null || true";};
|
||||
#APT::Update::Post-Invoke-Success {"/usr/lib/update-notifier/update-motd-updates-available 2>/dev/null || true";};
|
Reference in New Issue
Block a user