dpkg-awk - Gawk script to parse /var/lib/dpkg/{status,available} and Packages

Property Value
Distribution Ubuntu 18.04 LTS (Bionic Beaver)
Repository Ubuntu Universe amd64
Package name dpkg-awk
Package version 1.2+nmu2
Package architecture all
Package type deb
Installed size 28 B
Download size 8.49 KB
Official Mirror archive.ubuntu.com
This script can parse the dpkg database files. It can do regular
expressions on the fields, and only get what you want. It can also be
made to output certain fields. As an added bonus, there is an option
to sort the output.
'dpkg-awk "Status: .* installed$"  -- Package Version Status' will
output all installed packages, with only the listed fields.
'dpkg-awk -f=/var/lib/dpkg/available "Package:^[aA].*" -- Package Version'
will output all available packages that start with the letter 'A.'


Package Version Architecture Repository
dpkg-awk_1.2+nmu2_all.deb 1.2+nmu2 all Ubuntu Universe
dpkg-awk - - -


Type URL
Binary Package dpkg-awk_1.2+nmu2_all.deb
Source Package dpkg-awk

Install Howto

  1. Update the package index:
    # sudo apt-get update
  2. Install dpkg-awk deb package:
    # sudo apt-get install dpkg-awk




2017-11-16 - Matthias Klose <doko@debian.org>
dpkg-awk (1.2+nmu2) unstable; urgency=medium
* Non-maintainer upload.
* Use awk instead of gawk.
2017-11-15 - Matthias Klose <doko@debian.org>
dpkg-awk (1.2+nmu1) unstable; urgency=medium
* Non-maintainer upload.
* Mark the package as M-A: foreign. Closes: #842525.
* Fix sorting (-s option). LP: #1093674. Closes: #556651.
* Enable two-letter short option -rs. LP: #1093672. Closes: #586040.
* Drop dependency on gawk. The only feature used by dpkg-awk beyond those
required by POSIX is 'delete array'. This extension is supported by all
awk variants currently in Debian. LP: #1092539.
* Bump standards version.
2012-02-28 - Jeroen Schot <schot@a-eskwadraat.nl>
dpkg-awk (1.2) unstable; urgency=low
* Rename dpkg-awk.lib to dpkg-awk.awk.
* Remove shebang line and executable bit from awk include files.
* Install awk files in /usr/share/awk instead of /usr/lib/awk.
* Simplify dpkg-awk wrapper.
* Update debian/copyright to copyright format 1.0.
* Update debhelper version to 9.
* Convert debian/rules to dh rules.tiny.
* Update to Standards-Version 3.9.3 (no changes needed).
* Drop unneeded 'Build-Depends-Indep: gawk'.
2011-08-04 - Jeroen Schot <schot@a-eskwadraat.nl>
dpkg-awk (1.1) unstable; urgency=low
* New maintainer. (Closes: #635598)
* debian/control:
- bump Standards-Version to 3.9.2 (no changes needed)
- add Depends on ${misc:Debhelper}
- add Suggests of dctrl-tools
* debian/copyright:
- update DEP-5 format to CANDIDATE version (r174)
- relicense to BSD-3-clause after approval from Adam Heath and Iulian
Udrea (Closes: #133491)
* debian/rules:
- add build-indep and build-dep targets
- remove dh_installdirs, add dh_installmanpages
* debian/source/format:
- 3.0 'native'
2008-11-14 - Iulian Udrea <iulian@ubuntu.com>
dpkg-awk (1.0.3) unstable; urgency=low
* debian/control:
- add Vcs-* fields
+ dpkg-awk is now maintained in a GIT repository (git.debian.org)
* debian/rules:
- remove commented lines
- merge 'rm -f' into dh_clean
- rename build-indep target to build-stamp
2008-11-12 - Iulian Udrea <iulian@ubuntu.com>
dpkg-awk (1.0.2) unstable; urgency=low
* New maintainer (Closes: #491857).
* dpkg-awk.lib: it's AWK instead of shell code.
* debian/control:
- change the Section to devel
- bump Standards-Version to 3.8.0
- bump debhelper version from 1 to 7 and add compat file
- add gawk to Build-Depends-Indep
* debian/copyright:
- switch to new format
- debian/* is under the GPL-2 license
* debian/rules: update as it was a bit rusty
* Add debian/install file.
* Fix lintian 'hyphen-used-as-minus-sign'.
2008-07-16 - Jeroen Schot <schot@a-eskwadraat.nl>
dpkg-awk ( unstable; urgency=low
* Correct typos in manpage. Closes: #362045, #104331
* Remove 'commented out' -of|--outform option from manpage.
Closes: #247460
* Remove conflicts on ancient gawk version. Closes: #64358
* Unset POSIXLY_CORRECT because dpkg-awk needs gawk extensions.
Closes: #170375
2006-01-10 - Joey Hess <joeyh@debian.org>
dpkg-awk ( unstable; urgency=low
* Rebuilt to finish /usr/doc transition. Closes: #322783
2001-01-12 - Adam Heath <doogie@debian.org>
dpkg-awk (1.0.1) unstable; urgency=low
* Oops.  It really does need gawk.  Closes: #64146, #64538.
2000-02-28 - Adam Heath <doogie@debian.org>
dpkg-awk (1.0.0) frozen unstable; urgency=low
* Added conflicts on gawk << 3.0.4.  (rc)Closes: #59157
* Removed depends on gawk, as it appears that awk(provided by mawk or
gawk) is sufficient.  Closes: #52350.

See Also

Package Description
dpkg-dev-el_36.3ubuntu1_all.deb Emacs helpers specific to Debian development
dpkg-sig_0.13.1+nmu4_all.deb create and verify signatures on .deb-files
dpkg-www_2.57_all.deb Web based Debian package browser
dpm-copy-server-mysql_1.10.0-2_amd64.deb DPM copy server with MySQL database backend
dpm-copy-server-postgres_1.10.0-2_amd64.deb DPM copy server with postgres database backend
dpm-name-server-mysql_1.10.0-2_amd64.deb DPM nameserver server with MySQL database backend
dpm-name-server-postgres_1.10.0-2_amd64.deb DPM nameserver server with postgres database backend
dpm-rfio-server_1.10.0-2_amd64.deb DPM RFIO (Remote File IO) server
dpm-server-mysql_1.10.0-2_amd64.deb Disk Pool Manager (DPM) server with MySQL database backend
dpm-server-postgres_1.10.0-2_amd64.deb Disk Pool Manager (DPM) server with postgres database backend
dpm-srm-server-mysql_1.10.0-2_amd64.deb DPM SRM server with MySQL database backend
dpm-srm-server-postgres_1.10.0-2_amd64.deb DPM SRM server with postgres database backend
dpm_1.10.0-2_amd64.deb Disk Pool Manager (DPM) client
dpt-i2o-raidutils_0.0.6-22_amd64.deb Adaptec I2O hardware RAID management utilities
dpuser-doc_3.3+p1+dfsg-2build1_all.deb Documentation for DPUSER and QFitsView