Bug#1095160: Disable messages when the apt command is used with pipe

2025-02-05 Thread Johannes Schauer Marin Rodrigues
Quoting Pierre Tomon (2025-02-05 13:23:21) > On Tue, 04 Feb 2025 20:09:40 +0100 Johannes Schauer Marin Rodrigues > wrote: > > > the message is useful. It tells you that you are doing it wrong. > > There is nothing wrong here, the shell allows it, I use it. the moment you pipe stdout into anothe

Bug#1095160: Disable messages when the apt command is used with pipe

2025-02-05 Thread Pierre Tomon
Hi, On Tue, 04 Feb 2025 20:09:40 +0100 Johannes Schauer Marin Rodrigues wrote: > the message is useful. It tells you that you are doing it wrong. There is nothing wrong here, the shell allows it, I use it. > Why don't you use a tool with an output format that is designed to be > consumed by

Bug#1095160: Disable messages when the apt command is used with pipe

2025-02-04 Thread Johannes Schauer Marin Rodrigues
Hi, On Tue, 4 Feb 2025 16:57:38 - Pierre Tomon wrote: > Yes I need to pipe it, I want to do things like: apt list '~o' | cut -d '/' > -f1 | tr '\n' ' ' > > I won't those useless messages. the message is useful. It tells you that you are doing it wrong. Why don't you use a tool with an outpu

Bug#1095160: Disable messages when the apt command is used with pipe

2025-02-04 Thread Pierre Tomon
Yes I need to pipe it, I want to do things like: apt list '~o' | cut -d '/' -f1 | tr '\n' ' ' I won't those useless messages.

Bug#1095160: Disable messages when the apt command is used with pipe

2025-02-04 Thread Pierre Tomon
Source: apt Version: 2.9.27 severity: wishlist Messages like: ``` WARNING: apt does not have a stable CLI interface. Use with caution in scripts. Listing... ```