APT /etc/apt/sources.list

Original ๐Ÿ“‹ Debian 9 (Stretch) 7 lines

Details

Size
7 lines
MD5
d28149bb7011476b21f7eaae5e2dc6ea
SHA256
58e3ff1307b4a1f236f79e05bd87bde616d4acda6ecc19fca840f9329cd83197

Copy & Paste

curl:
curl https://exampleconfig.com/api/v1/config/original/d28149bb7011476b21f7eaae5e2dc6ea?hint=sources.list
wget:
wget -O sources.list https://exampleconfig.com/api/v1/config/original/d28149bb7011476b21f7eaae5e2dc6ea?hint=sources.list

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/d28149bb7011476b21f7eaae5e2dc6ea?hint=sources.list. Compare with my current /etc/apt/sources.list and summarize differences and safe changes.

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

/etc/apt/sources.list
deb http://archive.debian.org/debian stretch main
deb http://archive.debian.org/debian-security stretch/updates main
deb http://archive.debian.org/debian stretch-updates main
deb http://repo.mysql.com/apt/debian/ stretch mysql-apt-config
deb http://repo.mysql.com/apt/debian/ stretch mysql-8.0
deb http://repo.mysql.com/apt/debian/ stretch mysql-tools
deb-src http://repo.mysql.com/apt/debian/ stretch mysql-8.0

Install APT

Debian

sudo apt update && sudo apt install apt

Ubuntu

sudo apt update && sudo apt install apt

File Location

File Path
/etc/apt/sources.list
Directory
/etc/apt/
Significance
System-wide configuration directory
Description
Files in /etc/ contain system-wide configuration settings that affect all users.

FAQ

When should I use this sources.list?

Restore it. Compare it. Start clean.

How do I restore APT defaults?

Download, replace, restart.

Is sources.list 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.