Public bug reported:

When using rust-coreutils, `update-initramfs` doesn't work. I get the
error:

ubuntu@ubuntu2510:~$ sudo update-initramfs -k 6.14.0-15-generic -c
update-initramfs: Generating /boot/initrd.img-6.14.0-15-generic
error: unexpected argument '-Z' found

  tip: to pass '-Z' as a value, use '-- -Z'

Usage: cp [OPTION]... [-T] SOURCE DEST
       cp [OPTION]... SOURCE... DIRECTORY
       cp [OPTION]... -t DIRECTORY SOURCE...

For more information, try '--help'.
E: /usr/share/initramfs-tools/hooks/kmod failed with return 1.
update-initramfs: failed for /boot/initrd.img-6.14.0-15-generic with 1.

If I change to gnu-coreutils, it works as should.

ProblemType: Bug
DistroRelease: Ubuntu 25.10
Package: rust-coreutils 0.0.30-2
ProcVersionSignature: User Name 6.14.0-15.15-generic 6.14.0
Uname: Linux 6.14.0-15-generic x86_64
ApportVersion: 2.32.0-0ubuntu5
Architecture: amd64
CasperMD5CheckResult: unknown
CloudArchitecture: x86_64
CloudBuildName: server
CloudID: multipass
CloudName: multipass
CloudPlatform: nocloud
CloudSerial: 20250505
CloudSubPlatform: config-disk (/dev/sr0)
Date: Thu May 15 12:03:07 2025
ProcEnviron:
 LANG=C.UTF-8
 PATH=(custom, no user)
 SHELL=/bin/bash
 TERM=xterm-256color
 XDG_RUNTIME_DIR=<set>
RebootRequiredPkgs: Error: path contained symlinks.
SourcePackage: rust-coreutils
UpgradeStatus: No upgrade log present (probably fresh install)

** Affects: rust-coreutils (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: amd64 apport-bug cloud-image questing

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2110910

Title:
  rust-coreutils breaks initrd generation

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/rust-coreutils/+bug/2110910/+subscriptions


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to