Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.bugs.dist > #1231863

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

Path csiph.com!news.samoylyk.net!gothmog.csi.it!bofh.it!news.nic.it!robomod
From Pierre Tomon <pierretom+23@ik.me>
Newsgroups linux.debian.bugs.dist
Subject Bug#1095160: Disable messages when the apt command is used with pipe
Date Wed, 05 Feb 2025 13:30:01 +0100
Message-ID <KcMHv-eAI2-3@gated-at.bofh.it> (permalink)
References <KctER-emWA-5@gated-at.bofh.it>
X-Mailbox-Line From debian-bugs-dist-request@lists.debian.org Wed Feb 5 12:27:08 2025
Old-Return-Path <debbugs@buxtehude.debian.org>
X-Spam-Flag NO
X-Spam-Score -3.751
Reply-To Pierre Tomon <pierretom+23@ik.me>, 1095160@bugs.debian.org
Resent-To debian-bugs-dist@lists.debian.org
Resent-Cc APT Development Team <deity@lists.debian.org>
X-Debian-Pr-Message followup 1095160
X-Debian-Pr-Package src:apt
X-Debian-Pr-Source apt
MIME-Version 1.0
Content-Type text/plain; charset=US-ASCII
Content-Transfer-Encoding 7bit
Feedback-ID :0bae8fc0ce27cdb:ham:d4c4a9452bf4d5d
X-Infomaniak-Routing alpha
X-Debian-Message from BTS
X-Mailing-List <debian-bugs-dist@lists.debian.org> archive/latest/1885061
List-ID <debian-bugs-dist.lists.debian.org>
List-URL <https://lists.debian.org/debian-bugs-dist/>
Approved robomod@news.nic.it
Lines 17
Organization linux.* mail to news gateway
Sender robomod@news.nic.it
X-Original-Date Wed, 5 Feb 2025 12:23:21 -0000
X-Original-Message-ID <4Ynzsk1yprzQhZ@smtp-4-0001.mail.infomaniak.ch>
X-Original-References <4YnShN46c2zbd4@smtp-4-0000.mail.infomaniak.ch>
Xref csiph.com linux.debian.bugs.dist:1231863

Show key headers only | View raw


Hi,

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.

> Why don't you use a tool with an output format that is designed to be
> consumed by scripts?
> 
>     apt-cache show "~o" | sed -ne 's/^Package: //p' | xargs

Yes, I use that now instead of the `apt` command, it seemed faster
and more practical with the latter.

Back to linux.debian.bugs.dist | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


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