Public bug reported:

On Ubuntu 25.10, the default rust-based coreutils (coreutils-from-uutils)
provides an stty implementation that is incompatible with applications using
Symfony Console's terminal capability detection.

Running interactive CLI applications (e.g. `laravel new`) fails with:

  stty: invalid argument '4500:5:f00bf:8a3b:...'

This occurs even when:
- running in a real TTY (/dev/pts/*)
- TERM is correctly set (xterm-256color)
- locale is UTF-8

Replacing coreutils-from-uutils with coreutils-from-gnu immediately resolves
the issue.

Expected result:
Interactive CLI applications using stty (via Symfony Console) should work
with the default Ubuntu coreutils implementation.

Actual result:
stty fails with "invalid argument", breaking interactive CLI programs.

Workaround:
Replace rust-coreutils with GNU coreutils:
  sudo apt-get install coreutils-from-gnu coreutils-from-uutils- \
    --allow-remove-essential

Additional notes:
This appears to be a compatibility gap in the rust stty implementation
regarding termios flag handling.

ProblemType: Bug
DistroRelease: Ubuntu 25.10
Package: coreutils-from-uutils (not installed)
ProcVersionSignature: Ubuntu 6.17.0-8.8-generic 6.17.2
Uname: Linux 6.17.0-8-generic x86_64
ApportVersion: 2.33.1-0ubuntu3
Architecture: amd64
CasperMD5CheckResult: pass
CurrentDesktop: ubuntu:GNOME
Date: Mon Jan 12 00:22:28 2026
InstallationDate: Installed on 2025-12-22 (21 days ago)
InstallationMedia: Ubuntu 25.10 "Questing Quokka" - Release amd64 (20251007)
ProcEnviron:
 LANG=en_US.UTF-8
 PATH=(custom, no user)
 SHELL=/usr/bin/zsh
 TERM=xterm-256color
 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 questing wayland-session

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

Title:
  rust-based coreutils stty is incompatible with Symfony Console
  (Laravel installer) interactive mode

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


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

Reply via email to