Update Raspbian 9 Stretch to 10 Buster

From KlavoWiki
Revision as of 00:01, 14 July 2019 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/stretch/buster/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/stretch/buster/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, 10 = buster)

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

Completed.....