APT /etc/apt/sources.list

Original 📋 Debian 12 (Bookworm) 8 lines

Details

Size
8 lines
MD5
e27f1f05bdc9562763d4247cd362edee
SHA256
10d286985660f1d22f22f1f537be31964f2a297ad9243d1cb141a953c2c1de63
/etc/apt/sources.list
deb http://deb.debian.org/debian bookworm main
deb http://deb.debian.org/debian bookworm-updates main
deb http://deb.debian.org/debian-security bookworm-security main
deb http://repo.mysql.com/apt/debian/ bookworm mysql-apt-config
deb http://repo.mysql.com/apt/debian/ bookworm mysql-8.4-lts
deb http://repo.mysql.com/apt/debian/ bookworm mysql-tools
deb-src http://repo.mysql.com/apt/debian/ bookworm mysql-8.4-lts
deb http://apt.postgresql.org/pub/repos/apt/ bookworm-pgdg main

Copy & Paste

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

For AI Agents

<prompt><role>DevOps agent</role><source url='https://exampleconfig.com/api/v1/config/original/e27f1f05bdc9562763d4247cd362edee?hint=sources.list' /><config><app>APT</app><os>Debian 12 (Bookworm)</os><location>/etc/apt/sources.list</location><lines>8</lines><md5>e27f1f05bdc9562763d4247cd362edee</md5><sha256>10d286985660f1d22f22f1f537be31964f2a297ad9243d1cb141a953c2c1de63</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/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?

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/sources.list, replace it, then reload or restart APT.

Is sources.list safe for production?

It is the vendor default for Debian 12 (Bookworm). 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 12 (Bookworm).

Can I use this for APT troubleshooting?

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