mirror of
https://github.com/freedombox/FreedomBox.git
synced 2026-01-21 07:55:00 +00:00
upgrades: Use n= in apt preferences
In the Debian bookworm-backports repository, the Suite has changed to "stable-backports". The Codename is the more specific "bookworm-backports". 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. Helps: #2368. Tests: - `apt policy freedombox` shows priority 500 for package in bookworm-backports. Signed-off-by: James Valleroy <jvalleroy@mailbox.org> Reviewed-by: Sunil Mohan Adapa <sunil@medhas.org>
This commit is contained in:
parent
6f22d0729e
commit
4933ff55b3
@ -52,7 +52,7 @@ class UpgradesApp(app_module.App):
|
||||
|
||||
app_id = 'upgrades'
|
||||
|
||||
_version = 15
|
||||
_version = 16
|
||||
|
||||
can_be_disabled = False
|
||||
|
||||
|
||||
@ -33,7 +33,7 @@ APT_PREFERENCES_FREEDOMBOX = \
|
||||
'''Explanation: This file is managed by FreedomBox, do not edit.
|
||||
Explanation: Allow carefully selected updates to 'freedombox' from backports.
|
||||
Package: src:freedombox
|
||||
Pin: release a={}-backports
|
||||
Pin: release n={}-backports
|
||||
Pin-Priority: 500
|
||||
'''
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user