Updated version of Debian Linux 8/9 has been released

last updated in Categories Debian Linux, Linux News

The Debian project has announced an updated version of Debian 9 (codename “stretch”) and Debian 8 (codename “jessie”). One can get new updates merely running the apt command/apt-get command.

From the announcement page:


The Debian project is pleased to announce the third update of its stable
distribution Debian 9 (codename “stretch”). This point release mainly
adds corrections for security issues, along with a few adjustments for
serious problems. Security advisories have already been published
separately and are referenced where available.

Please note that the point release does not constitute a new version of
Debian 9 but only updates some of the packages included. There is no
need to throw away old “stretch” media. After installation, packages can
be upgraded to the current versions using an up-to-date Debian mirror.

How do I apply updates?

Make a backup before you do this.

Find out your current Debian Linux version

Type the following lsb_release command:
$ lsb_release -a

No LSB modules are available.
Distributor ID:	Debian
Description:	Debian GNU/Linux 9.1 (stretch)
Release:	9.1
Codename:	stretch

Update your repo and get an updated version of Debian

Type the following apt command/apt-get command:
$ sudo apt-get update
$ sudo apt-get upgrade

OR run multiple command with sudo as follows:
$ sudo -- sh -c 'apt update && apt upgrade'
Sample outputs:

Get:2 http://security.debian.org stretch/updates InRelease [63.0 kB]
Ign:1 http://cdn-fastly.deb.debian.org/debian stretch InRelease
Get:3 http://cdn-fastly.deb.debian.org/debian stretch Release [118 kB]
Get:4 http://security.debian.org stretch/updates/main amd64 Packages [246 kB]
Get:5 http://cdn-fastly.deb.debian.org/debian stretch Release.gpg [2,434 B]
Get:6 http://security.debian.org stretch/updates/main Translation-en [105 kB]
Get:7 http://cdn-fastly.deb.debian.org/debian stretch/main amd64 Packages [7,123 kB]
Get:8 http://cdn-fastly.deb.debian.org/debian stretch/main Translation-en [5,393 kB]                                                                                                                                                         
Get:9 http://cdn-fastly.deb.debian.org/debian stretch/main amd64 Contents (deb) [31.4 MB]
         Fetched 45.4 MB in 59s (764 kB/s) 
Reading package lists... Done
Building dependency tree       
Reading state information... Done
35 packages can be upgraded. Run 'apt list --upgradable' to see them.
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Calculating upgrade... Done
The following NEW packages will be installed:
  linux-headers-4.9.0-4-amd64 linux-headers-4.9.0-4-common linux-image-4.9.0-4-amd64
The following packages will be upgraded:
  base-files curl dbus dbus-x11 iproute iproute2 libcurl3 libcurl3-gnutls libdbus-1-3 libdbus-1-dev libicu57 liblxc1 libpython2.7 libpython2.7-dev libpython2.7-minimal libpython2.7-stdlib libsqlite3-0 libxcursor1
  linux-compiler-gcc-6-x86 linux-headers-amd64 linux-image-amd64 linux-kbuild-4.9 linux-libc-dev lxc openssh-client openssh-server openssh-sftp-server publicsuffix python2.7 python2.7-dev python2.7-minimal python3-lxc syslinux
  syslinux-common tzdata
35 upgraded, 3 newly installed, 0 to remove and 0 not upgraded.
Need to get 96.9 MB of archives.
After this operation, 240 MB of additional disk space will be used.
Get:1 http://security.debian.org stretch/updates/main amd64 libxcursor1 amd64 1:1.1.14-1+deb9u1 [34.8 kB]
Setting up python2.7 (2.7.13-2+deb9u2) ...
Setting up linux-headers-4.9.0-4-amd64 (4.9.65-3) ...
Setting up linux-image-amd64 (4.9+80+deb9u2) ...
Setting up openssh-sftp-server (1:7.4p1-10+deb9u2) ...
Setting up libpython2.7:amd64 (2.7.13-2+deb9u2) ...
Setting up libpython2.7-dev:amd64 (2.7.13-2+deb9u2) ...
Setting up dbus (1.10.24-0+deb9u1) ...
Please reboot the system when convenient.
Setting up python2.7-dev (2.7.13-2+deb9u2) ...
Setting up linux-headers-amd64 (4.9+80+deb9u2) ...
Setting up dbus-x11 (1.10.24-0+deb9u1) ...
Setting up openssh-server (1:7.4p1-10+deb9u2) ...

Reboot the box

A reboot is required to replace the running services/libs and kernel:
$ sudo reboot


Find current version of Debian Linux:
$ lsb_release -a
Sample outputs:

Fig.01: My updated version of Debian Linux 9.3
Fig.01: My updated version of Debian Linux 9.3

Make sure all services are running and ports are open too:
$ sudo netstat -tulpn
$ sudo ss -tulpn
$ ps aux | more
$ ps aux | grep -i mysqld
$ ps aux | grep -i nginx

Also check your log files for errors, if any using the tail command or grep command:
$ sudo tail -f /var/log/messages
$ sudo tail -f /var/log/my/app.log
$ sudo grep -i error /var/log/messages

For more info see:


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.

5 comment

  1. # sudo apt-get install -f
    Reading package lists… Done
    Building dependency tree
    Reading state information… Done
    0 upgraded, 0 newly installed, 0 to remove and 35 not upgraded.

    1. # lsb_release -a
      No LSB modules are available.
      Distributor ID: Debian
      Description: Debian GNU/Linux 8.10 (jessie)
      Release: 8.10
      Codename: jessie

        1. Sure but obviously not all apt mirrors are updated yet.
          Today apt upgrade not through any errors.

  2. …but after update do 8.10 Jessie apt-get is broken…
    E: Failed to fetch http://ftp.de.debian.org/debian/pool/main/libx/libxvmc/libxvmc1_1.0.8-2+deb8u1_amd64.deb Size mismatch

    E: Failed to fetch http://ftp.de.debian.org/debian/pool/main/o/openssh/openssh-client_6.7p1-5+deb8u4_amd64.deb Size mismatch

    E: Failed to fetch http://ftp.de.debian.org/debian/pool/main/libw/libwpd/libwpd-0.10-10_0.10.0-2+deb8u1_amd64.deb Size mismatch

    E: Failed to fetch http://ftp.de.debian.org/debian/pool/main/s/sudo/sudo_1.8.10p3-1+deb8u5_amd64.deb Size mismatch

    E: Failed to fetch http://ftp.de.debian.org/debian/pool/main/t/transfig/transfig_3.2.5.e-4+deb8u1_amd64.deb Size mismatch

    E: Unable to fetch some archives, maybe run apt-get update or try with –fix-missing?

    Tried everything include change of update servers from US trough Europe till Japan and still that error :(

    Still, have a question? Get help on our forum!