[Bug 2024558] Re: package linux-image-5.15.0-75-generic 5.15.0-75.82 failed to install/upgrade: run-parts: /etc/kernel/postinst.d/initramfs-tools exited with return code 1

Benjamin Drung 2024558 at bugs.launchpad.net
Fri Jul 14 09:51:55 UTC 2023


Thank you for taking the time to report this bug and helping to make
Ubuntu better. The relevant dpkg terminal log says:

```
Setting up usrmerge (25ubuntu2) ...
Smartmatch is experimental at /usr/lib/usrmerge/convert-usrmerge line 172.
mv: cannot remove '/lib/live/mount/overlay': Device or resource busy
mv: cannot remove '/lib/live/mount/rootfs/rescue_rootfs.squashfs/bin/bash': Read-only file system
[...]
mv: cannot remove '/lib/live/mount/medium/live/rescue_rootfs.squashfs': Read-only file system

FATAL ERROR:
mv --no-clobber /lib/live /usr/lib/live: rc=1

You can try correcting the errors reported and running again
/usr/lib/usrmerge/convert-usrmerge until it will complete without errors.
Do not install or update other Debian packages until the program
has been run successfully.

dpkg: error processing package usrmerge (--configure):
 installed usrmerge package post-installation script subprocess returned error exit status 1
```

Later initramfs-tools fails:

```
Processing triggers for initramfs-tools (0.140ubuntu13.1) ...
update-initramfs: Generating /boot/initrd.img-5.4.0-152-generic
cp: cannot stat '/lib/live/boot': No such file or directory
live-boot: corecp: cannot stat '/lib/live/boot': No such file or directory
E: /usr/share/initramfs-tools/hooks/live failed with return 1.
update-initramfs: failed for /boot/initrd.img-5.4.0-152-generic with 1.
```

This looks like a follow-up failure of the usrmerge failure. Can you try
to complete the usrmerge by following the instruction of the error
message above? I'll re-assign this bug to usrmerge.

** Package changed: initramfs-tools (Ubuntu) => usrmerge (Ubuntu)

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

Title:
  package linux-image-5.15.0-75-generic 5.15.0-75.82 failed to
  install/upgrade: run-parts: /etc/kernel/postinst.d/initramfs-tools
  exited with return code 1

Status in usrmerge package in Ubuntu:
  Confirmed

Bug description:
  sdo do-release-upgrade

  ProblemType: Package
  DistroRelease: Ubuntu 22.04
  Package: linux-image-5.15.0-75-generic 5.15.0-75.82
  ProcVersionSignature: Ubuntu 4.15.0-23.25-generic 4.15.18
  Uname: Linux 4.15.0-23-generic x86_64
  NonfreeKernelModules: zfs zunicode zavl icp zcommon znvpair
  AlsaDevices:
   total 0
   crw-rw---- 1 root audio 116,  1 Jun 21 10:56 seq
   crw-rw---- 1 root audio 116, 33 Jun 21 10:56 timer
  AplayDevices: Error: [Errno 2] No such file or directory: 'aplay'
  ApportVersion: 2.20.11-0ubuntu82.5
  Architecture: amd64
  ArecordDevices: Error: [Errno 2] No such file or directory: 'arecord'
  AudioDevicesInUse: Error: command ['fuser', '-v', '/dev/snd/seq', '/dev/snd/timer'] failed with exit code 1:
  CRDA: N/A
  CasperMD5CheckResult: unknown
  Date: Wed Jun 21 10:58:36 2023
  ErrorMessage: run-parts: /etc/kernel/postinst.d/initramfs-tools exited with return code 1
  IwConfig: Error: [Errno 2] No such file or directory: 'iwconfig'
  Lsusb: Bus 001 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
  Lsusb-t:
   /sys/bus/usb/devices/usb1/rx_lanes: No such file or directory
   /sys/bus/usb/devices/usb1/tx_lanes: No such file or directory
   /:  Bus 01.Port 1: Dev 1, Class=root_hub, Driver=uhci_hcd/2p, 12M
  MachineType: DigitalOcean Droplet
  PciMultimedia:
   
  ProcFB:
   
  ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz boot=live skipconfig fromiso=live/rescue_rootfs.squashfs net.ifnames=0 ---
  Python3Details: /usr/bin/python3.10, Python 3.10.6, python3-minimal, 3.10.6-1~22.04
  PythonDetails: N/A
  RebootRequiredPkgs: Error: path contained symlinks.
  RelatedPackageVersions: grub-pc 2.06-2ubuntu7.2
  RfKill: Error: [Errno 2] No such file or directory: 'rfkill'
  SourcePackage: initramfs-tools
  Title: package linux-image-5.15.0-75-generic 5.15.0-75.82 failed to install/upgrade: run-parts: /etc/kernel/postinst.d/initramfs-tools exited with return code 1
  UpgradeStatus: Upgraded to jammy on 2023-06-21 (0 days ago)
  dmi.bios.date: 12/12/2017
  dmi.bios.vendor: DigitalOcean
  dmi.bios.version: 20171212
  dmi.board.asset.tag: 360900599
  dmi.board.name: Droplet
  dmi.board.vendor: DigitalOcean
  dmi.board.version: 20171212
  dmi.chassis.type: 1
  dmi.chassis.vendor: QEMU
  dmi.chassis.version: pc-i440fx-6.1
  dmi.modalias: dmi:bvnDigitalOcean:bvr20171212:bd12/12/2017:svnDigitalOcean:pnDroplet:pvr20171212:rvnDigitalOcean:rnDroplet:rvr20171212:cvnQEMU:ct1:cvrpc-i440fx-6.1:
  dmi.product.family: DigitalOcean_Droplet
  dmi.product.name: Droplet
  dmi.product.version: 20171212
  dmi.sys.vendor: DigitalOcean

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/usrmerge/+bug/2024558/+subscriptions




More information about the foundations-bugs mailing list