Upgrade Debian 8 to 9

In this post I am going to explain how to upgrade Debian 8 to Debian 9. You can enter the following eight steps in your terminal:

  1. sudo apt-get update
  2. sudo apt-get upgrade
  3. sudo apt-get dist-upgrade
  4. sed -i ‘s/jessie/stretch/g’ /etc/apt/sources.list
  5. sudo apt-get update
  6. sudo apt-get upgrade
  7. sudo apt-get autoremove
  8. reboot



One thought on “Upgrade Debian 8 to 9”

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.