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

Launchpad Bug Tracker 2132404 at bugs.launchpad.net
Tue Nov 25 14:52:14 UTC 2025


You have been subscribed to a public bug:

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

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

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



More information about the foundations-bugs mailing list