Package: dpkg
Version: 1.15.5.6
Severity: normal

Dear dpkg maintainers,

(related to bug #571334, but control@ didn't allow to clone it)

On So, 28 Feb 2010, Stuart Prescott wrote:
> The current uninstallability of tex-common causes the "plastex" package to
> ftbfs. This is clearly not a bug in plastex so reassigning to tex-common.

Could you please clarify in the man page or somewhere else the return
values of dpkg-query.

It was recommended to use dpkg-querey instead of grepping the package
database (lintian warning or error), but dpkg-query just returns 1
when it does not find the given package on the command line. In this
example I used:
        stat=$(dpkg-query -W -f='${Status}' texlive-base)
and I expected it NOT to return 1 but something else.

Thanks.

Norbert 


-- System Information:
Debian Release: squeeze/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.33-wl-git (SMP w/2 CPU cores; PREEMPT)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages dpkg depends on:
ii  coreutils                     8.4-1      GNU core utilities
ii  libc6                         2.10.2-6   Embedded GNU C Library: Shared lib
ii  lzma                          4.43-14    Compression method of 7z format in

dpkg recommends no packages.

Versions of packages dpkg suggests:
ii  apt                           0.7.25.3   Advanced front-end for dpkg

-- no debconf information



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to