APT /etc/apt/sources.list

Original ๐Ÿ“‹ Ubuntu 24.04 LTS (Noble Numbat) 9 lines

Details

Size
9 lines
MD5
2ff89a4f7f33c36ccfe1d094a090f93a
SHA256
5187c37ceb4cdadbc4073cd15d218d4ef54ccf18263e475783863d65d94524d7

Copy & Paste

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

For AI Agents

You are a DevOps agent. Fetch the default APT config for Ubuntu 24.04 LTS (Noble Numbat) from https://exampleconfig.com/api/v1/config/original/2ff89a4f7f33c36ccfe1d094a090f93a?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.ubuntu.com/ubuntu/ noble main restricted universe multiverse
deb http://archive.ubuntu.com/ubuntu/ noble-updates main restricted universe multiverse
deb http://archive.ubuntu.com/ubuntu/ noble-backports main restricted universe multiverse
deb http://security.ubuntu.com/ubuntu/ noble-security main restricted universe multiverse
deb http://repo.mysql.com/apt/ubuntu/ noble mysql-apt-config
deb http://repo.mysql.com/apt/ubuntu/ noble mysql-8.4-lts
deb http://repo.mysql.com/apt/ubuntu/ noble mysql-tools
deb-src http://repo.mysql.com/apt/ubuntu/ noble mysql-8.4-lts
deb http://apt.postgresql.org/pub/repos/apt/ noble-pgdg main

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 Ubuntu 24.04 LTS (Noble Numbat).

Can I use this for APT troubleshooting?

Absolutely. Diff this against yours to spot the problem.