Debian 8 Jessie to Debian 9 Stretch upgrade notes Part 1

This article is a quick look at the Debian 8 Jessie to Debian 9 Stretch upgrade process with additional notes and observations on a stock Debian install.

Note: This article was tested on a non-production system running a basic install of Debian 8 Jessie without third-party packages. The steps are an abridged version of the well-written upgrade process at the Debian site. For additional details about upgrading from Jessie, read the release notes for Stretch.



To upgrade from Debian 8 Jessie to Debian 9 Stretch:

1. Verify if the repository list is already using either stable or stretch sources.

# cat /etc/apt/sources.list 

In the following screenshot, Jessie sources were disabled with # and stable sources were added manually using a text editor.



2. Refresh the repository list.

# apt-get update

Note: If needed, run apt-get clean and/or apt-get autoremove to remove all previously downloaded package files and packages that are no longer used to reclaim hard drive space.

3. Perform a base system upgrade.

# apt-get upgrade

4. Perform a full distribution upgrade.

# apt-get dist-upgrade



5. If needed, purge removed packages.

# apt-get purge
# apt autoremove


6. Verify OS release.

# cat /etc/os-release

After rebooting the system, check functionality of applications and connected hardware.

Continued in Debian 8 Jessie to Debian 9 Stretch upgrade notes Part 2

Comments

Popular posts from this blog

Quick Fix: MS Office Click to Run and CPU usage

Where are my WeChat for Android downloads?

MS Project 2016 Basics: PERT diagram and Slack/Float Part 1