Last active
June 8, 2018 23:21
-
-
Save AaronNGray/eb582f8789f3a7c799800bd0faaa0925 to your computer and use it in GitHub Desktop.
Raspbian 'Stretch' upgrade
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
cat >stretch.in <<EOF | |
Y | |
Y | |
Y | |
Q | |
EOF | |
cp /etc/apt/sources.list /etc/apt/sources.list.jessie | |
sed -e "s/jessie/stretch/g" /etc/apt/sources.list >/etc/apt/sources.list.stretch | |
cp /etc/apt/sources.list.stretch /etc/apt/sources.list | |
apt-get update | |
apt list --upgradable | |
apt-get upgrade <stretch.in | |
apt-get dist-upgrade | |
apt-get autoremove | |
rm stretch.in |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment