When should I use this sources.list?
Use it to restore a missing default, confirm what shipped, or diff against your current APT config.
deb http://archive.ubuntu.com/ubuntu/ focal main restricted deb http://archive.ubuntu.com/ubuntu/ focal-updates main restricted deb http://archive.ubuntu.com/ubuntu/ focal universe deb http://archive.ubuntu.com/ubuntu/ focal-updates universe deb http://archive.ubuntu.com/ubuntu/ focal multiverse deb http://archive.ubuntu.com/ubuntu/ focal-updates multiverse deb http://archive.ubuntu.com/ubuntu/ focal-backports main restricted universe multiverse deb http://security.ubuntu.com/ubuntu/ focal-security main restricted deb http://security.ubuntu.com/ubuntu/ focal-security universe deb http://security.ubuntu.com/ubuntu/ focal-security multiverse deb http://repo.mysql.com/apt/ubuntu/ focal mysql-apt-config deb http://repo.mysql.com/apt/ubuntu/ focal mysql-8.0 deb http://repo.mysql.com/apt/ubuntu/ focal mysql-tools deb-src http://repo.mysql.com/apt/ubuntu/ focal mysql-8.0 deb http://apt.postgresql.org/pub/repos/apt/ focal-pgdg main
curl https://exampleconfig.com/api/v1/config/original/775c83416b192de8484dafc39c9f5db6?hint=sources.list
wget -O sources.list https://exampleconfig.com/api/v1/config/original/775c83416b192de8484dafc39c9f5db6?hint=sources.list
<prompt><role>DevOps agent</role><source url='https://exampleconfig.com/api/v1/config/original/775c83416b192de8484dafc39c9f5db6?hint=sources.list' /><config><app>APT</app><os>Ubuntu 20.04 LTS (Focal Fossa)</os><location>/etc/apt/sources.list</location><lines>21</lines><md5>775c83416b192de8484dafc39c9f5db6</md5><sha256>b928dbc748c1f7bcee0383e793f5dda8d3cfa170880e83572812d9f0e00e8c3b</sha256></config></prompt>
Paste into Claude, ChatGPT, or any AI assistant.
sudo apt update && sudo apt install apt
sudo apt update && sudo apt install apt
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 20.04 LTS (Focal Fossa). 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 20.04 LTS (Focal Fossa).
Can I use this for APT troubleshooting?
Yes. Diff it against yours to find drift, then restore only the sections you need.