SourcesList (Debian Wiki) — by Debian Wiki contributors
How to control which repositories APT uses, including the newer deb822 .sources format, fields like Suites and Components, and migrating old sources.list files.
Quick steps
- Create a .sources file in /etc/apt/sources.list.d/
- Fill in type, URI, suite and components
- Optionally run apt modernize-sources to convert old files
Paraphrased from the source. Menus can differ by version, so check the original for full details.
Source: SourcesList (Debian Wiki) by Debian Wiki contributors. Licence: CC BY-SA 4.0 (Debian Wiki, changes after 24 July 2025).
- Source reviewed
- 2026-11-02
- Link checked
- 2026-11-02
- Tested hands-on
- Not by Oddbyte.Me