Bug#856663: apt progress bar doesn't play well with dumb terminals
Package: apt
Version: 1.4~rc2
Severity: normal
Dear Maintainer,
* What led up to the situation?
The problem is present 'apt upgrade'.
* What exactly did you do (or not do) that was effective (or
ineffective)?
When using a dumb terminal (i.e. TERM=dumb) the output of the
progress bar when doing 'apt-upgrade' leave a lot of undesired
character in the output.
In my case the terminal used is shell-mode in emacs. which can
launch with M-x shell inside emacs.
* What outcome did you expect instead?
A clean output.
-- Package-specific info:
-- (no /etc/apt/preferences present) --
-- (no /etc/apt/preferences.d/* present) --
-- /etc/apt/sources.list --
#
# deb cdrom:[Debian GNU/Linux 8.0.0 _Jessie_ - Official Multi-architecture amd64/i386 NETINST #1 20150425-17:05]/ jessie main
#deb cdrom:[Debian GNU/Linux 8.0.0 _Jessie_ - Official Multi-architecture amd64/i386 NETINST #1 20150425-17:05]/ jessie main
deb http://ftp.fr.debian.org/debian/ stretch main contrib non-free
deb-src http://ftp.fr.debian.org/debian/ stretch main contrib non-free
deb http://security.debian.org/ stretch/updates main contrib non-free
deb-src http://security.debian.org/ stretch/updates main contrib non-free
# stretch-updates, previously known as 'volatile'
deb http://ftp.fr.debian.org/debian/ stretch-updates main contrib non-free
deb-src http://ftp.fr.debian.org/debian/ stretch-updates main contrib non-free
-- System Information:
Debian Release: 9.0
APT prefers testing
APT policy: (500, 'testing')
Architecture: amd64 (x86_64)
Kernel: Linux 4.9.0-1-amd64 (SMP w/4 CPU cores)
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
Versions of packages apt depends on:
ii adduser 3.115
ii debian-archive-keyring 2014.3
ii gpgv 2.1.18-3
ii init-system-helpers 1.47
ii libapt-pkg5.0 1.4~rc2
ii libc6 2.24-9
ii libgcc1 1:6.3.0-6
ii libstdc++6 6.3.0-6
Versions of packages apt recommends:
ii gnupg 2.1.18-3
ii gnupg2 2.1.18-3
Versions of packages apt suggests:
pn apt-doc <none>
ii dpkg-dev 1.18.22
ii powermgmt-base 1.31+nmu1
ii python-apt 1.4.0~beta2
ii synaptic 0.84.1
-- no debconf information
Reply to: