Tested and working as expected. Documentation updated accordingly.
I didn't renumber the upgrade_4_apt.sh script because I feel that adding the extra apt repo is orthogonal to upgrading the OS (running them in the reverse order would work just fine). If renumbering does occur, it'd be worth considering removing upgrade_1_prep.sh as well, as that fails with a HTTP status code 404.
The reason I didn't just use sed to rewrite the source.list file is because Debian changed the way they handle updates and now there are separate repos for updates versus security patches and the paths section of the URLs are different. It's not that it couldn't be done with sed, but it'd be ugly and fragile here. I expect that updating to bookworm will be able to use the nice clean sed command again.
Tested and working as expected. Documentation updated accordingly.
I didn't renumber the
upgrade_4_apt.sh
script because I feel that adding the extra apt repo is orthogonal to upgrading the OS (running them in the reverse order would work just fine). If renumbering does occur, it'd be worth considering removingupgrade_1_prep.sh
as well, as that fails with a HTTP status code 404.The reason I didn't just use
sed
to rewrite the source.list file is because Debian changed the way they handle updates and now there are separate repos for updates versus security patches and the paths section of the URLs are different. It's not that it couldn't be done with sed, but it'd be ugly and fragile here. I expect that updating to bookworm will be able to use the nice cleansed
command again.