DPKG::Log::Analyse - Analyse a dpkg log
use DPKG::Log;
my $analyser = DPKG::Log::Analyse->new('filename' => 'dpkg.log'); $analyser->analyse;
This module is used to analyse a dpkg log.
Returns a new DPKG::Log::Analyse object. Filename parameter can be ommitted, 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.
Analyse the debian package log.
Return all packages which were newly installed in the dpkg.log.
Return all packages which were upgraded in the dpkg.log.
Return all packages which were removed in the dpkg.log.
Return all packages which are left in state 'unpacked'.
Return all packages which are left in state 'half-installed'.
Return all packages which are left in state 'half-configured'.
Return all packages which got installed and removed.
DPKG::Log, DPKG::Log::Analyse::Package
Patrick Schoenfeld <schoenfeld@debian.org>.
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.
To install DPKG::Log, copy and paste the appropriate command in to your terminal.
cpanm
cpanm DPKG::Log
CPAN shell
perl -MCPAN -e shell install DPKG::Log
For more information on module installation, please visit the detailed CPAN module installation guide.