Forked from nickfox-taterli/upgrade_raspbian_to_buster.sh
Last active
July 8, 2019 03:46
-
-
Save aarisr/46918a44c939b4bf4640456614175cd2 to your computer and use it in GitHub Desktop.
Upgrade Raspbian To Buster
This file contains 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
#!/bin/bash | |
sudo bash -c "sync \ | |
&& apt-get update \ | |
&& apt-get -y upgrade \ | |
&& apt-get -y dist-upgrade \ | |
&& sed -i 's/stretch/buster/g' /etc/apt/sources.list \ | |
&& sed -i 's/stretch/buster/g' /etc/apt/sources.list.d/raspi.list \ | |
&& apt-get update \ | |
&& apt-get -y upgrade \ | |
&& apt-get -y dist-upgrade \ | |
&& sync" #sudo reboot |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment