[Bug 2110910] Re: rust-coreutils: missing -Z flags

Launchpad Bug Tracker 2110910 at bugs.launchpad.net
Fri Jul 4 22:39:25 UTC 2025


This bug was fixed in the package rust-coreutils - 0.1.0-0ubuntu1

---------------
rust-coreutils (0.1.0-0ubuntu1) questing; urgency=medium

  * New upstream release.
    - Add the -Z,--context options (LP: #2110910)
    - Add install -T (LP: #2111714)
    - Improve echo -- handling (LP: #2115196)
    - Fixes chroot in namespace (LP: #2111882)
    - sha256sum and friends now correctly handle * (LP: #2113963)
    - rm: Don't prompt if stdin is not interactive (LP: #2115035)
  * Update vendored dependencies and rebase the patches
  * Use Rust 1.85 for building, a bunch of workarounds are needed right now:
    - Use a vendored copy of the cargo wrapper that hardcodes cargo-1.85
    - Remove the unneeded dh_auto_configure call, this duplicates what we
      already do explictly
    - Switch the build system to makefile, since we actually use the
      makefile buildsystem

 -- Julian Andres Klode <juliank at ubuntu.com>  Fri, 04 Jul 2025 13:58:43
+0200

** Changed in: rust-coreutils (Ubuntu)
       Status: In Progress => Fix Released

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

Title:
  rust-coreutils: missing -Z flags

Status in rust-coreutils package in Ubuntu:
  Fix Released

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

  ubuntu at 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)

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




More information about the foundations-bugs mailing list