APT /etc/apt/apt.conf.d/70debconf

Original 📋 Debian 9 (Stretch) 3 lines

Works On

Viewing:
Debian 9 (Stretch)
Same on:
Debian 10 (Buster) Debian 11 (Bullseye) Debian 12 (Bookworm) Debian 13 (Trixie) Ubuntu 18.04 LTS (Bionic Beaver) Ubuntu 20.04 LTS (Focal Fossa) Ubuntu 22.04 LTS (Jammy Jellyfish) Ubuntu 24.04 LTS (Noble Numbat)
Other versions:

Details

Size
3 lines
MD5
7e9d09d5801a42b4926b736b8eeabb73
SHA256
db749e19baf3b72ca2c157c70c52522cae23d94bc8b2dc5793fd43d427445367
/etc/apt/apt.conf.d/70debconf
// 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";};

Copy & Paste

curl:
curl https://exampleconfig.com/api/v1/config/original/7e9d09d5801a42b4926b736b8eeabb73?hint=70debconf
wget:
wget -O 70debconf https://exampleconfig.com/api/v1/config/original/7e9d09d5801a42b4926b736b8eeabb73?hint=70debconf

For AI Agents

<prompt><role>DevOps agent</role><source url='https://exampleconfig.com/api/v1/config/original/7e9d09d5801a42b4926b736b8eeabb73?hint=70debconf' /><config><app>APT</app><os>Debian 9 (Stretch)</os><location>/etc/apt/apt.conf.d/70debconf</location><lines>3</lines><md5>7e9d09d5801a42b4926b736b8eeabb73</md5><sha256>db749e19baf3b72ca2c157c70c52522cae23d94bc8b2dc5793fd43d427445367</sha256></config></prompt>

Paste into Claude, ChatGPT, or any AI assistant.

Install APT

Debian

sudo apt update && sudo apt install apt

Ubuntu

sudo apt update && sudo apt install apt

File Location

File Path
/etc/apt/apt.conf.d/70debconf
Directory
/etc/apt/apt.conf.d/
Significance
System-wide configuration directory
Description
Files in /etc/ contain system-wide configuration settings that affect all users.

FAQ

When should I use this 70debconf?

Use it to restore a missing default, confirm what shipped, or diff against your current APT config.

How do I restore APT defaults?

Download the file, back up the current one in /etc/apt/apt.conf.d/70debconf, replace it, then reload or restart APT.

Is 70debconf safe for production?

It is the vendor default for Debian 9 (Stretch). Treat it as a baseline and review security and performance settings before production use.

How does this differ from other OS versions?

Defaults vary by distro and version. This copy matches Debian 9 (Stretch).

Can I use this for APT troubleshooting?

Yes. Diff it against yours to find drift, then restore only the sections you need.