Your message dated Thu, 13 Aug 2015 18:38:06 +0200 with message-id <20150813163806.GA25698@crossbow> and subject line Re: Strange output when run through 'tee' has caused the Debian Bug report #495321, regarding Mangled (CR without LF) dpkg output when tee-ing apt's output 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.) -- 495321: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=495321 Debian Bug Tracking System Contact owner@bugs.debian.org with problems
--- Begin Message ---
- To: Debian Bug Tracking System <submit@bugs.debian.org>
- Subject: Mangled (CR without LF) dpkg output when tee-ing apt's output
- From: Max Bowsher <maxb@f2s.com>
- Date: Wed, 03 Dec 2008 22:36:11 -0600
- Message-id: <20081204043611.11841.20638.reportbug@Sanpietro.red-bean.com>
Package: apt Version: 0.7.18 Severity: minor apt-pkg/deb/dpkgpm.cc uses cfmakeraw(3) to put the terminal into raw mode whilst running dpkg subprocesses. This has the undesirable effect of mangling the output if you are piping it through tee: apt-get -y install iotop | tee /tmp/apt.log Reading package lists... Building dependency tree... Reading state information... The following NEW packages will be installed iotop 0 upgraded, 1 newly installed, 0 to remove and 2 not upgraded. Need to g et 0B/12.7kB of archives. After this operation, 143kB of additional disk space will be used. Selecting previously deselected package iotop. (Read ing database ... 120173 files and directories currently installed.) Unpa cking iotop (from .../archives/iotop_0.2-3_all.deb) ... Processing trigg ers for man-db ... Setting up iotop (0.2-3) ... Processing triggers for p ython-support ... I tested by disabling the cfmakeraw call with an LD_PRELOAD shim, and the output then looked right both with and without a pipe. Unfortunately I don't know enough about terminal programming to assess what the intended purpose of putting the terminal into raw mode could have been.
--- End Message ---
--- Begin Message ---
- To: 495321-done@bugs.debian.org
- Subject: Re: Strange output when run through 'tee'
- From: David Kalnischkies <david@kalnischkies.de>
- Date: Thu, 13 Aug 2015 18:38:06 +0200
- Message-id: <20150813163806.GA25698@crossbow>
- In-reply-to: <20080816092912.6632a7c3@sakaki.chris-lamb.co.uk>
- References: <20080816092912.6632a7c3@sakaki.chris-lamb.co.uk>
Hi On Sat, Aug 16, 2008 at 09:29:12AM +0100, Chris Lamb wrote: > $ apt-get install swi-prolog | tee output.txt > > Reading package lists... > Building dependency tree... > Reading state information... > Suggested packages: > swi-prolog-doc prolog-el > The following NEW packages will be installed > swi-prolog > 0 upgraded, 1 newly installed, 0 to remove and 1 not upgraded. > Need to get 0B/2635kB of archives. > After this operation, 9130kB of additional disk space will be used. > Selecting previously deselected package swi-prolog. > (Reading database ... > 235528 files and directories currently installed.) > Unpacking swi-prolog (from .../swi-prolog_5.6.59-1_amd64.deb) ... > Processing triggers for menu ... > Processing triggers for man-db ... > Setting up swi-prolog (5.6.59-1) ... > Processing triggers for menu ... So, I just ran this exact command and the output is shown properly. In other words: This is fixed in the meantime and therefore I am closing this bugreport, but feel free to reopen if you can still reproduce this. Best regards David KalnischkiesAttachment: signature.asc
Description: Digital signature
--- End Message ---