Salut,
J'essaie de savoir quand je dois redémarrer mon système suite aux mises à jour.
A priori, on a un exemple, ça tombe bien:
apt show linux-image-4.9.0-5
Package: linux-image-4.9.0-5-amd64
Version: 4.9.65-3+deb9u2
Priority: optional
Section: kernel
Source: linux
Maintainer: Debian Kernel Team <debian-kernel@lists.debian.org>
Installed-Size: 190 MB
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)
Homepage: https://www.kernel.org/
Download-Size: 38,8 MB
APT-Manual-Installed: no
APT-Sources: http://security.debian.org/debian-security stretch/updates/main amd64 Packages
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.
Package: linux-image-4.9.0-5-amd64-dbg
Version: 4.9.65-3+deb9u2
Priority: optional
Section: debug
Source: linux
Maintainer: Debian Kernel Team <debian-kernel@lists.debian.org>
Installed-Size: 87,8 MB
Homepage: https://www.kernel.org/
Download-Size: 577 MB
APT-Sources: http://security.debian.org/debian-security stretch/updates/main amd64 Packages
Description: Debug symbols for linux-image-4.9.0-5-amd64
This package provides the detached debug symbols for the Linux kernel and
modules in linux-image-4.9.0-5-amd64.
Package: linux-image-4.9.0-5-rt-amd64
Version: 4.9.65-3+deb9u2
Priority: optional
Section: kernel
Source: linux
Maintainer: Debian Kernel Team <debian-kernel@lists.debian.org>
Installed-Size: 189 MB
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)
Homepage: https://www.kernel.org/
Download-Size: 38,7 MB
APT-Sources: http://security.debian.org/debian-security stretch/updates/main amd64 Packages
Description: Linux 4.9 for 64-bit PCs, PREEMPT_RT
The Linux kernel 4.9 and modules for use on PCs with AMD64, Intel 64 or
VIA Nano processors.
.
This kernel includes the PREEMPT_RT realtime patch set.
Package: linux-image-4.9.0-5-rt-amd64-dbg
Version: 4.9.65-3+deb9u2
Priority: optional
Section: debug
Source: linux
Maintainer: Debian Kernel Team <debian-kernel@lists.debian.org>
Installed-Size: 90,6 MB
Homepage: https://www.kernel.org/
Download-Size: 577 MB
APT-Sources: http://security.debian.org/debian-security stretch/updates/main amd64 Packages
Description: Debug symbols for linux-image-4.9.0-5-rt-amd64
This package provides the detached debug symbols for the Linux kernel and
modules in linux-image-4.9.0-5-rt-amd64.
Linux brix 4.9.0-4-amd64 #1 SMP Debian 4.9.65-3+deb9u1 (2017-12-23) x86_64 GNU/Linux
Found 1 processes using old versions of upgraded files
(1 distinct program)
(0 distinct packages)
No packages seem to need to be restarted.
(please read checkrestart(1))
soit je comprends pas, soit checkrestart ne fait pas ce que j'attends de lui.
DESCRIPTION
The checkrestart program tries to determine if there are processes in the system that need to be restarted after a system upgrade. This is necessary since an
upgrade will usually bring new system libraries and running processes will be still using the old versions of the libraries. In stable Debian GNU/Linux systems
this is typically needed to eliminate a system exposure to a vulnerability which might have been fixed by upgrading a library which that process makes use of.
Consequently, checkrestart is sometimes used as an audit tool to find outdated versions of libraries in use, particularly after security upgrades. Administrators
should not, however, rely on its output completely (see BUGS below).
This script needs to run as root in order to obtain the information it needs for analysis.