Skip to content

SourcesList (Debian Wiki) — by Debian Wiki contributors

intermediatepageCC BY-SA 4.0 (Debian Wiki, changes after 24 July 2025)

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

  1. Create a .sources file in /etc/apt/sources.list.d/
  2. Fill in type, URI, suite and components
  3. 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.

Read the full article on wiki.debian.org

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

aptrepositoriesdebian

More in Software & Packages