[Aptitude-devel] Bug#946458: aptitude: "aptitude -o Aptitude::CmdLine::Verbose=<n> <subcommand>" with <n> = 1 or higher is never verbose

Axel Beckert abe at debian.org
Mon Dec 9 11:45:34 GMT 2019


Package: aptitude
Version: 0.8.12-1
Severity: minor
Control: found -1 0.8.11-7
Control: found -1 0.8.7-1
Control: found -1 0.6.11-1

This is more or less the findings from the comments of
https://unix.stackexchange.com/a/556038 and my answer at
https://unix.stackexchange.com/a/556303:

While "aptitude -v moo" to "aptitude -vvvvvv moo" works as expected
and—as Stephen Kitt (X-Debbugs-Cc'ed) mentioned—also setting
"Aptitude::CmdLine::Verbose" in the config file works, e.g. "aptitude -o
Aptitude::CmdLine::Verbose=6 moo" (nor any other value I tried, e.g. 2
or 5) works as if not a single "-v" has been specified, i.e. seems to be
ignored.

Since many other combinations of "aptitude -o <key=value> <subcommand>"
work fine (I use them daily in aliases), and "aptitude -o
Aptitude::CmdLine::Verbose=2 update" is not as verbose as "aptitude -v
update" is (see https://unix.stackexchange.com/a/556303), I suspect
there is a bug in parsing specifically the "Aptitude::CmdLine::Verbose"
option when given on the commandline via "-o".

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

-- System Information:
Debian Release: bullseye/sid
  APT prefers unstable
  APT policy: (990, 'unstable'), (600, 'testing'), (500, 'unstable-debug'), (500, 'buildd-unstable'), (110, 'experimental'), (1, 'experimental-debug'), (1, 'buildd-experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 5.3.0-2-amd64 (SMP w/4 CPU cores)
Locale: LANG=C.UTF-8, LC_CTYPE=C.UTF-8 (charmap=UTF-8), LANGUAGE=C.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: sysvinit (via /sbin/init)
LSM: AppArmor: enabled

Versions of packages aptitude depends on:
ii  aptitude-common           0.8.12-1
ii  libapt-pkg5.0             1.8.4
ii  libboost-iostreams1.67.0  1.67.0-15
ii  libc6                     2.29-3
ii  libcwidget4               0.5.18-5
ii  libgcc1                   1:9.2.1-21
ii  libncursesw6              6.1+20191019-1
ii  libsigc++-2.0-0v5         2.10.2-1
ii  libsqlite3-0              3.30.1-1
ii  libstdc++6                9.2.1-21
ii  libtinfo6                 6.1+20191019-1
ii  libxapian30               1.4.12-1

Versions of packages aptitude recommends:
ii  libparse-debianchangelog-perl  1.2.0-13
ii  sensible-utils                 0.0.12+nmu1

Versions of packages aptitude suggests:
ii  apt-xapian-index                0.50
ii  aptitude-doc-en [aptitude-doc]  0.8.12-1
ii  debtags                         2.1.5
ii  tasksel                         3.56

-- no debconf information


More information about the Aptitude-devel mailing list