#1014352 dpkg: error processing package initramfs-tools (--configure)

Package:
lvm2
Source:
lvm2
Description:
Linux Logical Volume Manager
Submitter:
"g.l. gragnani"
Date:
2022-07-06 05:15:06 UTC
Severity:
serious
#1014352#5
Date:
2022-07-04 18:45:05 UTC
From:
To:
Dear Maintainer,
after the last upgrade I received the following message:
Setting up lvm2 (2.03.15-1) ...
Installing new version of config file /etc/lvm/lvm.conf ...
Installing new version of config file /etc/lvm/lvmlocal.conf ...
update-initramfs: deferring update (trigger activated)
Processing triggers for initramfs-tools (0.141) ...
update-initramfs: Generating /boot/initrd.img-5.18.0-2-amd64
E: /usr/share/initramfs-tools/hooks/lvm2 failed with return 1.
update-initramfs: failed for /boot/initrd.img-5.18.0-2-amd64 with 1.
dpkg: error processing package initramfs-tools (--configure):
 installed initramfs-tools package post-installation script subprocess returned error exit status 1
Processing triggers for libc-bin (2.33-7) ...
Processing triggers for man-db (2.10.2-1) ...
Errors were encountered while processing:
 initramfs-tools
E: Sub-process /usr/bin/dpkg returned an error code (1)


I don't know if this is a bug in initramfs-tools or in lvm2 or something else.

#1014352#10
Date:
2022-07-04 19:00:29 UTC
From:
To:
That's #1014314 in lvm2.

Greetings
Marc