2

I'm running a trixie main contrib non-free non-free-firmware.

Context : 6.12.74+deb13+1-amd64 to 6.12.85+deb13-amd64

An update, upgrade, dist-upgrade have changed my 6.12.74+deb13+1-amd64 to 6.12.85+deb13-amd64.

from /var/log/apt/term.log.1:

Log started: 2026-04-30  23:54:14
(Lecture de la base de données... [...] 
(Lecture de la base de données... 100%
(Lecture de la base de données... 867391 fichiers et répertoires déjà installés.)
Préparation du dépaquetage de .../linux-libc-dev_6.12.85-1_all.deb ...
Dépaquetage de linux-libc-dev (6.12.85-1) sur (6.12.74-2) ...
Paramétrage de linux-libc-dev (6.12.85-1) ...
Log ended: 2026-04-30  23:54:15

Log started: 2026-04-30  23:54:24
Sélection du paquet linux-image-6.12.85+deb13-amd64 précédemment désélectionné.
(Lecture de la base de données... [...] 
(Lecture de la base de données... 100%
(Lecture de la base de données... 867391 fichiers et répertoires déjà installés.)
Préparation du dépaquetage de .../linux-image-6.12.85+deb13-amd64_6.12.85-1_amd64.deb ...
Dépaquetage de linux-image-6.12.85+deb13-amd64 (6.12.85-1) ...
Préparation du dépaquetage de .../linux-image-amd64_6.12.85-1_amd64.deb ...
Dépaquetage de linux-image-amd64 (6.12.85-1) sur (6.12.74-2) ...
Paramétrage de linux-image-6.12.85+deb13-amd64 (6.12.85-1) ...
I: /vmlinuz.old is now a symlink to boot/vmlinuz-6.12.74+deb13+1-amd64
I: /initrd.img.old is now a symlink to boot/initrd.img-6.12.74+deb13+1-amd64
I: /vmlinuz is now a symlink to boot/vmlinuz-6.12.85+deb13-amd64
I: /initrd.img is now a symlink to boot/initrd.img-6.12.85+deb13-amd64
/etc/kernel/postinst.d/dkms:
Automatic installation of modules for kernel 6.12.85+deb13-amd64 was skipped since the kernel headers for this kernel do not seem to be installed.
/etc/kernel/postinst.d/initramfs-tools:
update-initramfs: Generating /boot/initrd.img-6.12.85+deb13-amd64
/etc/kernel/postinst.d/zz-update-grub:
Generating grub configuration file ...
Found background image: /usr/share/images/desktop-base/desktop-grub.png
Found linux image: /boot/vmlinuz-6.12.85+deb13-amd64
Found initrd image: /boot/initrd.img-6.12.85+deb13-amd64
Found linux image: /boot/vmlinuz-6.12.74+deb13+1-amd64
Found initrd image: /boot/initrd.img-6.12.74+deb13+1-amd64
Found linux image: /boot/vmlinuz-6.1.0-44-amd64
Found initrd image: /boot/initrd.img-6.1.0-44-amd64
Warning: os-prober will not be executed to detect other bootable partitions.
Systems on them will not be added to the GRUB boot configuration.
Check GRUB_DISABLE_OS_PROBER documentation entry.
Adding boot menu entry for UEFI Firmware Settings ...
done
Paramétrage de linux-image-amd64 (6.12.85-1) ...
Log ended: 2026-04-30  23:54:41
  • A jump from 74 to 85? Is it normal?

  • is "Automatic installation of modules for kernel 6.12.85+deb13-amd64 was skipped since the kernel headers for this kernel do not seem to be installed." a normal message?
    I was a bit alarmed reading it.

But dist-update didn't look alarmed itself, so I don't now if it's important...

At reboot gdm-x-session fails on munmap_chunk(): invalid pointer

In short, at reboot time gdm-x-session fails on:
(on screen at boot time: after the Starting gdm.service... message coming, the screen turns black with a single blinking cursor)

munmap_chunk(): invalid pointer

Backtrace:
unw_get_proc_name failed: no unwind info found [-10]
0: /usr/lib/xorg/Xorg (?+0x0) [0x55e3aeec4c6d]
unw_get_proc_name failed: no unwind info found [-10]
1: /lib/x86_64-linux-gnu/libc.so.6 (?+0x0) [0x7f76f203adf0]
2: /lib/x86_64-linux-gnu/libc.so.6 (__pthread_kill_implementation+0x10c) [0x7f76f208f95c]
3: /lib/x86_64-linux-gnu/libc.so.6 (__GI_raise+0x12) [0x7f76f203acc2]
4: /lib/x86_64-linux-gnu/libc.so.6 (__GI_abort+0x22) [0x7f76f20234ac]
5: /lib/x86_64-linux-gnu/libc.so.6 (__libc_message_impl.cold+0x5) [0x7f76f2024291]
6: /lib/x86_64-linux-gnu/libc.so.6 (malloc_printerr+0x15) [0x7f76f2099465]
7: /lib/x86_64-linux-gnu/libc.so.6 (munmap_chunk+0x7c) [0x7f76f20996ec]
8: /lib/x86_64-linux-gnu/libc.so.6 (__free+0x158) [0x7f76f209e3d8]
9: /lib/x86_64-linux-gnu/libdrm.so.2 (drmFreeDevice+0x7d) [0x7f76f252913d]
10: /lib/x86_64-linux-gnu/libdrm.so.2 (drmFreeDevices+0x2e) [0x7f76f25292ae]
unw_get_proc_name failed: no unwind info found [-10]
11: /lib/x86_64-linux-gnu/libnvidia-egl-gbm.so.1 (?+0x0) [0x7f76f0df9f38]
unw_get_proc_name failed: no unwind info found [-10]
12: /lib/x86_64-linux-gnu/libEGL_nvidia.so.0 (?+0x0) [0x7f76f0eadcb0]
unw_get_proc_name failed: no unwind info found [-10]
13: /lib/x86_64-linux-gnu/libEGL_nvidia.so.0 (?+0x0) [0x7f76f0e4cd9c]
unw_get_proc_name failed: no unwind info found [-10]
14: /lib/x86_64-linux-gnu/libEGL.so.1 (?+0x0) [0x7f76f1291ad5]
unw_get_proc_name failed: no unwind info found [-10]
15: /usr/lib/x86_64-linux-gnu/dri/swrast_dri.so (?+0x0) [0x7f76f13043f3]
unw_get_proc_name failed: no unwind info found [-10]
16: /usr/lib/xorg/modules/extensions/libglx.so (?+0x0) [0x7f76f1cdbc73]
unw_get_proc_name failed: no unwind info found [-10]
17: /usr/lib/xorg/modules/extensions/libglx.so (?+0x0) [0x7f76f1cdaadf]
18: /usr/lib/xorg/Xorg (_CallCallbacks+0x3c) [0x55e3aed4d1cc]
unw_get_proc_name failed: no unwind info found [-10]
19: /usr/lib/xorg/Xorg (?+0x0) [0x55e3aee7f16f]
20: /usr/lib/xorg/Xorg (InitExtensions+0x89) [0x55e3aedbac69]
unw_get_proc_name failed: no unwind info found [-10]
21: /usr/lib/xorg/Xorg (?+0x0) [0x55e3aed4bae8]
22: /lib/x86_64-linux-gnu/libc.so.6 (__libc_start_call_main+0x78) [0x7f76f2024ca8]
23: /lib/x86_64-linux-gnu/libc.so.6 (__libc_start_main_alias_2+0x85) [0x7f76f2024d65]
24: /usr/lib/xorg/Xorg (_start+0x21) [0x55e3aed34641]

Fatal server error:
(EE) Caught signal 6 (Aborted). Server aborting
(EE)
(EE)
Please consult the The X.Org Foundation support
#011 at http://wiki.x.org
 for help.
(EE) Please also check the log file at "/var/log/Xorg.0.log" for additional information.
(EE)
(EE) Server terminated with error (1). Closing log file.
Unable to run X server
debian gdm3: Gdm: GdmDisplay: Session never registered, failing
debian systemd[1]: session-c5.scope: Deactivated successfully.
debian gdm3: Gdm: Child process -2894 was already dead.
debian gdm3: Gdm: GdmDisplay: Session never registered, failing
debian gdm3: Gdm: Child process -2894 was already dead.

Is there something I can check?

Or should I only wait for a patch, because I might not be the only one affected by such problem?

Longer logs

Unless otherwise mentioned, all the logs are from debian /usr/libexec/gdm-x-session[2896], removed at the beginning of each line to improve readability.

(--) Log file renamed from "/var/log/Xorg.pid-2896.log" to "/var/log/Xorg.0.log"
X.Org X Server 1.21.1.16
X Protocol Version 11, Revision 0
Current Operating System: Linux debian 6.12.85+deb13-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.12.85-1 (2026-04-30) x86_64
Kernel command line: BOOT_IMAGE=/boot/vmlinuz-6.12.85+deb13-amd64 root=UUID=26f4213d-da74-4635-9328-b1223ecb8183 ro quiet
xorg-server 2:21.1.16-1.3+deb13u1 (https://www.debian.org/support)
Current version of pixman: 0.44.0
#011Before reporting problems, check http://wiki.x.org
#011to make sure that you have the latest version.
Markers: (--) probed, (**) from config file, (==) default setting,
#011(++) from command line, (!!) notice, (II) informational,
#011(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(==) Log file: "/var/log/Xorg.0.log", Time: Thu Apr 30 23:59:51 2026
(==) Using system config directory "/usr/share/X11/xorg.conf.d"
(==) No Layout section.  Using the first Screen section.
(==) No screen section available. Using defaults.
(**) |-->Screen "Default Screen Section" (0)
(**) |   |-->Monitor "<default monitor>"
(==) No monitor specified for screen "Default Screen Section".
#011Using a default monitor configuration.
(**) Allowing byte-swapped clients
(==) Automatically adding devices
(==) Automatically enabling devices
(==) Automatically adding GPU devices
(==) Automatically binding GPU devices
(==) Max clients allowed: 256, resource mask: 0x1fffff
(WW) The directory "/usr/share/fonts/X11/cyrillic" does not exist.
#011Entry deleted from font path.
(==) FontPath set to:
#011/usr/share/fonts/X11/misc,
#011/usr/share/fonts/X11/100dpi/:unscaled,
#011/usr/share/fonts/X11/75dpi/:unscaled,
#011/usr/share/fonts/X11/Type1,
#011/usr/share/fonts/X11/100dpi,
#011/usr/share/fonts/X11/75dpi,
#011built-ins
(==) ModulePath set to "/usr/lib/xorg/modules"
(II) The server relies on udev to provide the list of input devices.
#011If no devices become available, reconfigure udev or disable AutoAddDevices.
(II) Loader magic: 0x55e3aef59f00
(II) Module ABI versions:
#011X.Org ANSI C Emulation: 0.4
#011X.Org Video Driver: 25.2
#011X.Org XInput driver : 24.4
#011X.Org Server Extension : 10.0
(++) using VT number 1
(II) systemd-logind: took control of session /org/freedesktop/login1/session/c5
(--) PCI:*(6@0:0:0) 10de:1c03:1462:3283 rev 161, Mem @ 0xfb000000/16777216, 0xd0000000/268435456, 0xe0000000/33554432, I/O @ 0x0000e000/128, BIOS @ 0x????????/131072
(II) LoadModule: "glx"
(II) Loading /usr/lib/xorg/modules/extensions/libglx.so
(II) Module glx: vendor="X.Org Foundation"
#011compiled for 1.21.1.16, module version = 1.0.0
#011ABI class: X.Org Server Extension, version 10.0
 to get percentage from UPower: org.freedesktop.DBus.Error.NameHasNoOwner
(==) Matched nouveau as autoconfigured driver 0
(==) Matched nv as autoconfigured driver 1
(==) Matched modesetting as autoconfigured driver 2
(==) Matched fbdev as autoconfigured driver 3
(==) Matched vesa as autoconfigured driver 4
(==) Assigned the driver to the xf86ConfigLayout
(II) LoadModule: "nouveau"
(II) Loading /usr/lib/xorg/modules/drivers/nouveau_drv.so
(II) Module nouveau: vendor="X.Org Foundation"
#011compiled for 1.21.1.15, module version = 1.0.18
#011Module class: X.Org Video Driver
#011ABI class: X.Org Video Driver, version 25.2
(II) LoadModule: "nv"
(WW) Warning, couldn't open module nv
(EE) Failed to load module "nv" (module does not exist, 0)
(II) LoadModule: "modesetting"
(II) Loading /usr/lib/xorg/modules/drivers/modesetting_drv.so
(II) Module modesetting: vendor="X.Org Foundation"
#011compiled for 1.21.1.16, module version = 1.21.1
#011Module class: X.Org Video Driver
#011ABI class: X.Org Video Driver, version 25.2
(II) LoadModule: "fbdev"
(II) Loading /usr/lib/xorg/modules/drivers/fbdev_drv.so
(II) Module fbdev: vendor="X.Org Foundation"
#011compiled for 1.21.1.3, module version = 0.5.0
#011Module class: X.Org Video Driver
#011ABI class: X.Org Video Driver, version 25.2
(II) LoadModule: "vesa"
(II) Loading /usr/lib/xorg/modules/drivers/vesa_drv.so
(II) Module vesa: vendor="X.Org Foundation"
#011compiled for 1.21.1.15, module version = 2.6.0
#011Module class: X.Org Video Driver
#011ABI class: X.Org Video Driver, version 25.2
(II) NOUVEAU driver Date:   Thu Nov 7 13:15:35 2024 -0500
(II) NOUVEAU driver for NVIDIA chipset families :
#011RIVA TNT            (NV04)
#011RIVA TNT2           (NV05)
#011GeForce 256         (NV10)
#011GeForce 2           (NV11, NV15)
#011GeForce 4MX         (NV17, NV18)
#011GeForce 3           (NV20)
#011GeForce 4Ti         (NV25, NV28)
#011GeForce FX          (NV3x)
#011GeForce 6           (NV4x)
#011GeForce 7           (G7x)
#011GeForce 8           (G8x)
#011GeForce 9           (G9x)
#011GeForce GTX 2xx/3xx (GT2xx)
#011GeForce GTX 4xx/5xx (GFxxx)
#011GeForce GTX 6xx/7xx (GKxxx)
#011GeForce GTX 9xx     (GMxxx)
#011GeForce GTX 10xx    (GPxxx)
(II) modesetting: Driver for Modesetting Kernel Drivers: kms
(II) FBDEV: driver for framebuffer: fbdev
(II) VESA: driver for VESA chipsets: vesa
(EE) [drm] Failed to open DRM device for pci:0000:06:00.0: -19
(EE) open /dev/dri/card0: No such file or directory
(WW) Falling back to old probe method for modesetting
(EE) open /dev/dri/card0: No such file or directory
(II) Loading sub module "fbdevhw"
(II) LoadModule: "fbdevhw"
(II) Loading /usr/lib/xorg/modules/libfbdevhw.so
(II) Module fbdevhw: vendor="X.Org Foundation"
#011compiled for 1.21.1.16, module version = 0.0.2
#011ABI class: X.Org Video Driver, version 25.2
(EE) Unable to find a valid framebuffer device
(WW) Falling back to old probe method for fbdev
(II) Loading sub module "fbdevhw"
(II) LoadModule: "fbdevhw"
(II) Loading /usr/lib/xorg/modules/libfbdevhw.so
(II) Module fbdevhw: vendor="X.Org Foundation"
#011compiled for 1.21.1.16, module version = 0.0.2
#011ABI class: X.Org Video Driver, version 25.2
(II) FBDEV(2): using default device
vesa: Refusing to run, Framebuffer or dri device present
(EE) Screen 0 deleted because of no matching config section.
(II) UnloadModule: "modesetting"
(EE) Screen 0 deleted because of no matching config section.
(II) UnloadModule: "fbdev"
(II) UnloadSubModule: "fbdevhw"
(II) FBDEV(0): Creating default Display subsection in Screen section
#011"Default Screen Section" for depth/fbbpp 24/32
(==) FBDEV(0): Depth 24, (==) framebuffer bpp 32
(==) FBDEV(0): RGB weight 888
(==) FBDEV(0): Default visual is TrueColor
(==) FBDEV(0): Using gamma correction (1.0, 1.0, 1.0)
(II) FBDEV(0): hardware: EFI VGA (video memory: 3072kB)
(DB) xf86MergeOutputClassOptions unsupported bus type 0
(II) FBDEV(0): checking modes against framebuffer device...
(II) FBDEV(0): checking modes against monitor...
(II) FBDEV(0): Virtual size is 1024x768 (pitch 1024)
(**) FBDEV(0):  Built-in mode "current": 78.7 MHz, 59.9 kHz, 75.7 Hz
(II) FBDEV(0): Modeline "current"x0.0   78.65  1024 1056 1184 1312  768 772 776 792 -hsync -vsync -csync (59.9 kHz b)
(==) FBDEV(0): DPI set to (96, 96)
(II) Loading sub module "fb"
(II) LoadModule: "fb"
(II) Module "fb" already built-in
(**) FBDEV(0): using shadow framebuffer
(II) Loading sub module "shadow"
(II) LoadModule: "shadow"
(II) Loading /usr/lib/xorg/modules/libshadow.so
(II) Module shadow: vendor="X.Org Foundation"
#011compiled for 1.21.1.16, module version = 1.1.0
#011ABI class: X.Org ANSI C Emulation, version 0.4
(II) FBDEV(0): FBIOBLANK: Invalid argument (Screen blanking not supported by kernel - disabling)
(==) FBDEV(0): Backing store enabled
(==) FBDEV(0): DPMS enabled
(II) Initializing extension Generic Event Extension
(II) Initializing extension SHAPE
(II) Initializing extension MIT-SHM
(II) Initializing extension XInputExtension
(II) Initializing extension XTEST
(II) Initializing extension BIG-REQUESTS
(II) Initializing extension SYNC
(II) Initializing extension XKEYBOARD
(II) Initializing extension XC-MISC
(II) Initializing extension SECURITY
backs suppressed
7586392.736:171): apparmor="ALLOWED" operation="open" class="file" profile="Xorg" name="/dev/" pid=2896 comm="Xorg" requested_mask="r" denied_mask="r" fsuid=0 ouid=0
(II) Initializing extension XFIXES
(II) Initializing extension RENDER
(II) Initializing extension RANDR
(II) Initializing extension COMPOSITE
(II) Initializing extension DAMAGE
(II) Initializing extension MIT-SCREEN-SAVER
(II) Initializing extension DOUBLE-BUFFER
(II) Initializing extension RECORD
(II) Initializing extension DPMS
(II) Initializing extension Present
(II) Initializing extension DRI3
(II) Initializing extension X-Resource
(II) Initializing extension XVideo
(II) Initializing extension XVideo-MotionCompensation
(II) Initializing extension SELinux
(II) SELinux: Disabled on system
(II) Initializing extension GLX
(II) AIGLX: Screen 0 is not DRI2 capable
7586392.744:172): apparmor="ALLOWED" operation="open" class="file" profile="Xorg" name="/proc/2896/comm" pid=2896 comm="Xorg" requested_mask="r" denied_mask="r" fsuid=0 ouid=0
munmap_chunk(): invalid pointer
(EE)
(EE) Backtrace:
(EE) unw_get_proc_name failed: no unwind info found [-10]
(EE) 0: /usr/lib/xorg/Xorg (?+0x0) [0x55e3aeec4c6d]
(EE) unw_get_proc_name failed: no unwind info found [-10]
(EE) 1: /lib/x86_64-linux-gnu/libc.so.6 (?+0x0) [0x7f76f203adf0]
(EE) 2: /lib/x86_64-linux-gnu/libc.so.6 (__pthread_kill_implementation+0x10c) [0x7f76f208f95c]
(EE) 3: /lib/x86_64-linux-gnu/libc.so.6 (__GI_raise+0x12) [0x7f76f203acc2]
(EE) 4: /lib/x86_64-linux-gnu/libc.so.6 (__GI_abort+0x22) [0x7f76f20234ac]
(EE) 5: /lib/x86_64-linux-gnu/libc.so.6 (__libc_message_impl.cold+0x5) [0x7f76f2024291]
(EE) 6: /lib/x86_64-linux-gnu/libc.so.6 (malloc_printerr+0x15) [0x7f76f2099465]
(EE) 7: /lib/x86_64-linux-gnu/libc.so.6 (munmap_chunk+0x7c) [0x7f76f20996ec]
(EE) 8: /lib/x86_64-linux-gnu/libc.so.6 (__free+0x158) [0x7f76f209e3d8]
(EE) 9: /lib/x86_64-linux-gnu/libdrm.so.2 (drmFreeDevice+0x7d) [0x7f76f252913d]
(EE) 10: /lib/x86_64-linux-gnu/libdrm.so.2 (drmFreeDevices+0x2e) [0x7f76f25292ae]
(EE) unw_get_proc_name failed: no unwind info found [-10]
(EE) 11: /lib/x86_64-linux-gnu/libnvidia-egl-gbm.so.1 (?+0x0) [0x7f76f0df9f38]
(EE) unw_get_proc_name failed: no unwind info found [-10]
(EE) 12: /lib/x86_64-linux-gnu/libEGL_nvidia.so.0 (?+0x0) [0x7f76f0eadcb0]
(EE) unw_get_proc_name failed: no unwind info found [-10]
(EE) 13: /lib/x86_64-linux-gnu/libEGL_nvidia.so.0 (?+0x0) [0x7f76f0e4cd9c]
(EE) unw_get_proc_name failed: no unwind info found [-10]
(EE) 14: /lib/x86_64-linux-gnu/libEGL.so.1 (?+0x0) [0x7f76f1291ad5]
(EE) unw_get_proc_name failed: no unwind info found [-10]
(EE) 15: /usr/lib/x86_64-linux-gnu/dri/swrast_dri.so (?+0x0) [0x7f76f13043f3]
(EE) unw_get_proc_name failed: no unwind info found [-10]
(EE) 16: /usr/lib/xorg/modules/extensions/libglx.so (?+0x0) [0x7f76f1cdbc73]
(EE) unw_get_proc_name failed: no unwind info found [-10]
(EE) 17: /usr/lib/xorg/modules/extensions/libglx.so (?+0x0) [0x7f76f1cdaadf]
(EE) 18: /usr/lib/xorg/Xorg (_CallCallbacks+0x3c) [0x55e3aed4d1cc]
(EE) unw_get_proc_name failed: no unwind info found [-10]
(EE) 19: /usr/lib/xorg/Xorg (?+0x0) [0x55e3aee7f16f]
(EE) 20: /usr/lib/xorg/Xorg (InitExtensions+0x89) [0x55e3aedbac69]
(EE) unw_get_proc_name failed: no unwind info found [-10]
(EE) 21: /usr/lib/xorg/Xorg (?+0x0) [0x55e3aed4bae8]
(EE) 22: /lib/x86_64-linux-gnu/libc.so.6 (__libc_start_call_main+0x78) [0x7f76f2024ca8]
(EE) 23: /lib/x86_64-linux-gnu/libc.so.6 (__libc_start_main_alias_2+0x85) [0x7f76f2024d65]
(EE) 24: /usr/lib/xorg/Xorg (_start+0x21) [0x55e3aed34641]
(EE)
(EE)
Fatal server error:
(EE) Caught signal 6 (Aborted). Server aborting
(EE)
(EE)
Please consult the The X.Org Foundation support
#011 at http://wiki.x.org
 for help.
(EE) Please also check the log file at "/var/log/Xorg.0.log" for additional information.
(EE)
(EE) Server terminated with error (1). Closing log file.
Unable to run X server
debian gdm3: Gdm: GdmDisplay: Session never registered, failing
debian systemd[1]: session-c5.scope: Deactivated successfully.
debian gdm3: Gdm: Child process -2894 was already dead.
debian gdm3: Gdm: GdmDisplay: Session never registered, failing
debian gdm3: Gdm: Child process -2894 was already dead.
debian systemd[1]: Started session-c6.scope - Session c6 of User Debian-gdm.
0

2 Answers 2

2

You seem to be using the proprietary NVIDIA drivers, but they haven’t been built for the new kernel because the kernel headers aren’t available. Install them with

sudo apt install linux-headers-amd64

This should result in dkms building the modules, and then your system should work correctly again.

You could report a bug, but this isn’t a kernel bug — it might be a bug in libdrm, or in the NVIDIA libraries themselves.

The jump from 6.12.74 to 6.12.85 is normal, the Debian kernel team doesn’t package every patch release. The update to 6.12.85 was prompted by Copy Fail; the new kernel package fixes that along with a lot of other vulnerabilities.

3
  • It worked, thanks again! But if linux-headers-amd64 were present at the beginning of my 6.12.74 usage (I don't remember when it came by dist-upgrade) and not at the end, it's that during this period it has been removed. I don't remove myself packages except by the mean of apt-get autoremove and I can't figure this command doing wrong things. Commented 1 hour ago
  • The logs in /var/log/apt might help you figure out how that happened. Commented 1 hour ago
  • Looking at them, the removal of QGis I had to do in March to install Debian 13 as it was blocking Debian 12 to 13 migration, removed linux-headers-amd64 in the same move. I've wrote this in an additional answer to this question. Commented 1 hour ago
0
Epilogue

sudo apt install linux-headers-amd64 that Stephen Kitt suggests corrected my trouble.

Looking further in /var/log/apt/term.log.* and history.log.* files shows that it's a consequence of the removal of QGis that I had to do in March, because it was blocking the upgrade from Debian 12 to 13, that removed the linux-headers-amd64 in the same move.

Start-Date: 2026-03-14  06:25:36
Commandline: apt autoremove
Requested-By: lebihan (1000)
Remove: libqt63dinput6:amd64 (6.8.2+dfsg-2), qt6-3d-defaultgeometryloader-plugin:amd64 (6.8.2+dfsg-2), libqt6pdf6:amd64 (6.8.2+dfsg-4), python3-pyqt6.qsci:amd64 (2.14.1+dfsg-1+b4), libqgis-core4.0.0:amd64 (1:4.0.0+18trixie), linux-headers-6.1.0-43-amd64:amd64 (6.1.162-1), libqgis-3d4.0.0:amd64 (1:4.0.0+18trixie), libqt63drender6:amd64 (6.8.2+dfsg-2), libqgisgrass8-4.0.0:amd64 (1:4.0.0+18trixie), libqt6serialport6:amd64 (6.8.2-3), libjs-leaflet:amd64 (1.7.1~dfsg-7), python3-pyqt6.qtserialport:amd64 (6.9.0-2), qgis-common:amd64 (1:3.44.7+17bookworm), python3-owslib:amd64 (0.33.0-1), python3-plotly:amd64 (5.20.0+dfsg-1), libqt5charts5:amd64 (5.15.15-2), libqgis-native4.0.0:amd64 (1:4.0.0+18trixie), libqscintilla2-qt6-l10n:amd64 (2.14.1+dfsg-1), libdraco8:amd64 (1.5.6+dfsg-3+b3), libqt63danimation6:amd64 (6.8.2+dfsg-2), python3-qgis-common:amd64 (1:4.0.0+18trixie), libassimp5:amd64 (5.4.3+ds-2), libqt6concurrent6:amd64 (6.8.2+dfsg-9+deb13u1), linux-headers-amd64:amd64 (6.12.74-2), linux-image-6.1.0-43-amd64:amd64 (6.1.162-1), libsdl-ttf2.0-0:amd64 (2.0.11-6+b2), network-manager-gnome:amd64 (1.36.0-3+b1), qml-module-qtcharts:amd64 (5.15.15-2), qt6-3d-scene2d-plugin:amd64 (6.8.2+dfsg-2), libspice-server1:amd64 (0.15.2-1+b1), libsqlite3-mod-spatialite:amd64 (5.1.0-3+b2), libmeshoptimizer2d:amd64 (0.22+dfsg-1), qgis-providers-common:amd64 (1:4.0.0+18trixie), libqt63dlogic6:amd64 (6.8.2+dfsg-2), python3-psycopg2:amd64 (2.9.10-1.pgdg130+2), python3-pyqt6.qtpositioning:amd64 (6.9.0-2), libqt63dextras6:amd64 (6.8.2+dfsg-2), libqt63dquickscene2d6:amd64 (6.8.2+dfsg-2), libqgis-server4.0.0:amd64 (1:4.0.0+18trixie), libgeographiclib26:amd64 (2.5-1), qt6-3d-assimpsceneimport-plugin:amd64 (6.8.2+dfsg-2), libqgis-gui4.0.0:amd64 (1:4.0.0+18trixie), libqt6uitools6:amd64 (6.8.2-5), qt6-image-formats-plugin-pdf:amd64 (6.8.2+dfsg-4), libqscintilla2-qt6-15:amd64 (2.14.1+dfsg-1+b4), libzip5:amd64 (1.11.3-2), qgis-plugin-grass-common:amd64 (1:4.0.0+18trixie), qgis-provider-grass:amd64 (1:4.0.0+18trixie), libqt63dcore6:amd64 (6.8.2+dfsg-2), python3-tenacity:amd64 (8.4.2+really8.4.1-2), qt6-3d-gltfsceneio-plugin:amd64 (6.8.2+dfsg-2), python3-pyproj:amd64 (3.7.1-1+b1), linux-headers-6.1.0-43-common:amd64 (6.1.162-1), libqgispython4.0.0:amd64 (1:4.0.0+18trixie), libqt6keychain1:amd64 (0.15.0-1)
End-Date: 2026-03-14  06:25:45

output of a part of grep -F "linux-headers-amd64" term.log.2 -B55

Log started: 2026-03-14  06:25:36
(Lecture de la base de données... 925603 fichiers et répertoires déjà installés.)
Suppression de libqgis-3d4.0.0 (1:4.0.0+18trixie) ...
Suppression de qt6-3d-assimpsceneimport-plugin:amd64 (6.8.2+dfsg-2) ...
Suppression de libassimp5:amd64 (5.4.3+ds-2) ...
Suppression de qgis-provider-grass (1:4.0.0+18trixie) ...
Suppression de libqgispython4.0.0 (1:4.0.0+18trixie) ...
Suppression de qgis-common (1:3.44.7+17bookworm) ...
Suppression de libjs-leaflet (1.7.1~dfsg-7) ...
Suppression de libqgisgrass8-4.0.0 (1:4.0.0+18trixie) ...
Suppression de libqgis-gui4.0.0 (1:4.0.0+18trixie) ...
Suppression de libqgis-native4.0.0 (1:4.0.0+18trixie) ...
Suppression de libqgis-server4.0.0 (1:4.0.0+18trixie) ...
Suppression de python3-pyqt6.qsci (2.14.1+dfsg-1+b4) ...
Suppression de libqscintilla2-qt6-15:amd64 (2.14.1+dfsg-1+b4) ...
Suppression de libqscintilla2-qt6-l10n (2.14.1+dfsg-1) ...
Suppression de qml-module-qtcharts:amd64 (5.15.15-2) ...
Suppression de libqt5charts5:amd64 (5.15.15-2) ...
Suppression de libqt63danimation6:amd64 (6.8.2+dfsg-2) ...
Suppression de qt6-3d-scene2d-plugin:amd64 (6.8.2+dfsg-2) ...
Suppression de qt6-3d-gltfsceneio-plugin:amd64 (6.8.2+dfsg-2) ...
Suppression de libqt63dextras6:amd64 (6.8.2+dfsg-2) ...
Suppression de libqt63dinput6:amd64 (6.8.2+dfsg-2) ...
Suppression de libqt63dlogic6:amd64 (6.8.2+dfsg-2) ...
Suppression de libqt63dquickscene2d6:amd64 (6.8.2+dfsg-2) ...
Suppression de qt6-3d-defaultgeometryloader-plugin:amd64 (6.8.2+dfsg-2) ...
Suppression de libqt63drender6:amd64 (6.8.2+dfsg-2) ...
Suppression de qt6-image-formats-plugin-pdf:amd64 (6.8.2+dfsg-4) ...
Suppression de libqt6pdf6:amd64 (6.8.2+dfsg-4) ...
Suppression de python3-pyqt6.qtserialport (6.9.0-2) ...
Suppression de libqt6uitools6:amd64 (6.8.2-5) ...
Suppression de libsdl-ttf2.0-0:amd64 (2.0.11-6+b2) ...
Suppression de libspice-server1:amd64 (0.15.2-1+b1) ...
Suppression de libsqlite3-mod-spatialite:amd64 (5.1.0-3+b2) ...
Suppression de linux-headers-6.1.0-43-amd64 (6.1.162-1) ...
Suppression de linux-headers-6.1.0-43-common (6.1.162-1) ...
Suppression de linux-headers-amd64 (6.12.74-2) ...
3
  • That doesn’t really explain it — the corresponding entry in one of the /var/log/apt/history.log files should give you the real command that led to the removal. It’s more likely to be an apt autoremove than the removal of qgis itself. Commented 1 hour ago
  • Yes it an autoremove. It's more dangerous than I expected. System believed that linux-headers-amd64 had no more use for him, when it still had some for building the NVidia driver, later. Commented 58 mins ago
  • Right, you always have to check what autoremove is going to remove before letting it proceed. But that assumes users know what packages are necessary, which isn’t always obvious. Commented 51 mins ago

You must log in to answer this question.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.