this is the content of the the comment on the line of cp is for me #!/bin/sh -e # Copy the compatibility symlinks until initramfs-tools will be converted # to use the kmod program.
if [ "$1" = "prereqs" ]; then exit 0; fi . /usr/share/initramfs-tools/hook-functions copy_exec /bin/kmod #cp -a /sbin/modprobe /sbin/rmmod $DESTDIR/sbin/ mkdir -p $DESTDIR/lib/modprobe.d/ if [ "$(echo /lib/modprobe.d/*)" != "/lib/modprobe.d/*" ]; then cp -a /lib/modprobe.d/* $DESTDIR/lib/modpro -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1776653 Title: package linux-image-4.15.0-22-generic 4.15.0-22.24 failed to install/upgrade: run-parts: /etc/kernel/postinst.d/initramfs-tools exited with return code 1 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/initramfs-tools/+bug/1776653/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs