summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJulian Andres Klode <jak@debian.org>2024-12-24 14:29:52 +0000
committerJulian Andres Klode <jak@debian.org>2024-12-24 14:29:52 +0000
commit073c266ced5ea4057d0da8c86e6f1b72fcaf4f1f (patch)
treec277a58e15c929ef14523232f78b6de2608cdb0a
parent560ef5de0197a0ec1ac293cf91a983748a6b379b (diff)
parenta389a93cc7f3b793b64392b5e52df35204627682 (diff)
Merge branch 'sources-suggest' into 'main'
sources.list(5): Suggest VENDOR.sources for new systems See merge request apt-team/apt!418
-rw-r--r--doc/sources.list.5.xml10
1 files changed, 10 insertions, 0 deletions
diff --git a/doc/sources.list.5.xml b/doc/sources.list.5.xml
index 7d85629a1..454f00871 100644
--- a/doc/sources.list.5.xml
+++ b/doc/sources.list.5.xml
@@ -54,6 +54,16 @@
Otherwise APT will print a notice that it has ignored a file, unless that
file matches a pattern in the <literal>Dir::Ignore-Files-Silently</literal>
configuration list - in which case it will be silently ignored.</para>
+ <para>
+ The suggested filename for new systems is
+ <filename>/etc/apt/sources.list.d/<replaceable>vendor</replaceable>.sources</filename>,
+ where <replaceable>vendor</replaceable> is the result of
+ <command>dpkg-vendor --query Vendor | tr A-Z a-z</command>,
+ in deb822-style format.
+ For example,
+ Ubuntu uses
+ <filename>/etc/apt/sources.list.d/ubuntu.sources</filename>.
+ </para>
</refsect1>
<refsect1><title>One-Line-Style Format</title>