APT /etc/apt/apt.conf.d/docker-no-languages

Original 📋 Debian 9 (Stretch) 5 lines

Works On

Viewing:
Debian 9 (Stretch)
Same on:
Debian 10 (Buster) Debian 11 (Bullseye) Debian 12 (Bookworm) Debian 13 (Trixie)
Other versions:

Details

Size
5 lines
MD5
b0b953c78e86b5bfb9f90d138802dcb0
SHA256
a7fea31d968796bf459a439279abdf8d45f5e3f68bbaa9e09dbd9e7f3bd831f6
/etc/apt/apt.conf.d/docker-no-languages
# In Docker, we don't often need the "Translations" files, so we're just wasting
# time and space by downloading them, and this inhibits that.  For users that do
# need them, it's a simple matter to delete this file and "apt-get update". :)

Acquire::Languages "none";

Copy & Paste

curl:
curl https://exampleconfig.com/api/v1/config/original/b0b953c78e86b5bfb9f90d138802dcb0?hint=docker-no-languages
wget:
wget -O docker-no-languages https://exampleconfig.com/api/v1/config/original/b0b953c78e86b5bfb9f90d138802dcb0?hint=docker-no-languages

For AI Agents

<prompt><role>DevOps agent</role><source url='https://exampleconfig.com/api/v1/config/original/b0b953c78e86b5bfb9f90d138802dcb0?hint=docker-no-languages' /><config><app>APT</app><os>Debian 9 (Stretch)</os><location>/etc/apt/apt.conf.d/docker-no-languages</location><lines>5</lines><md5>b0b953c78e86b5bfb9f90d138802dcb0</md5><sha256>a7fea31d968796bf459a439279abdf8d45f5e3f68bbaa9e09dbd9e7f3bd831f6</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/docker-no-languages
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 docker-no-languages?

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/docker-no-languages, replace it, then reload or restart APT.

Is docker-no-languages 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.