APT /etc/apt/sources.list

Original 📋 Ubuntu 22.04 LTS (Jammy Jellyfish) 20 lines

Details

Size
20 lines
MD5
de8c5bf756d87445c3f0f8edbbd0969e
SHA256
66e5a6777cf442c15d31153652ed60c7a109e709e09f74b93d38179f1a282f24
/etc/apt/sources.list
deb http://archive.ubuntu.com/ubuntu/ jammy main restricted

deb http://archive.ubuntu.com/ubuntu/ jammy-updates main restricted

deb http://archive.ubuntu.com/ubuntu/ jammy universe
deb http://archive.ubuntu.com/ubuntu/ jammy-updates universe

deb http://archive.ubuntu.com/ubuntu/ jammy multiverse
deb http://archive.ubuntu.com/ubuntu/ jammy-updates multiverse

deb http://archive.ubuntu.com/ubuntu/ jammy-backports main restricted universe multiverse

deb http://security.ubuntu.com/ubuntu/ jammy-security main restricted
deb http://security.ubuntu.com/ubuntu/ jammy-security universe
deb http://security.ubuntu.com/ubuntu/ jammy-security multiverse
deb http://repo.mysql.com/apt/ubuntu/ jammy mysql-apt-config
deb http://repo.mysql.com/apt/ubuntu/ jammy mysql-8.0
deb http://repo.mysql.com/apt/ubuntu/ jammy mysql-tools
deb-src http://repo.mysql.com/apt/ubuntu/ jammy mysql-8.0
deb http://apt.postgresql.org/pub/repos/apt/ jammy-pgdg main

Copy & Paste

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

For AI Agents

<prompt><role>DevOps agent</role><source url='https://exampleconfig.com/api/v1/config/original/de8c5bf756d87445c3f0f8edbbd0969e?hint=sources.list' /><config><app>APT</app><os>Ubuntu 22.04 LTS (Jammy Jellyfish)</os><location>/etc/apt/sources.list</location><lines>20</lines><md5>de8c5bf756d87445c3f0f8edbbd0969e</md5><sha256>66e5a6777cf442c15d31153652ed60c7a109e709e09f74b93d38179f1a282f24</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 Ubuntu 22.04 LTS (Jammy Jellyfish). 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 Ubuntu 22.04 LTS (Jammy Jellyfish).

Can I use this for APT troubleshooting?

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