Skip to content

Latest commit

 

History

History
26 lines (19 loc) · 473 Bytes

File metadata and controls

26 lines (19 loc) · 473 Bytes

Apt

At the very least

export DEBIAN_FRONTEND=noninteractive

My desired default

Make sure to configure apt to default to:

-o Dpkg::Options::="--force-confold"

This will allow dpkg to not prompt a user for what to do with a conflicting default config file from a package and instead just add a suffix .dpkg-dist. Similar to .rpm's default behavior

Can be addding /etc/apt/apt.conf.d/local:

Dpkg::Options {
   "--force-confold";
}