Update Raspbian 8 Jessie to 9 Stretch

From KlavoWiki
Revision as of 23:35, 1 July 2017 by David (talk | contribs) (David moved page Update Raspbian 8 Jessica to 9 Stretch to Update Raspbian 8 Jessie to 9 Stretch without leaving a redirect)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigationJump to search
sudo apt-get -y update 
sudo apt-get -y upgrade 
sudo apt-get -y dist-upgrade 
sudo dpkg -C
sudo apt-mark showhold
sudo sed -i 's/jessie/stretch/g' /etc/apt/sources.list
sudo apt-get -y update
sudo apt-get -y upgrade 
sudo apt-get -y dist-upgrade
reboot

find the debian version : (8 = jessie, 9 =stretch)

cat /etc/debian_version
cat /etc/os-release
sudo apt-get -y autoremove
sudo apt-get -y autoclean
sudo apt-get -y clean

Completed.....