Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.debian.bugs.dist > #1231867
| From | Johannes Schauer Marin Rodrigues <josch@debian.org> |
|---|---|
| Newsgroups | linux.debian.bugs.dist |
| Subject | Bug#1095160: Disable messages when the apt command is used with pipe |
| Date | 2025-02-05 14:30 +0100 |
| Message-ID | <KcNDz-eBjC-1@gated-at.bofh.it> (permalink) |
| References | <KctER-emWA-5@gated-at.bofh.it> <KcMHv-eAI2-3@gated-at.bofh.it> <KctER-emWA-5@gated-at.bofh.it> <KcMHv-eAI2-3@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
[Multipart message — attachments visible in raw view] - view raw
Quoting Pierre Tomon (2025-02-05 13:23:21) > On Tue, 04 Feb 2025 20:09:40 +0100 Johannes Schauer Marin Rodrigues > <josch@debian.org> 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 another process, standard output of the process on the left side of the pipe is no longer connected to an interactive terminal. This is a difference. The "apt" tool does not have a stable CLI interface. You used it in a script because you connected apt's standard output to another process using a pipe. That is not an interactive tty. Yes, you are doing it wrong. Please read up on the difference.
Back to linux.debian.bugs.dist | Previous | Next — Previous in thread | Find similar | Unroll thread
Bug#1095160: Disable messages when the apt command is used with pipe Pierre Tomon <pierretom+23@ik.me> - 2025-02-04 17:10 +0100
Bug#1095160: Disable messages when the apt command is used with pipe Pierre Tomon <pierretom+23@ik.me> - 2025-02-04 18:10 +0100
Bug#1095160: Disable messages when the apt command is used with pipe Johannes Schauer Marin Rodrigues <josch@debian.org> - 2025-02-04 20:20 +0100
Bug#1095160: Disable messages when the apt command is used with pipe Pierre Tomon <pierretom+23@ik.me> - 2025-02-05 13:30 +0100
Bug#1095160: Disable messages when the apt command is used with pipe Johannes Schauer Marin Rodrigues <josch@debian.org> - 2025-02-05 14:30 +0100
csiph-web