Quantcast
Channel: Debian User Forums
Viewing all articles
Browse latest Browse all 3423

apt complains about linux-image-amd64 dependencies

$
0
0
I did an "apt upgrade" from Debian 12.0, which went on smoothly until I got a failed dependency for kernel 6.1.0-18-amd64. Manually doing grub-install works, but grub-probe and update-grub fail. System boots and runs normally though, it is just that any call to apt takes ages until the error shows up again.

Code:

Setting up linux-image-6.1.0-18-amd64 (6.1.76-1) .../etc/kernel/postinst.d/dkms:dkms: running auto installation service for kernel 6.1.0-18-amd64.dkms: autoinstall for kernel: 6.1.0-18-amd64./etc/kernel/postinst.d/initramfs-tools:update-initramfs: Generating /boot/initrd.img-6.1.0-18-amd64I: The initramfs will attempt to resume from /dev/sdc1I: (UUID=5d12d82c-b8ee-4820-8981-756afc05657f)I: Set the RESUME variable to override this./etc/kernel/postinst.d/zz-update-grub:Generating grub configuration file .../usr/sbin/grub-probe: error: cannot find a GRUB drive for /dev/sda2.  Check your device.map.run-parts: /etc/kernel/postinst.d/zz-update-grub exited with return code 1dpkg: error processing package linux-image-6.1.0-18-amd64 (--configure): installed linux-image-6.1.0-18-amd64 package post-installation script subprocess returned error exit status 1Setting up libdee-1.0-4:amd64 (1.2.7+17.10.20170616-7+b2) ...Setting up shotwell-common (0.30.17-1) ...Setting up libunity-scopes-json-def-desktop (7.1.4+19.04.20190319-6) ...Setting up libgdata-common (0.18.1-2) ...dpkg: dependency problems prevent configuration of linux-image-amd64: linux-image-amd64 depends on linux-image-6.1.0-18-amd64 (= 6.1.76-1); however:  Package linux-image-6.1.0-18-amd64 is not configured yet.dpkg: error processing package linux-image-amd64 (--configure): dependency problems - leaving unconfiguredSetting up libgee-0.8-2:amd64 (0.20.6-1) ...Setting up libunity-protocol-private0:amd64 (7.1.4+19.04.20190319-6+b1) ...Setting up libunity9:amd64 (7.1.4+19.04.20190319-6+b1) ...Processing triggers for mailcap (3.70+nmu1) ...Processing triggers for desktop-file-utils (0.26-1) ...Processing triggers for hicolor-icon-theme (0.17-2) ...Processing triggers for libc-bin (2.36-9+deb12u4) ...Processing triggers for man-db (2.11.2-2) ...Processing triggers for libglib2.0-0t64:amd64 (2.78.4-7) ...Setting up libgoa-1.0-0b:amd64 (3.46.0-1) ...Setting up libgdata22:amd64 (0.18.1-2) ...Setting up shotwell (0.30.17-1+b1) ...Processing triggers for libc-bin (2.36-9+deb12u4) ...Errors were encountered while processing: linux-image-6.1.0-18-amd64 linux-image-amd64Log ended: 2024-05-13  00:03:08

Statistics: Posted by Alexandre_Oberlin — 2024-05-13 19:58 — Replies 1 — Views 13



Viewing all articles
Browse latest Browse all 3423

Trending Articles