[Aptitude-devel] Bug#659479: aptitude: Too chatty even with --quiet=9

Toby Speight T.M.Speight.90 at cantab.net
Sat Feb 11 12:40:07 UTC 2012


Package: aptitude
Version: 0.6.4-1.2
Severity: minor

Aptitude is an awesome tool, but one thing that annoys me is a bunch of
progress messages that can't be eliminated even at the highest 'quiet'
setting:

/--------
| # aptitude -q9 update
| Reading package lists...
| Building dependency tree...
| Reading state information...
| Reading extended state information...
| Initializing package states...
| Writing extended state information...
| Deleting obsolete downloaded files
\--------

I have cron jobs that run aptitude several times (in different chroots,
for diskless clients), and all the clutter gets in the way of easily
seeing which packages are to be upgraded.

In case it's relevant, my scripts look something like

/--------
| for d in $clients
| do
|   chroot $d aptitute -q2 update
|   chroot $d aptitute -q2 -d -y full-upgrade
| done
\--------

so that the downloading is done at night when bandwidth is cheap, but
the email from cron alerts me when I have stuff to install.

-- Package-specific info:
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: not available
URL: <http://lists.alioth.debian.org/pipermail/aptitude-devel/attachments/20120211/c9f2dfad/attachment.ksh>
-------------- next part --------------


-- System Information:
Debian Release: wheezy/sid
  APT prefers testing
  APT policy: (900, 'testing'), (900, 'stable'), (400, 'unstable')
Architecture: amd64 (x86_64)

Kernel: Linux 3.1.1-balti (SMP w/4 CPU cores; PREEMPT)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages aptitude depends on:
ii  apt [libapt-pkg4.10]      0.8.15.9
ii  libboost-iostreams1.46.1  1.46.1-8
ii  libc6                     2.13-26
ii  libcwidget3               0.5.16-3.1
ii  libept1                   1.0.5
ii  libgcc1                   1:4.6.2-12
ii  libncursesw5              5.9-4
ii  libsigc++-2.0-0c2a        2.2.9-1.1
ii  libsqlite3-0              3.7.9-2
ii  libstdc++6                4.6.2-12
ii  libtinfo5                 5.9-4
ii  libxapian22               1.2.8-1
ii  zlib1g                    1:1.2.3.4.dfsg-3

Versions of packages aptitude recommends:
ii  apt-xapian-index                <none>
ii  aptitude-doc-en [aptitude-doc]  0.6.4-1.2
ii  libparse-debianchangelog-perl   1.2.0-1
ii  sensible-utils                  0.0.6

Versions of packages aptitude suggests:
pn  debtags  <none>
pn  tasksel  <none>

-- Configuration Files:
/etc/cron.daily/aptitude changed:
bak=/var/backups
if test -f /var/lib/aptitude/pkgstates && cd $bak ; then
	if ! cmp -s aptitude.pkgstates.0 /var/lib/aptitude/pkgstates ; then
		cp -p /var/lib/aptitude/pkgstates aptitude.pkgstates
		savelog -c 7 aptitude.pkgstates > /dev/null
	fi
fi

-- no debconf information


More information about the Aptitude-devel mailing list