[Bug 2039342] Re: 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

KcrPL 2039342 at bugs.launchpad.net
Mon Oct 16 11:36:09 UTC 2023


kcrpl at raspberrypi-4-kcrpl:~$ ls /usr/lib/dhcpcd/dhcpcd-run-hooks
	ls: cannot access '/usr/lib/dhcpcd/dhcpcd-run-hooks': No such file or directory

	kcrpl at raspberrypi-4-kcrpl:~$ sudo apt install --reinstall dhcpcd-base
	Reading package lists... Done
	Building dependency tree... Done
	Reading state information... Done
	0 upgraded, 0 newly installed, 1 reinstalled, 0 to remove and 0 not upgraded.
	Need to get 208 kB of archives.
	After this operation, 0 B of additional disk space will be used.
	Get:1 http://ports.ubuntu.com/ubuntu-ports mantic/main arm64 dhcpcd-base arm64 1:10.0.2-3ubuntu3 [208 kB]
	Fetched 208 kB in 0s (580 kB/s)
	(Reading database ... 214263 files and directories currently installed.)
	Preparing to unpack .../dhcpcd-base_1%3a10.0.2-3ubuntu3_arm64.deb ...
	Unpacking dhcpcd-base (1:10.0.2-3ubuntu3) over (1:10.0.2-3ubuntu3) ...
	Setting up dhcpcd-base (1:10.0.2-3ubuntu3) ...
	Processing triggers for man-db (2.11.2-3) ...
	Scanning processes...
	Scanning processor microcode...
	Scanning linux images...

        Running kernel seems to be up-to-date.

        Failed to check for processor microcode upgrades.

        No services need to be restarted.

        No containers need to be restarted.

        No user sessions are running outdated binaries.

        No VM guests are running outdated hypervisor (qemu) binaries on
this host.

	kcrpl at raspberrypi-4-kcrpl:~$ ls /usr/lib/dhcpcd/dhcpcd-run-hooks
	/usr/lib/dhcpcd/dhcpcd-run-hooks

	kcrpl at raspberrypi-4-kcrpl:~$ sudo update-initramfs -u
	(skipping log)

...it worked! This happened during the upgrade because before that
everything worked correctly.

Thank you very much and have a great day!

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




More information about the foundations-bugs mailing list