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

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

You are a DevOps agent. Fetch the default APT config for Debian 9 (Stretch) from https://exampleconfig.com/api/v1/config/original/b0b953c78e86b5bfb9f90d138802dcb0?hint=docker-no-languages. Compare with my current /etc/apt/apt.conf.d/docker-no-languages and summarize differences and safe changes.

Copy this prompt into Claude, ChatGPT, or other AI assistants.

/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";

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?

Restore it. Compare it. Start clean.

How do I restore APT defaults?

Download, replace, restart.

Is docker-no-languages safe for production?

Yes. This is exactly what shipped. Safe starting point.

How does this differ from other OS versions?

Defaults change. This one is specific to Debian 9 (Stretch).

Can I use this for APT troubleshooting?

Absolutely. Diff this against yours to spot the problem.