Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

dpkg-ruby(1) [debian man page]

DPKG-RUBY(1)						      General Commands Manual						      DPKG-RUBY(1)

NAME
dpkg-ruby - Utility to read a dpkg style db file, dpkg-awk clone SYNOPSIS
dpkg-ruby [(-f|--file) filename] [(-d|--debug) ##] [(-s|--sort) list] [(-n|--numeric) list] [(-rs|--rec_sep) ??] '<fieldname>:<regex>' ... -- <out_fieldname> .. DESCRIPTION
dpkg-ruby Parses a dpkg status file(or other similarly formated file) and outputs the resulting records. It can use regex on the field values to limit the returned records, and it can also be told which fields to output. As another option, it can sort the matched fields. OPTIONS
-f filename --file filename The file to parse. The default is /var/lib/dpkg/status. -d [#] --debug [#] Each time this is specified, it increased the debug level. -s field(s) --sort field(s) A space or comma separated list of fields to sort on. -n field(s) --numeric field(s) A space or comma separated list of fields that should be interpreted as numeric in value. -rs ?? --rec_sep ?? Output this string at the end of each output paragraph. -h --help Display some help. fieldname The fields from the file, that are matched with the regex given. The fieldnames are case insensitive. out_fieldname The fields from the file, that are outputted for each record. If the first field listed is begins with ^, then the list that fol- lows are fields NOT to be outputted. BUGS
Be warned that the author has only a shallow understanding of the dpkg packaging system, so there are probably tons of bugs in this pro- gram. This program comes with no warranties. If running this program causes fire and brimstone to rain down upon the earth, you will be on our own. This program accesses the dpkg database directly in places, querying for data that cannot be gotten via dpkg. AUTHOR
Fumitoshi UKAI <ukai@debian.or.jp>. This manual page are based on (or almost copy from :) dpkg-awk(1) manual written by Adam Heath <doo- gie@debian.org> DEBIAN
Debian Utilities DPKG-RUBY(1)

Check Out this Related Man Page

DPKG::Log::Analyse(3pm) 				User Contributed Perl Documentation				   DPKG::Log::Analyse(3pm)

NAME
DPKG::Log::Analyse - Analyse a dpkg log VERSION
version 1.20 SYNOPSIS
use DPKG::Log; my $analyser = DPKG::Log::Analyse->new('filename' => 'dpkg.log'); $analyser->analyse; DESCRIPTION
This module is used to analyse a dpkg log. METHODS
$analser = DPKG::Log::Analyse->new('filename' => 'dpkg.log') $analyser = DPKG::Log::Analyse->new('log_handle' => $dpkg_log) Returns a new DPKG::Log::Analyse object. Filename parameter can be omitted, it defaults to /var/log/dpkg.log. Its possible to specify an existing DPKG::Log object instead of a filename. This will be used and overrides any filename setting. $analyser->analyse; Analyse the debian package log. $analyser->newly_installed_packages Return all packages which were newly installed in the dpkg.log. $analyser->upgraded_packages Return all packages which were upgraded in the dpkg.log. $analyser->removed_packages Return all packages which were removed in the dpkg.log. $analyser->unpacked_packages Return all packages which are left in state 'unpacked'. $analyser->halfinstalled_packages Return all packages which are left in state 'half-installed'. $analyser->halfconfigured_packages Return all packages which are left in state 'half-configured'. $analyser->installed_and_removed_packages Return all packages which got installed and removed. SEE ALSO
DPKG::Log, DPKG::Log::Analyse::Package AUTHOR
Patrick Schoenfeld <schoenfeld@debian.org>. COPYRIGHT AND LICENSE
Copyright (C) 2011 Patrick Schoenfeld <schoenfeld@debian.org> This library is free software. You can redistribute it and/or modify it under the same terms as perl itself. perl v5.10.1 2011-02-26 DPKG::Log::Analyse(3pm)
Man Page