Public bug reported:

1) $ lsb_release -rd
Description:    Ubuntu Resolute Raccoon (development branch)
Release:        26.04
$ cat /etc/cloud/build.info
build_name: server
serial: 20251202

2) 
$ apt-cache policy coreutils-from-uutils
coreutils-from-uutils:
  Installed: 0.0.0~ubuntu24
  Candidate: 0.0.0~ubuntu24
  Version table:
 *** 0.0.0~ubuntu24 500
        500 http://archive.ubuntu.com/ubuntu resolute/main amd64 Packages
        100 /var/lib/dpkg/status

3)

$ echo "don't fail me now rust" | tee -a log1 -a log2
don't fail me now rust
ubuntu@ubuntu:~$ ls -al log1 log2
-rw-rw-r-- 1 ubuntu ubuntu 23 Dec 10 22:38 log1
-rw-rw-r-- 1 ubuntu ubuntu 23 Dec 10 22:38 log2
ubuntu@ubuntu:~$ cat log*
don't fail me now rust
don't fail me now rust


4)
$ echo "don't fail me now rust" | tee -a log1 -a log2
error: the argument '--append' cannot be used multiple times

For more information, try '--help'.


If I replace "tee" with "gnutee" it works fine.

ProblemType: Bug
DistroRelease: Ubuntu 26.04
Package: coreutils-from-uutils 0.0.0~ubuntu24
ProcVersionSignature: User Name 6.17.0-6.6-generic 6.17.1
Uname: Linux 6.17.0-6-generic x86_64
ApportVersion: 2.33.1-0ubuntu3
Architecture: amd64
CasperMD5CheckResult: unknown
CloudArchitecture: x86_64
CloudBuildName: server
CloudID: nocloud
CloudName: unknown
CloudPlatform: nocloud
CloudSerial: 20251202
CloudSubPlatform: config-disk (/dev/vdb)
Date: Wed Dec 10 22:33:51 2025
PackageArchitecture: all
ProcEnviron:
 LANG=C.UTF-8
 PATH=(custom, no user)
 SHELL=/bin/bash
 TERM=vt220
 XDG_RUNTIME_DIR=<set>
SourcePackage: coreutils-from
UpgradeStatus: No upgrade log present (probably fresh install)

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


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

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

Title:
  tee with multiple --append fails in rust corutils

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


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

Reply via email to