Analyse a dpkg log
version 1.20
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 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. 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 <[email protected]>.
Copyright (C) 2011 Patrick Schoenfeld <[email protected]>
This library is free software. You can redistribute it and/or modify it under the same terms as perl itself.