Ubuntu 25.10: stty: invalid argument breaks Symfony Console and other CLI tools

Hi everyone,

After upgrading from Ubuntu 25.04 (Oracular Oriole) to Ubuntu 25.10 (Questing Quokka), I noticed a regression in terminal behavior affecting PHP, Symfony, and other CLI tools that rely on stty.

When running any Symfony Console command (for example php bin/console make:entity), I get this message before the interactive prompt:

Class name of the entity to create or update (e.g. GrumpyKangaroo): > User
stty: invalid argument '500:5:f00bf:8a3b:3:1c:7f:15:4:0:1:0:11:13:1a:0:12:f:17:16:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0'
Your entity already exists! So let's add some new fields!

Despite the warning, the tool still runs β€” but input visibility in the terminal sometimes breaks (you can’t see what you type).

This issue happens across different terminals (GNOME Terminal, Tilix, VSCode integrated terminal).
It did not happen in Ubuntu 25.04.

1 Like

Hi and welcome to Ubuntu Discourse :slight_smile:

I moved your topic to support since this is not really a project discussion.

Did you check the release notes for 25.10?

I don’t know if that change has something to do with it but would be worthwhile investigating.

Hope that helps.

1 Like

Likely related:

You might want to file a bug …

1 Like

As per this, it’s more likey related to the rust coreutils (/cc @juliank) and in particular to stty: invalid argument Β· Issue #8608 Β· uutils/coreutils Β· GitHub

2 Likes

I also see β€œstty: invalid argument '...'” in a new shell when oh-my-zsh prompts to update

I also use oh-my-zsh, but after switching to Bash, the problem persists :frowning:
I wonder if it’s possible to install an older version of coreutils, e.g., from Ubuntu 23.04, alongside rust-coreutils

Hello there,
I experienced this error while trying to use laravel new tool. Sorry for formatting im copying back from gemini :stuck_out_tongue:

 bugra@bugra-LOQ-ubuntu:~$ laravel new example
   _                               _
  | |                             | |
  | |     __ _ _ __ __ ___   _____| |
  | |    / _` |  __/ _` \ \ / / _ \ |
  | |___| (_| | | | (_| |\ V /  __/ |
  |______\__,_|_|  \__,_| \_/ \___|_|


 β”Œ Which starter kit would you like to install? ────────────────┐
 β”‚ React                                                        β”‚
 β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜

In Terminal.php line 114:
                                                                                                                      

  stty: invalid argument '4500:5:f00bf:8a3b:3:1c:7f:15:4:0:1:0:11:13:1a:0:12:f:17:16:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0'  
                                                                                                                       

new [--dev] [--git] [--branch BRANCH] [--github [GITHUB]] [--organization ORGANIZATION] [--database DATABASE] [--react] [--vue] [--livewire] [--livewire-class-components] [--workos] [--no-authentication] [--pest] [--phpunit] [--npm] [--pnpm] [--bun] [--yarn] [--using [USING]] [-f|--force] [--] <name> 

After that i checked what my stty returns

bugra@bugra-LOQ-ubuntu:~$ stty -g
4500:5:f00bf:8a3b:3:1c:7f:15:4:0:1:0:11:13:1a:0:12:f:17:16:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0 

After that while googling i found this thread and tried to change my coreutils back to the gnu ones by editing sudo nano /var/lib/dpkg/status
after that it works perfectly.

I tried to change ptysix to kgx, kitty and tried to change my zsh config to a clean config and tried on bash too. Its the rust utils.

❯ laravel new example-app                                          

   _                               _
  | |                             | |
  | |     __ _ _ __ __ ___   _____| |
  | |    / _` |  __/ _` \ \ / / _ \ |
  | |___| (_| | | | (_| |\ V /  __/ |
  |______\__,_|_|  \__,_| \_/ \___|_|


 β”Œ Which starter kit would you like to install? ────────────────┐
 β”‚ React                                                        β”‚
 β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜

 β”Œ Which authentication provider do you prefer? ────────────────┐
 β”‚ Laravel's built-in authentication                            β”‚
 β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜

 β”Œ Which testing framework do you prefer? ──────────────────────┐
 β”‚ Pest                                                         β”‚
 β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜

Creating a "laravel/react-starter-kit" project at "./example-app"
Installing laravel/react-starter-kit (dev-main 1594a8222fba415d3f49b4861997f0a61732b9d5)
  - Downloading laravel/react-starter-kit (dev-main 1594a82)
  - Installing laravel/react-starter-kit (dev-main 1594a82): Extracting archive
Created project in /home/bugra/example-app
> @php -r "file_exists('.env') || copy('.env.example', '.env');"
Loading composer repositories with package information

currently it works somehow (:upside_down_face:

How exactly did you change back from the rust implementation? I’ve tried to search for your solution but I couldn’t find it.

Honestly, while I’m not a PHP programmer, I get the stty issue simply by listing directories via ls, how this got past Ubuntu Q/A is beyond me.

Edit: Never mind, I took a chance and did an attempt myself at possibly bricking my system:

sudo apt-get update && sudo apt-get purge --allow-remove-essential coreutils-from-uutils && sudo apt-get install coreutils-from-gnu

Rebooted, and now commands seem to work normally again.

I removed the protected flag from the dpkg config file. and removed it after that.

This work for me too. I hope the people who created coreutils in Rust are aware of this.

(I’m using ubuntu 25.10)

They are and ubuntu bug is tracked at Bug #2127106 β€œstty: invalid argument in Ubuntu 25.10 breaks Symf...” : Bugs : rust-coreutils package : Ubuntu

2 Likes

This topic was automatically closed after 29 days. New replies are no longer allowed.