Upgrade Debian 8 Jessie to Debian Linux 9 Stretch
- Category: 電腦相關
- Last Updated: Sunday, 11 October 2020 12:27
- Published: Wednesday, 30 September 2020 12:28
- Written by sam
Finish.
Check Version.
update the package repository, enter the following command
To upgrade to version 9 of Debian, need to edit sources.list file
You should see many "jessie" in list, and please replace the content following
deb http://httpredir.debian.org/debian stretch main contrib non-free
deb http://httpredir.debian.org/debian stretch-updates main contrib non-free
deb http://security.debian.org stretch/updates main contrib non-free
And do it again.
apt-get update
apt-get upgrade
apt-get dist-upgrade ---> Please be careful. Yes or No.
apt-get autoremove
Done.