Pamac upgrade -a stuck waiting for user input but without any notice/warning

Done. You’re right. It is a tee issue (or alias issue maybe).
Thanks for your help.

That can be solved or not?