Debian Linux 7 Long Term Support reached end-of-life nixCraft

The Debian Linux version 7 (codenamed “Wheezy”) support ended on 31st May 2018. It was initial release on May 4, 2013. Each LTS ( initial release on May 4, 2013) support lasts for five years. It means Debian project will not provide any security updates for Debian 7. As Debian Linux 7 Long Term support ends, hence you must upgrade your system to keep it secure. This page list all essentials steps to update your system from Debian 7 to Debian 8.

Debian Linux 7 Long Term Support reached

From the announcement page

The LTS Team will prepare the transition to Debian 8 “Jessie”, which is the current oldstable release. The LTS team will take over support from the Security Team on June 17, 2018.

Debian 8 will also receive Long Term Support for five years after its initial release with support ending on June 30, 2020. The supported architectures include amd64, i386, armel and armhf.

How to upgrade from Debian 7 “Wheezy” to Debian 8 “Jessie”

The following are recommendations for upgrading from Debian 7 “Wheezy” LTS to Debian 8 “Jessie” LTS. First, you must keep backup of all critical data including configuration files, user data, and RDBMS data.

Step 1. Update your /etc/apt/sources.list

Use a text editor such as vim command or nano command:
$ sudo vi /etc/apt/sources.list
Update it as follows:
deb jessie main
deb jessie/updates main

Save and close the file.

Step 2. Update your system

Type the following apt-get command:
$ sudo apt-get update
Debian Linux 7 Long Term Support reached end-of-life

Step 3. Install apt from Jessie

Type the following apt-get command:
$ sudo apt-get install apt -t jessie
Install apt from Jessie before upgrading your system

Step 4. Upgrade your system

Now you can use the apt command:
$ sudo apt upgrade
apt upgrade Debian 7 to Debian 8 command

Step 5. Upgrade your system and remove obsolete packages

Run the following apt command:
$ sudo apt dist-upgrade
You might see prompts and update for configuration files. Apply them as needed. Review all changes carefully.

Step 6. Reboot the Linux box

Run the following command to reboot the Linux server/desktop or laptop:
$ sudo reboot
$ sudo shutdown -r 0

Step 7. Verify it

Type the following command to see your Linux kernel version:
$ uname -mrs
$ uname -a

See your Debian Linux distribution version and other info using cat command:
$ cat /etc/debian_version
Sample outputs:


Check all your log files on Linux box for any errors using either tail command or grep command:
$ tail -f /var/log/dmesg
$ egrep 'warn|error|critical' /path/to/log/file

Make sure all services are running and required ports are open too:
$ sudo netstat -tulpn
$ sudo ss -tulpn
$ ping
$ host
$ ps aux | more
$ ps aux | grep apache


The Debian Long Term Support (LTS) Team announced that Debian 7 “Wheezy” support had reached its end-of-life on May 31, 2018. You just learned how to upgrade your version to next Debian 8 LTS version. I strongly suggest that you visit this page for more info and this page for upgrading existing Debian 8 to Debian 9.

Get 15% off on Linux Foundation certified SysAdmin, Progamming, Kubernetes/Containers and Open Stack certification & course. Use “SPLASH15” coupon code. Offer expires on August 27, 2018

Posted by: Vivek Gite

The author is the creator of nixCraft and a seasoned sysadmin, DevOps engineer, and a trainer for the Linux operating system/Unix shell scripting. Get the latest tutorials on SysAdmin, Linux/Unix and open source topics via RSS/XML feed or weekly email newsletter.

Facebook Comments

More Stuff

GIMP annoyances on Mac High Sierra Following the death of my old MacBook which ran Yosemite and ran GIMP without any problems, I had to purchase a new MacBook, and this one came with th...
An introduction to diffs and patches If you’ve ever worked on a large codebase with a distributed development model, you’ve probably heard people say things like “Sue just sent a patch,” ...
How the OpenType font system works Digital typography is something that we use every day, but few of us understand how digital fonts work. This article gives a basic, quick, dirty, over...
Organize my uploads into month- and year-based folders The piece of text I’ve used as this article’s title should be familiar to all WordPress users. Can’t place it? The image above should give you a clue…...
Spread the love

Posted by News Monkey