[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#917524: initramfs-tools: Upgrade from initramfs-tools package fails



after today's upgrade (full-upgrade), I have installed all the packages available in the repository, but I still have the problem in my installation.
Your suspected problem was probably not?

Preface: »#« means root

After an attempt to renew the Grub configuration, I get the following error message.

# update-grub
/usr/sbin/grub-probe: error: failed to get canonical path of `/dev/mapper/sda3_crypt'.

But the system can be started.

The error message during installation:

# apt full-upgrade
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Calculating upgrade... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
2 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Do you want to continue? [Y/n] 
Setting up linux-image-4.19.0-1-amd64 (4.19.13-1) ...
/etc/kernel/postinst.d/initramfs-tools:
update-initramfs: Generating /boot/initrd.img-4.19.0-1-amd64
mkinitramfs: failed to determine device for /
mkinitramfs: workaround is MODULES=most, check:
grep -r MODULES /etc/initramfs-tools

Error please report bug on initramfs-tools
Include the output of 'mount' and 'cat /proc/mounts'
update-initramfs: failed for /boot/initrd.img-4.19.0-1-amd64 with 1.
run-parts: /etc/kernel/postinst.d/initramfs-tools exited with return code 1
dpkg: error processing package linux-image-4.19.0-1-amd64 (--configure):
 installed linux-image-4.19.0-1-amd64 package post-installation script subprocess returned error exit status 1
Setting up grub-efi-amd64 (2.02+dfsg1-10) ...
Installing for x86_64-efi platform.
Installation finished. No error reported.
/usr/sbin/grub-probe: error: failed to get canonical path of `/dev/mapper/sda3_crypt'.
dpkg: error processing package grub-efi-amd64 (--configure):
 installed grub-efi-amd64 package post-installation script subprocess returned error exit status 1
Processing triggers for initramfs-tools (0.132) ...
update-initramfs: Generating /boot/initrd.img-4.19.0-1-amd64
mkinitramfs: failed to determine device for /
mkinitramfs: workaround is MODULES=most, check:
grep -r MODULES /etc/initramfs-tools

Error please report bug on initramfs-tools
Include the output of 'mount' and 'cat /proc/mounts'
update-initramfs: failed for /boot/initrd.img-4.19.0-1-amd64 with 1.
dpkg: error processing package initramfs-tools (--configure):
 installed initramfs-tools package post-installation script subprocess returned error exit status 1
Errors were encountered while processing:
 linux-image-4.19.0-1-amd64
 grub-efi-amd64
 initramfs-tools
E: Sub-process /usr/bin/dpkg returned an error code (1)

Even after today's installation of the packages: 

iF  initramfs-tools                      0.133                           all          generic modular initramfs generator (automation)
ii  initramfs-tools-core                 0.133                           all          generic modular initramfs generator (core tools)

the problem could not be fixed.

I always restarted after installing the packages: udev and initramfs.
It is a notebook with UEFI (partition).

What data do you need from me to solve the problem?
I hope I can help you fix this tricky bug.

Attachment: pgpP21qmiJGfA.pgp
Description: Digitale Signatur von OpenPGP


Reply to: