Skip to content

Instantly share code, notes, and snippets.

@Bluscream
Created September 2, 2019 12:44
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Bluscream/57837d26fe3f48182cb02b87e0b92e47 to your computer and use it in GitHub Desktop.
Save Bluscream/57837d26fe3f48182cb02b87e0b92e47 to your computer and use it in GitHub Desktop.
Update Raspberry Pi with Raspbian stretch (3) to buster (4)
grep -rl stretch /etc/apt/ | sudo xargs sed -i "s/stretch/buster/g"
sudo apt update && sudo apt dist-upgrade
read -n 1 -s -r -p "Press any key to also uninstall unsupported packages, press [CTRL+C] to end"
sudo apt purge timidity lxmusic gnome-disk-utility deluge-gtk evince wicd wicd-gtk clipit usermode gucharmap gnome-system-tools pavucontrol
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment