Your message dated Fri, 14 Aug 2015 00:32:24 +0200 with message-id <20150813223223.GA32686@crossbow> and subject line Re: apt: apt-cache - Messages are not sent to pipe has caused the Debian Bug report #660890, regarding apt: apt-cache - Messages are not sent to pipe to be marked as done. This means that you claim that the problem has been dealt with. If this is not the case it is now your responsibility to reopen the Bug report if necessary, and/or fix the problem forthwith. (NB: If you are a system administrator and have no idea what this message is talking about, this may indicate a serious mail system misconfiguration somewhere. Please contact owner@bugs.debian.org immediately.) -- 660890: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=660890 Debian Bug Tracking System Contact owner@bugs.debian.org with problems
--- Begin Message ---
- To: Debian Bug Tracking System <submit@bugs.debian.org>
- Subject: apt: apt-cache - Messages are not sent to pipe
- From: Jari Aalto <jari.aalto@cante.net>
- Date: Wed, 22 Feb 2012 12:34:17 -0500
- Message-id: <20120222173417.2834.36576.reportbug@test20.cante.net>
Package: apt Version: 0.8.15.9 Severity: normal Problem: $ apt-cache policy nothing-there N: Unable to locate package wrr $ apt-cache policy nothing-there 2&1 | tee message.log $ cat messages.log <nothing> This is unexpected behavior. Program should not behave behave differently on context of pipes. Please display messages as they are so that they can be interpreted or recorded by other programs. -- System Information: Debian Release: wheezy/sid APT prefers unstable APT policy: (990, 'unstable') Architecture: i386 (i686) Kernel: Linux 3.2.0-1-686-pae (SMP w/1 CPU core) Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Versions of packages apt depends on: ii debian-archive-keyring 2010.08.28 ii gnupg 1.4.11-3 ii libc6 2.13-26 ii libgcc1 1:4.6.2-14 ii libstdc++6 4.6.2-14 ii zlib1g 1:1.2.6.dfsg-1 apt recommends no packages. Versions of packages apt suggests: ii apt-doc <none> ii aptitude 0.6.5-1 ii bzip2 1.0.6-1 ii dpkg-dev 1.16.1.2 ii python-apt 0.8.3+nmu1 ii xz-lzma [lzma] 5.1.1alpha+20110809-3 -- no debconf information
--- End Message ---
--- Begin Message ---
- To: 660890-done@bugs.debian.org
- Subject: Re: apt: apt-cache - Messages are not sent to pipe
- From: David Kalnischkies <david@kalnischkies.de>
- Date: Fri, 14 Aug 2015 00:32:24 +0200
- Message-id: <20150813223223.GA32686@crossbow>
- In-reply-to: <20120222173417.2834.36576.reportbug@test20.cante.net>
- References: <20120222173417.2834.36576.reportbug@test20.cante.net>
On Wed, Feb 22, 2012 at 12:34:17PM -0500, Jari Aalto wrote: > Problem: > > $ apt-cache policy nothing-there > N: Unable to locate package wrr > > $ apt-cache policy nothing-there 2&1 | tee message.log > $ cat messages.log > <nothing> > > This is unexpected behavior. > > Program should not behave behave differently on context of pipes. > Please display messages as they are so that they can be interpreted or > recorded by other programs. At the same time, apt shouldn't change its behaviour either, so please pick one of the two while implementing both at the same time… We decided with the addition of N: that they are to be used for messages to an (interactive) user and hence will disappear by default if you pipe, but you can bring them back by setting the quiet level explicitely to 0 (a non-terminal output automatically sets quiet level to 1, which disables progress reporting and such, so we were always different). That the N: in this case is not an E: is rooted in exactly the problem that tools using us expect us to behave in this way and we tought at least for an interative user, we should display something more sensible… So, closing as wontfix. Best regards David KalnischkiesAttachment: signature.asc
Description: Digital signature
--- End Message ---