[Bug 2028643] Re: package linux-image-6.2.0-1007-raspi 6.2.0-1007.9 failed to install/upgrade: run-parts: /etc/kernel/postinst.d/initramfs-tools exited with return code 2
Launchpad Bug Tracker
2028643 at bugs.launchpad.net
Sun Sep 24 04:17:11 UTC 2023
[Expired for initramfs-tools (Ubuntu) because there has been no activity
for 60 days.]
** Changed in: initramfs-tools (Ubuntu)
Status: Incomplete => Expired
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to initramfs-tools in Ubuntu.
https://bugs.launchpad.net/bugs/2028643
Title:
package linux-image-6.2.0-1007-raspi 6.2.0-1007.9 failed to
install/upgrade: run-parts: /etc/kernel/postinst.d/initramfs-tools
exited with return code 2
Status in initramfs-tools package in Ubuntu:
Expired
Bug description:
RaspberryPI4, Ubuntu BerryBoot Server image on SSD, I have used this computer for fun and not a daily one.
So when startup I have upgrade the system and every time there is a problem found, See my command line messages;
/etc/kernel/postinst.d/initramfs-tools:
update-initramfs: Generating /boot/initrd.img-6.2.0-1006-raspi
/usr/sbin/mkinitramfs: 133: .: cannot open /usr/share/initramfs-tools/conf-hooks
.d/cryptsetup: No such device or address
update-initramfs: failed for /boot/initrd.img-6.2.0-1006-raspi with 2.
run-parts: /etc/kernel/postinst.d/initramfs-tools exited with return code 2
dpkg: fout bij verwerken van pakket linux-image-6.2.0-1006-raspi (--configure):
subproces van pakket linux-image-6.2.0-1006-raspi werd script post-installation
geïnstalleerd gaf de foutwaarde 1 terug
Bezig met afhandelen van triggers voor linux-image-6.2.0-1007-raspi (6.2.0-1007.
9) ...
/etc/kernel/postinst.d/initramfs-tools:
update-initramfs: Generating /boot/initrd.img-6.2.0-1007-raspi
/usr/sbin/mkinitramfs: 133: .: cannot open /usr/share/initramfs-tools/conf-hooks
.d/cryptsetup: No such device or address
update-initramfs: failed for /boot/initrd.img-6.2.0-1007-raspi with 2.
run-parts: /etc/kernel/postinst.d/initramfs-tools exited with return code 2
dpkg: fout bij verwerken van pakket linux-image-6.2.0-1007-raspi (--configure):
subproces van pakket linux-image-6.2.0-1007-raspi werd script post-installation
geïnstalleerd gaf de foutwaarde 1 terug
Bezig met afhandelen van triggers voor linux-image-6.2.0-1009-raspi (6.2.0-1009.
11) ...
/etc/kernel/postinst.d/initramfs-tools:
update-initramfs: Generating /boot/initrd.img-6.2.0-1009-raspi
/usr/sbin/mkinitramfs: 133: .: cannot open /usr/share/initramfs-tools/conf-hooks
.d/cryptsetup: No such device or address
update-initramfs: failed for /boot/initrd.img-6.2.0-1009-raspi with 2.
run-parts: /etc/kernel/postinst.d/initramfs-tools exited with return code 2
dpkg: fout bij verwerken van pakket linux-image-6.2.0-1009-raspi (--configure):
subproces van pakket linux-image-6.2.0-1009-raspi werd script post-installation
geïnstalleerd gaf de foutwaarde 1 terug
Fouten gevonden tijdens verwerken van:
linux-image-6.2.0-1006-raspi
linux-image-6.2.0-1007-raspi
linux-image-6.2.0-1009-raspi
E: Sub-process /usr/bin/dpkg returned an error code (1)
root at rene-desktop:/home/rene# apt autoremove
Pakketlijsten worden ingelezen... Klaar
Boom van vereisten wordt opgebouwd... Klaar
De statusinformatie wordt gelezen... Klaar
De volgende pakketten zullen VERWIJDERD worden:
linux-headers-6.2.0-1006-raspi linux-image-6.2.0-1006-raspi
linux-modules-6.2.0-1006-raspi linux-raspi-headers-6.2.0-1006
0 opgewaardeerd, 0 nieuw geïnstalleerd, 4 te verwijderen en 0 niet opgewaardeerd.
3 niet volledig geïnstalleerd of verwijderd.
Na deze bewerking zal er 286 MB schijfruimte vrijkomen.
Wilt u doorgaan? [J/n] j
(Database wordt ingelezen ... 244924 bestanden en mappen momenteel geïnstalleerd
.)
linux-headers-6.2.0-1006-raspi (6.2.0-1006.8) wordt verwijderd ...
linux-raspi-headers-6.2.0-1006 (6.2.0-1006.8) wordt verwijderd ...
linux-modules-6.2.0-1006-raspi (6.2.0-1006.8) wordt verwijderd ...
linux-image-6.2.0-1006-raspi (6.2.0-1006.8) wordt verwijderd ...
/var/lib/dpkg/info/linux-image-6.2.0-1006-raspi.postrm ... removing pending trig
ger
/etc/kernel/postrm.d/initramfs-tools:
update-initramfs: Deleting /boot/initrd.img-6.2.0-1006-raspi
/etc/kernel/postrm.d/zz-flash-kernel:
Using DTB: bcm2711-rpi-4-b.dtb
flash-kernel: Kernel 6.2.0-1006-raspi has been removed.
flash-kernel: A higher version (6.2.0-1009-raspi) is still installed, no reflash
ing required.
Instellen van linux-image-6.2.0-1009-raspi (6.2.0-1009.11) ...
I: /boot/initrd.img is now a symlink to initrd.img-6.2.0-1009-raspi
Instellen van linux-image-6.2.0-1007-raspi (6.2.0-1007.9) ...
I: /boot/initrd.img.old is now a symlink to initrd.img-6.2.0-1007-raspi
Bezig met afhandelen van triggers voor linux-image-6.2.0-1009-raspi (6.2.0-1009.
11) ...
/etc/kernel/postinst.d/initramfs-tools:
update-initramfs: Generating /boot/initrd.img-6.2.0-1009-raspi
/usr/sbin/mkinitramfs: 133: .: cannot open /usr/share/initramfs-tools/conf-hooks
.d/cryptsetup: No such device or address
update-initramfs: failed for /boot/initrd.img-6.2.0-1009-raspi with 2.
run-parts: /etc/kernel/postinst.d/initramfs-tools exited with return code 2
dpkg: fout bij verwerken van pakket linux-image-6.2.0-1009-raspi (--configure):
subproces van pakket linux-image-6.2.0-1009-raspi werd script post-installation
geïnstalleerd gaf de foutwaarde 1 terug
Bezig met afhandelen van triggers voor linux-image-6.2.0-1007-raspi (6.2.0-1007.
9) ...
/etc/kernel/postinst.d/initramfs-tools:
update-initramfs: Generating /boot/initrd.img-6.2.0-1007-raspi
/usr/sbin/mkinitramfs: 133: .: cannot open /usr/share/initramfs-tools/conf-hooks
.d/cryptsetup: No such device or address
update-initramfs: failed for /boot/initrd.img-6.2.0-1007-raspi with 2.
run-parts: /etc/kernel/postinst.d/initramfs-tools exited with return code 2
dpkg: fout bij verwerken van pakket linux-image-6.2.0-1007-raspi (--configure):
subproces van pakket linux-image-6.2.0-1007-raspi werd script post-installation
geïnstalleerd gaf de foutwaarde 1 terug
Fouten gevonden tijdens verwerken van:
linux-image-6.2.0-1009-raspi
linux-image-6.2.0-1007-raspi
E: Sub-process /usr/bin/dpkg returned an error code (1)
I hope this will help you further to improve this wonderfull OS.
ProblemType: Package
DistroRelease: Ubuntu 23.04
Package: linux-image-6.2.0-1007-raspi 6.2.0-1007.9
Uname: Linux 5.10.43v64 aarch64
ApportVersion: 2.26.1-0ubuntu2
Architecture: arm64
CasperMD5CheckResult: unknown
Date: Tue Jul 25 08:56:33 2023
ErrorMessage: run-parts: /etc/kernel/postinst.d/initramfs-tools exited with return code 2
ImageMediaBuild: 20230417
Python3Details: /usr/bin/python3.11, Python 3.11.2, python3-minimal, 3.11.2-1
PythonDetails: N/A
RelatedPackageVersions:
dpkg 1.21.21ubuntu1
apt 2.6.0
SourcePackage: initramfs-tools
Title: package linux-image-6.2.0-1007-raspi 6.2.0-1007.9 failed to install/upgrade: run-parts: /etc/kernel/postinst.d/initramfs-tools exited with return code 2
UpgradeStatus: No upgrade log present (probably fresh install)
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/initramfs-tools/+bug/2028643/+subscriptions
More information about the foundations-bugs
mailing list