[Bug 2132404] Re: coreutils: truncate not dropin replacement of gnu coreutils

Gianfranco Costamagna 2132404 at bugs.launchpad.net
Tue Nov 25 14:51:53 UTC 2025


** Package changed: git (Ubuntu) => coreutils (Ubuntu)

** Package changed: coreutils (Ubuntu) => rust-coreutils (Ubuntu)

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

Title:
  coreutils: truncate not dropin replacement of gnu coreutils

Status in rust-coreutils package in Ubuntu:
  New

Bug description:
  As said, I found this while debugging asciidoctor autopkgtest failure:

   59s + asciidoctor -b manpage example.adoc
   60s + sed /Generator/d -i example.1
   60s + truncate -s -1 example.ref
   60s error: unexpected argument '-1' found
   60s 
   60s   tip: to pass '-1' as a value, use '-- -1'
   60s 
   60s Usage: truncate [OPTION]... [FILE]...
   60s 

  Of course the same in Debian works:

  $ echo foo > 1
  $ truncate -s -1 1

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




More information about the foundations-bugs mailing list