[Aptitude-devel] Bug#816520: aptitude: apt "fancy" progress bar does not work anymore with recent aptitude versions

Antonio Ospite ao2 at ao2.it
Wed Mar 2 14:38:17 UTC 2016


Package: aptitude
Version: 0.7.7-1
Severity: normal

Dear Maintainer,

apt has this handy feature of showing a progress bar when installing
packages, see [1].

AFAIK the feature is enabled by default in recent apt versions but has
to be enabled explicitly as described in [1] to work with apt-get and
other programs:

 $ sudo sh -c "echo 'Dpkg::Progress-Fancy \"1\";' > /etc/apt/apt.conf.d/99progressbar"

This used to work with aptitude too.

I verified that after the command above aptitude on Jessie (0.6.11-1+b1)
shows the fancy progress bar on the terminal when installing packages.

However, the progress bar does not seem to show anymore with recent
aptitude versions (0.7.5, 0.7.6 or 0.7.7 as confirmed by mafm on IRC).

Any idea about what may have made it stop working?

Thanks,
   Antonio

[1] https://mvogt.wordpress.com/2014/04/04/apt-1-0/


-- Package-specific info:
Terminal: xterm-256color
$DISPLAY is set.
which aptitude: /usr/bin/aptitude

aptitude version information:
aptitude 0.7.7
Compiler: g++ 5.3.1 20160224
Compiled against:
  apt version 5.0.0
  NCurses version 6.0
  libsigc++ version: 2.6.2
  Gtk+ support disabled.
  Qt support disabled.

Current library versions:
  NCurses version: ncurses 6.0.20160213
  cwidget version: 0.5.17
  Apt version: 5.0.0

aptitude linkage:
	linux-vdso.so.1 (0x00007ffcc2d99000)
	libapt-pkg.so.5.0 => /usr/lib/x86_64-linux-gnu/libapt-pkg.so.5.0 (0x00007fbf8b90f000)
	libncursesw.so.5 => /lib/x86_64-linux-gnu/libncursesw.so.5 (0x00007fbf8b6df000)
	libtinfo.so.5 => /lib/x86_64-linux-gnu/libtinfo.so.5 (0x00007fbf8b4b4000)
	libsigc-2.0.so.0 => /usr/lib/x86_64-linux-gnu/libsigc-2.0.so.0 (0x00007fbf8b2ae000)
	libcwidget.so.3 => /usr/lib/x86_64-linux-gnu/libcwidget.so.3 (0x00007fbf8afb1000)
	libsqlite3.so.0 => /usr/lib/x86_64-linux-gnu/libsqlite3.so.0 (0x00007fbf8acda000)
	libboost_iostreams.so.1.58.0 => /usr/lib/x86_64-linux-gnu/libboost_iostreams.so.1.58.0 (0x00007fbf8aac0000)
	libboost_filesystem.so.1.58.0 => /usr/lib/x86_64-linux-gnu/libboost_filesystem.so.1.58.0 (0x00007fbf8a8a7000)
	libboost_system.so.1.58.0 => /usr/lib/x86_64-linux-gnu/libboost_system.so.1.58.0 (0x00007fbf8a6a2000)
	libxapian.so.22 => /usr/lib/x86_64-linux-gnu/libxapian.so.22 (0x00007fbf8a29e000)
	libpthread.so.0 => /lib/x86_64-linux-gnu/libpthread.so.0 (0x00007fbf8a081000)
	libstdc++.so.6 => /usr/lib/x86_64-linux-gnu/libstdc++.so.6 (0x00007fbf89d05000)
	libm.so.6 => /lib/x86_64-linux-gnu/libm.so.6 (0x00007fbf89a00000)
	libgcc_s.so.1 => /lib/x86_64-linux-gnu/libgcc_s.so.1 (0x00007fbf897ea000)
	libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007fbf89445000)
	libutil.so.1 => /lib/x86_64-linux-gnu/libutil.so.1 (0x00007fbf89242000)
	libdl.so.2 => /lib/x86_64-linux-gnu/libdl.so.2 (0x00007fbf8903e000)
	libresolv.so.2 => /lib/x86_64-linux-gnu/libresolv.so.2 (0x00007fbf88e26000)
	libz.so.1 => /lib/x86_64-linux-gnu/libz.so.1 (0x00007fbf88c0b000)
	libbz2.so.1.0 => /lib/x86_64-linux-gnu/libbz2.so.1.0 (0x00007fbf889fb000)
	liblzma.so.5 => /lib/x86_64-linux-gnu/liblzma.so.5 (0x00007fbf887d7000)
	liblz4.so.1 => /usr/lib/x86_64-linux-gnu/liblz4.so.1 (0x00007fbf885c5000)
	librt.so.1 => /lib/x86_64-linux-gnu/librt.so.1 (0x00007fbf883bc000)
	libuuid.so.1 => /lib/x86_64-linux-gnu/libuuid.so.1 (0x00007fbf881b7000)
	/lib64/ld-linux-x86-64.so.2 (0x00005627a4d40000)

-- System Information:
Debian Release: stretch/sid
  APT prefers unstable
  APT policy: (900, 'unstable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.5.0-rc4-ao2 (SMP w/2 CPU cores)
Locale: LANG=it_IT.utf8, LC_CTYPE=it_IT.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash
Init: systemd (via /run/systemd/system)

Versions of packages aptitude depends on:
ii  aptitude-common            0.7.7-1
ii  libapt-pkg5.0              1.2.4
ii  libboost-filesystem1.58.0  1.58.0+dfsg-5+b1
ii  libboost-iostreams1.58.0   1.58.0+dfsg-5+b1
ii  libboost-system1.58.0      1.58.0+dfsg-5+b1
ii  libc6                      2.21-9
ii  libcwidget3v5              0.5.17-4+b1
ii  libgcc1                    1:5.3.1-10
ii  libncursesw5               6.0+20160213-1
ii  libsigc++-2.0-0v5          2.6.2-1
ii  libsqlite3-0               3.11.0-2
ii  libstdc++6                 5.3.1-10
ii  libtinfo5                  6.0+20160213-1
ii  libxapian22v5              1.2.22-3

Versions of packages aptitude recommends:
pn  aptitude-doc-en | aptitude-doc  <none>
ii  libparse-debianchangelog-perl   1.2.0-8
ii  sensible-utils                  0.0.9

Versions of packages aptitude suggests:
ii  apt-xapian-index  0.47+nmu2
pn  debtags           <none>
ii  tasksel           3.34

-- no debconf information
-- 
Antonio Ospite
http://ao2.it

A: Because it messes up the order in which people normally read text.
   See http://en.wikipedia.org/wiki/Posting_style
Q: Why is top-posting such a bad thing?



More information about the Aptitude-devel mailing list