Thank you for taking the time to report this bug and helping to make Ubuntu better. The relevant dpkg terminal log says:
E: /usr/share/initramfs-tools/hooks/dhcpcd failed with return 1. Sadly there is no error message explaining the exit code 1. Can you move /usr/share/initramfs-tools/hooks/dhcpcd back and add "set -x" (without the quotes) to the script and then run update-initramfs to get more log output? sudo nano /usr/share/initramfs-tools/hooks/dhcpcd sudo update-initramfs -u Please attach the output to the bug report then. ** Changed in: initramfs-tools (Ubuntu) Status: New => Incomplete -- 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/2039342 Title: package linux-image-6.5.0-1005-raspi 6.5.0-1005.7 failed to install/upgrade: run-parts: /etc/kernel/postinst.d/initramfs-tools exited with return code 1 Status in initramfs-tools package in Ubuntu: Incomplete Bug description: This happened during the upgrade. ProblemType: Package DistroRelease: Ubuntu 23.10 Package: linux-image-6.5.0-1005-raspi 6.5.0-1005.7 ProcVersionSignature: Ubuntu 6.2.0-1014.16-raspi 6.2.16 Uname: Linux 6.2.0-1014-raspi aarch64 ApportVersion: 2.27.0-0ubuntu5 Architecture: arm64 CasperMD5CheckResult: unknown CloudArchitecture: aarch64 CloudBuildName: server CloudID: nocloud CloudName: unknown CloudPlatform: nocloud CloudSerial: CloudSubPlatform: config-disk (/dev/sdb1) Date: Sat Oct 14 09:07:02 2023 ErrorMessage: run-parts: /etc/kernel/postinst.d/initramfs-tools exited with return code 1 ImageMediaBuild: 20210201.1 Python3Details: /usr/bin/python3.11, Python 3.11.6, python3-minimal, 3.11.4-5 PythonDetails: N/A RebootRequiredPkgs: Error: path contained symlinks. RelatedPackageVersions: dpkg 1.22.0ubuntu1 apt 2.7.3 SourcePackage: initramfs-tools Title: package linux-image-6.5.0-1005-raspi 6.5.0-1005.7 failed to install/upgrade: run-parts: /etc/kernel/postinst.d/initramfs-tools exited with return code 1 UpgradeStatus: Upgraded to mantic on 2023-10-14 (0 days ago) To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/initramfs-tools/+bug/2039342/+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