Update Raspbian 8 Jessie to 9 Stretch

From KlavoWiki
Revision as of 23:34, 1 July 2017 by David (Sọ̀rọ̀ | contribs) (Created page with "<pre> sudo apt-get -y update sudo apt-get -y upgrade sudo apt-get -y dist-upgrade sudo dpkg -C sudo apt-mark showhold </pre> <pre> sudo sed -i 's/jessie/stretch/g' /etc/ap...")
(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.....