From 9712edf6151308148518058bfbd5ccd937509143 Mon Sep 17 00:00:00 2001 From: David Kalnischkies Date: Sun, 29 Jan 2023 23:24:43 +0100 Subject: 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. --- doc/examples/configure-index | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'doc/examples') 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 ""; - SourceListWarnings ""; + SourceListWarnings "" + { + APTAuth ""; + NonFreeFirmware ""; + }; }; }; -- cgit v1.2.3-70-g09d2