Current OS level:
root@debian93:~# cat /etc/debian_version
9.4
root@debian93:~# lsb_release -a
No LSB modules are available.
Distributor ID: Debian
Description: Debian GNU/Linux 9.4 (stretch)
Release: 9.4
Codename: stretch
Current Installed Kernel Version (linux-image-4.9.0-4-amd64_4.9.65-3+deb9u1_amd64.deb):
root@debian93:~# uname -a
Linux debian93 4.9.0-4-amd64 #1 SMP Debian 4.9.65-3+deb9u1 (2017-12-23) x86_64 GNU/Linux
root@debian93:~# dpkg -l | grep -e Name -e "+++" -e "linux-image"
||/ Name Version Architecture Description
+++-===============================-==============================-============-===============================================================================
ii linux-image-4.9.0-4-amd64 4.9.65-3+deb9u1 amd64 Linux 4.9 for 64-bit PCs
ii linux-image-amd64 4.9+80+deb9u2 amd64 Linux for 64-bit PCs (meta-package)
"linux-image-4.9.0-4-amd64_4.9.65-3+deb9u1_amd64.deb" is the Linux Kernel
"linux-image-amd64_4.9+80+deb9u2_amd64.deb" is the META-PACKAGE
Gather More Info about Above two Packages:
Linux Kernel:
root@debian93:~# aptitude show linux-image-4.9.0-4-amd64
Package: linux-image-4.9.0-4-amd64
Version: 4.9.65-3+deb9u1
State: installed
Automatically installed: yes
Priority: optional
Section: kernel
Maintainer: Debian Kernel Team <debian-kernel@lists.debian.org>
Architecture: amd64
Uncompressed Size: 190 M
Depends: kmod, linux-base (>= 4.3~), initramfs-tools (>= 0.120+deb8u2) | linux-initramfs-tool
Recommends: firmware-linux-free, irqbalance
Suggests: linux-doc-4.9, debian-kernel-handbook, grub-pc | grub-efi-amd64 | extlinux
Breaks: initramfs-tools (< 0.120+deb8u2), xserver-xorg-input-vmmouse (< 1:13.0.99)
Description: Linux 4.9 for 64-bit PCs
The Linux kernel 4.9 and modules for use on PCs with AMD64, Intel 64 or VIA Nano processors.
This kernel also runs on a Xen hypervisor. It supports both privileged (dom0) and unprivileged (domU) operation.
Homepage: https://www.kernel.org/
Linux META-PACKAGE:
root@debian93:~# aptitude show linux-image-amd64
Package: linux-image-amd64
Version: 4.9+80+deb9u4
State: installed (4.9+80+deb9u2), upgrade available (4.9+80+deb9u4)
Automatically installed: no
Priority: optional
Section: kernel
Maintainer: Debian Kernel Team <debian-kernel@lists.debian.org>
Architecture: amd64
Uncompressed Size: 16.4 k
Depends: linux-image-4.9.0-6-amd64
Provides: linux-latest-modules-4.9.0-6-amd64
Description: Linux for 64-bit PCs (meta-package)
This package depends on the latest Linux kernel and modules for use on PCs with AMD64, Intel 64 or VIA Nano processors.
This kernel also runs on a Xen hypervisor. It supports both privileged (dom0) and unprivileged (domU) operation.
Check for updates:
root@debian93:~# apt list --upgradable -a
Listing... Done
linux-image-amd64/stable,stable 4.9+80+deb9u4 amd64 [upgradable from: 4.9+80+deb9u2]
linux-image-amd64/now 4.9+80+deb9u2 amd64 [installed,upgradable to: 4.9+80+deb9u4]
"linux-image-amd64" will be upgraded from "4.9+80+deb9u2" to "4.9+80+deb9u4"
Update the above package:
root@debian93:~# apt-get update
Hit:1 http://security.debian.org/debian-security stretch/updates InRelease
Ign:2 http://ftp.de.debian.org/debian stretch InRelease
Get:3 http://ftp.de.debian.org/debian stretch-updates InRelease [91.0 kB]
Hit:4 http://ftp.de.debian.org/debian stretch Release
Fetched 91.0 kB in 1s (75.6 kB/s)
Reading package lists... Done
root@debian93:~# apt-get upgrade
Reading package lists... Done
Building dependency tree
Reading state information... Done
Calculating upgrade... Done
The following packages have been kept back:
linux-image-amd64
0 upgraded, 0 newly installed, 0 to remove and 1 not upgraded.
Above package was not updated due to problem answered in "https://askubuntu.com/questions/601/the-following-packages-have-been-kept-back-why-and-how-do-i-solve-it"
I will upgrade it individually:
NOTICE THE NEW KERNEL VERSION WITCH WILL BE INSTALLED "linux-image-4.9.0-6-amd64_4.9.82-1+deb9u3_amd64.deb"
root@debian93:~# apt-get upgrade linux-image-amd64
Reading package lists... Done
Building dependency tree
Reading state information... Done
Calculating upgrade... Done
The following NEW packages will be installed:
firmware-linux-free irqbalance libglib2.0-0 libglib2.0-data libnuma1 linux-image-4.9.0-6-amd64 shared-mime-info xdg-user-dirs
The following packages will be upgraded:
linux-image-amd64
1 upgraded, 8 newly installed, 0 to remove and 0 not upgraded.
Need to get 45.1 MB of archives.
After this operation, 213 MB of additional disk space will be used.
Do you want to continue? [Y/n] y
Check again if we have package to be upgraded:
root@debian93:~# apt list --upgradable
Listing... Done
Check the new kernel related packages:
New Kernel has been installed "linux-image-4.9.0-6-amd64_4.9.82-1+deb9u3_amd64.deb"
META-PACKAGE has been updated from "linux-image-amd64_4.9.65-3+deb9u1_amd64.deb" to "linux-image-amd64_4.9+80+deb9u4_amd64.deb"
root@debian93:~# dpkg -l | grep -e Name -e "+++" -e "linux-image"
||/ Name Version Architecture Description
+++-===============================-==============================-============-===============================================================================
ii linux-image-4.9.0-4-amd64 4.9.65-3+deb9u1 amd64 Linux 4.9 for 64-bit PCs
ii linux-image-4.9.0-6-amd64 4.9.82-1+deb9u3 amd64 Linux 4.9 for 64-bit PCs
ii linux-image-amd64 4.9+80+deb9u4 amd64 Linux for 64-bit PCs (meta-package)
Reboot and make sure that you use the new kernel:
root@debian93:~# reboot
root@debian93:~# uname -a
Linux debian93 4.9.0-6-amd64 #1 SMP Debian 4.9.82-1+deb9u3 (2018-03-02) x86_64 GNU/Linux