upgrades: Refactor dist upgrade process
- Refactor dist upgrade process
- Cleanup dist upgrade steps specific to bullseye release
- Skip handling of obsolete packages if there are none.
- Skip handling of debconf selections if none are required.
- Handle tt-rss same as other packages with prompts.
- Add type annotations to action
Test:
- Installed all apps on Bullseye VM. Performed dist upgrade to Bookworm. Only packages with known config prompts (firewalld, roundcube) were not upgraded during dist upgrade process.
Signed-off-by: James Valleroy jvalleroy@mailbox.org
Edited by James Valleroy