summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorDavid Kalnischkies <david@kalnischkies.de>2023-01-29 23:24:43 +0100
committerDavid Kalnischkies <david@kalnischkies.de>2023-02-04 17:56:41 +0100
commit9712edf6151308148518058bfbd5ccd937509143 (patch)
tree31ff2a3ef1647191a0b069da8169bab3e9f4a75d /doc
parent7ae8bb8d9942d51bd89fd34af6d2561d7616d393 (diff)
Suggest using non-free-firmware in update for Debian
In an ideal world everyone would read release notes, but if the last sources.list change is any indication a lot of people wont. This is even more a problem in so far as apt isn't producing errors for invalid repositories, but instead carries on as normal even through it will not be able to install upgrades for the moved packages. This commit implements two scenarios and prints a notice in those cases pointing to the release notes: a) User has 'non-free' but not 'non-free-firmware' b) User has a firmware package which isn't available from anywhere Both only happen if we are talking about a repository which identifies itself as one of Debian and is for a release codenamed bookworm (or sid). Note that as (usually) apt/oldstable is used to upgrade to the new stable release these suggestions only show for users after they have upgraded to bookworm on apt command line usage after that.
Diffstat (limited to 'doc')
-rw-r--r--doc/examples/configure-index6
1 files changed, 5 insertions, 1 deletions
diff --git a/doc/examples/configure-index b/doc/examples/configure-index
index b3deccaaf..beafbbcd4 100644
--- a/doc/examples/configure-index
+++ b/doc/examples/configure-index
@@ -123,7 +123,11 @@ APT
Update
{
InteractiveReleaseInfoChanges "<BOOL>";
- SourceListWarnings "<BOOL>";
+ SourceListWarnings "<BOOL>"
+ {
+ APTAuth "<BOOL>";
+ NonFreeFirmware "<BOOL>";
+ };
};
};