DAB not in dpkg-query in PVE 8.2 latest

apmuthu

Renowned Member
Feb 26, 2009
871
12
83
Chennai - India & Singapore
github.com
# dpkg-query -p dab
dpkg-query: package 'dab' is not available

# dpkg -l dab
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name Version Architecture Description
+++-==============-============-============-=================================
ii dab 3.5.2 all Debian LXC Appliance Builder
 
Hi apmuthu,

as the manpage of dpkg-query states [0]:
Users of APT-based frontends should use apt show package-name
instead as the available file is only kept up-to-date when
using dselect.

In fact, many of the installed packages won't show up if using dpkg-query:

Code:
 ~ ❯ dpkg-query -p zstd       
dpkg-query: package 'zstd' is not available
 ~ ❯ dpkg-query -p qemu-server
dpkg-query: package 'qemu-server' is not available

[0] https://www.man7.org/linux/man-pages/man1/dpkg-query.1.html
 
Thanks for the info.
Code:
# apt show dab -a
Package: dab
Version: 3.5.2
Priority: optional
Section: admin
Maintainer: Proxmox Support Team <support@proxmox.com>
Installed-Size: 100 kB
Depends: binutils, libuuid-perl, lxc, make, perl, wget, perl:any
Download-Size: 33.3 kB
APT-Manual-Installed: yes
APT-Sources: http://download.proxmox.com/debian/pve bookworm/pve-no-subscription amd64 Packages
Description: Debian LXC Appliance Builder
 This package contains scripts to automate the creation of LXC
 appliances.

Package: dab
Version: 3.5.0
Priority: optional
Section: admin
Maintainer: Proxmox Support Team <support@proxmox.com>
Installed-Size: 104 kB
Depends: binutils, libuuid-perl, lxc, make, perl, wget, perl:any
Download-Size: 33.2 kB
APT-Sources: http://download.proxmox.com/debian/pve bookworm/pve-no-subscription amd64 Packages
Description: Debian LXC Appliance Builder
 This package contains scripts to automate the creation of LXC
 appliances.