Forked from jauderho/gist:6b7d42030e264a135450ecc0ba521bd8
Created
September 16, 2023 16:32
-
-
Save joel113/7b36d41c87e70d006a2a4d082af8e084 to your computer and use it in GitHub Desktop.
HOWTO: Upgrade Raspberry Pi OS from bullseye to bookworm
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| sudo apt-get update && sudo apt-get dist-upgrade | |
| sudo sed -i -e 's/bullseye/bookworm/g' /etc/apt/sources.list | |
| sudo sed -i -e 's/bullseye/bookworm/g' /etc/apt/sources.list.d/raspi.list | |
| sudo apt update | |
| sudo apt -y full-upgrade | |
| sudo apt -y autoremove | |
| sudo apt -y clean | |
| sudo reboot | |
| # | |
| # remove old config files after doing sanity checks | |
| sudo apt purge ?config-files | |
| # | |
| # Bonus steps | |
| # | |
| # install btop | |
| sudo apt-get install btop | |
| # | |
| # update sshd for up to date secure by default config. use ssh-audit to verify | |
| KexAlgorithms [email protected],curve25519-sha256,[email protected] | |
| HostKeyAlgorithms [email protected],ssh-ed25519 | |
| Ciphers [email protected] | |
| MACs [email protected],[email protected] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment