Package: dpkg
Version: 1.13.17
Severity: normal

An example run:

$  dpkg-query --showformat='${Installed-Size;-10} ${status;-25} ${Package}\n' 
-W 'exim*'
 unknown ok not-installed  exim
 unknown ok not-installed  exim-tls
 purge ok not-installed    exim4
1520       install ok unpacked       exim4-base
928        install ok unpacked       exim4-config
 unknown ok not-installed  exim4-config-2
 unknown ok not-installed  exim4-daemon-custom
956        install ok unpacked       exim4-daemon-heavy
 purge ok not-installed    exim4-daemon-light
 unknown ok not-installed  exim4-doc-html
532        install ok installed      exim4-doc-info
 unknown ok not-installed  eximdoc4-info
 unknown ok not-installed  eximon4

EXPECTED RESULTS

The result should be aligned evenly for each field, because the field size
has been given for every variable. Now a empty values, like 'Installed-Size'
for 'exim' are ignored. The output should look like:

           unknown ok not-installed  exim
           unknown ok not-installed  exim-tls
           purge ok not-installed    exim4
1520       install ok unpacked       exim4-base
928        install ok unpacked       exim4-config
           unknown ok not-installed  exim4-config-2
           unknown ok not-installed  exim4-daemon-custom
956        install ok unpacked       exim4-daemon-heavy
           purge ok not-installed    exim4-daemon-light
           unknown ok not-installed  exim4-doc-html
532        install ok installed      exim4-doc-info
           unknown ok not-installed  eximdoc4-info
           unknown ok not-installed  eximon4


-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'stable')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/dash
Kernel: Linux 2.6.15-1-686
Locale: LANG=C, LC_CTYPE=C (charmap=ISO-8859-1) (ignored: LC_ALL set to en_US)

Versions of packages dpkg depends on:
ii  coreutils [textutils]         5.94-1     The GNU core utilities
ii  libc6                         2.3.6-5    GNU C Library: Shared libraries an

dpkg recommends no packages.

-- no debconf information


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to