Anyone having issues with the 6.14.0-28 kernel

Hi, is anyone seeing issues with the 6.14.0-28 kernel? I’m running Ubuntu 25.04, and this kernel was a recent update. I’m seeing these odd issues with the cp command after running sudo aptitude safe-upgrade -y.

Building dependency tree...
Reading state information...
Reading extended state information...
Initializing package states...
Writing extended state information...
Building tag database...
The following partially installed packages will be configured:
  initramfs-tools linux-image-6.14.0-28-generic
No packages will be installed, upgraded, or removed.
0 packages upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Need to get 0 B of archives. After unpacking 0 B will be used.
Writing extended state information...
Setting up initramfs-tools (0.147ubuntu1.1) ...
update-initramfs: deferring update (trigger activated)
Setting up linux-image-6.14.0-28-generic (6.14.0-28.28) ...
Processing triggers for initramfs-tools (0.147ubuntu1.1) ...
update-initramfs: Generating /boot/initrd.img-6.14.0-27-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-27-generic with 1.
dpkg: error processing package initramfs-tools (--configure):
 installed initramfs-tools package post-installation script subprocess returned error exit status 1
Processing triggers for linux-image-6.14.0-28-generic (6.14.0-28.28) ...
/etc/kernel/postinst.d/initramfs-tools:
update-initramfs: Generating /boot/initrd.img-6.14.0-28-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-28-generic with 1.
run-parts: /etc/kernel/postinst.d/initramfs-tools exited with return code 1
dpkg: error processing package linux-image-6.14.0-28-generic (--configure):
 installed linux-image-6.14.0-28-generic package post-installation script subprocess returned error exit status 1
Errors were encountered while processing:
 initramfs-tools
 linux-image-6.14.0-28-generic
E: Sub-process /usr/bin/dpkg returned an error code (1)
Setting up initramfs-tools (0.147ubuntu1.1) ...
update-initramfs: deferring update (trigger activated)
Setting up linux-image-6.14.0-28-generic (6.14.0-28.28) ...
Processing triggers for initramfs-tools (0.147ubuntu1.1) ...
update-initramfs: Generating /boot/initrd.img-6.14.0-27-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-27-generic with 1.
dpkg: error processing package initramfs-tools (--configure):
 installed initramfs-tools package post-installation script subprocess returned error exit status 1
Processing triggers for linux-image-6.14.0-28-generic (6.14.0-28.28) ...
/etc/kernel/postinst.d/initramfs-tools:
update-initramfs: Generating /boot/initrd.img-6.14.0-28-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-28-generic with 1.
run-parts: /etc/kernel/postinst.d/initramfs-tools exited with return code 1
dpkg: error processing package linux-image-6.14.0-28-generic (--configure):
 installed linux-image-6.14.0-28-generic package post-installation script subprocess returned error exit status 1
Errors were encountered while processing:
 initramfs-tools
 linux-image-6.14.0-28-generic
Reading package lists...
Building dependency tree...
Reading state information...
Reading extended state information...
Initializing package states...
Writing extended state information...
Building tag database...

If I try to boot into the new kernel, my laptop gets a PSOD (purple screen of death).

Are you using the rust coreutils (uutils)? If so, does updating that help?

Please also show us the output of these commands:

which cp
cp --version

This is likely:

3 Likes

Thanks for the suggestions.

$ which cp
/usr/bin/cp

$ cp --version
cp 0.0.30

I had previously enabled the rust based tools with oxidizer. Ironically, I’ve had not noticed an issue until now. All the tools I regularly use with coreutils seem to work outside of this cp -Z.

1 Like

Are you able to upgrade to version 0.1.0?

Version 0.1.0 of which package? I regularly do a sudo apt update && sudo aptitude safe-upgrade -y. I did not notice any available updates.

I did try a sudo oxidizr disable, but I still couldn’t get update-initramfs to complete successfully.

Since this was a test box, I reloaded Ubuntu 25.04. It’s running the 6.14.0-28-generic kernel without an issue now with the tradition GNU coreutils back in place.

The rust-coreutils / uutils

A post was split to a new topic: Issues Booting Ubuntu With Kernel 6.14.0-28-generic