initramfs-tools only uses the dhcpcd binary from dhcpcd-base (not the
dhcpcd service).

The relevant log lines from the output are:

+ copy_exec /usr/lib/dhcpcd/dhcpcd-run-hooks
+ local src target x nonoptlib ret
+ src=/usr/lib/dhcpcd/dhcpcd-run-hooks
+ target=/usr/lib/dhcpcd/dhcpcd-run-hooks
+ copy_file binary /usr/lib/dhcpcd/dhcpcd-run-hooks 
/usr/lib/dhcpcd/dhcpcd-run-hooks
+ local type src target link_target
+ type=binary
+ src=/usr/lib/dhcpcd/dhcpcd-run-hooks
+ target=/usr/lib/dhcpcd/dhcpcd-run-hooks
+ [ -f /usr/lib/dhcpcd/dhcpcd-run-hooks ]
+ return 2
+ return 1
E: /usr/share/initramfs-tools/hooks/dhcpcd failed with return 1.
update-initramfs: failed for /boot/initrd.img-6.5.0-1005-raspi with 1.

The test if /usr/lib/dhcpcd/dhcpcd-run-hooks exist fails. Is dhcpcd-base
fully installed and /usr/lib/dhcpcd/dhcpcd-run-hooks present?

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

Reply via email to