[bookworm] upgrades: Use n= in apt preferences
requested to merge jvalleroy/freedombox:debian/bookworm-upgrades-bookworm-backports into debian/bookworm
Note: This MR is for debian/bookworm branch.
- upgrades: Use n= in apt preferences
- Bump upgrades app version to rewrite the apt preferences file.
- Note: The app version is kept lower than the one in bookworm-backports currently (17). This is to ensure that additional setup steps are applied when the bookworm-backports package gets installed.
- upgrades: Use n= for unattended-upgrades origin pattern
Closes: #2368 (closed).
Tests:
- Build a freedombox package for bookworm. Install it in bookworm vagrant box.
-
apt policy freedombox
shows priority 500 for package in bookworm-backports. - Run a manual update. freedombox is upgraded to the version in bookworm-backports.
Signed-off-by: James Valleroy jvalleroy@mailbox.org