Public bug reported:

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@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)

** Affects: initramfs-tools (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: apport-package arm64 arm64-image lunar raspi-image

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, 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:
  New

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@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


-- 
Mailing list: https://launchpad.net/~touch-packages
Post to     : touch-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to