Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

dpkg::log::analyse::package(3pm) [debian man page]

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

NAME
DPKG::Log::Analyse::Package - Describe a package as analysed from a dpkg.log VERSION
version 1.20 SYNOPSIS
use DPKG::Log; my $package = DPKG::Log::Analyse::Package->new('package' => 'foobar'); DESCRIPTION
This module is used to analyse a dpkg log. METHODS
$package = DPKG::Log::Analyse::Package->new('package' => 'foobar') Returns a new DPKG::Log::Analyse::Package object. $package_name = $package->name; Returns the name of this package. $package->version Return or set the version of this package. $package->previous_version Return or set the previous version of this package. $package->status Return or set the status of this package. equals($package1, $package2); print "equal" if $package1 eq $package2 Compares two packages in their string representation. compare($package1, $package2) print "greater" if $package1 > $package2 Compare two packages. See OVERLOADING for details on how the comparison works. $package_str = $package->as_string printf("Package name: %s", $package); Return this package as a string. This will return the package name and the version (if set) in the form package_name/version. If version is not set, it will return the package name only. Overloading This module explicitly overloads some operators. Each operand is expected to be a DPKG::Log::Analyse::Package object. The string comparison operators, "eq" or "ne" will use the string value for the comparison. The numerical operators will use the package name and package version for comparison. That means a package1 == package2 if package1->name equals package2->name AND package1->version == package2->version. The module stores versions as Dpkg::Version objects, therefore sorting different versions of the same package will work. This module also overloads stringification returning either the package name if no version is set or "package_name/version" if a version is set. SEE ALSO
DPKG::Log, DPKG::Version 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-23 DPKG::Log::Analyse::Package(3pm)

Check Out this Related Man Page

DPKG-RECONFIGURE(8)						      Debconf						       DPKG-RECONFIGURE(8)

NAME
dpkg-reconfigure - reconfigure an already installed package SYNOPSIS
dpkg-reconfigure [options] packages DESCRIPTION
dpkg-reconfigure reconfigures packages after they have already been installed. Pass it the names of a package or packages to reconfigure. It will ask configuration questions, much like when the package was first installed. If you just want to see the current configuration of a package, see debconf-show(1) instead. OPTIONS
-ftype, --frontend=type Select the frontend to use. The default frontend can be permanently changed by: dpkg-reconfigure debconf Note that if you normally have debconf set to use the noninteractive frontend, dpkg-reconfigure will use the dialog frontend instead, so you actually get to reconfigure the package. -pvalue, --priority=value Specify the minimum priority of question that will be displayed. dpkg-reconfigure normally shows low priority questions no matter what your default priority is. See debconf(7) for a list. --default-priority Use whatever the default priority of question is, instead of forcing the priority to low. -u, --unseen-only By default, all questions are shown, even if they have already been answered. If this parameter is set though, only questions that have not yet been seen will be asked. --force Force dpkg-reconfigure to reconfigure a package even if the package is in an inconsistent or broken state. Use with caution. --no-reload Prevent dpkg-reconfigure from reloading templates. Use with caution; this will prevent dpkg-reconfigure from repairing broken templates databases. However, it may be useful in constrained environments where rewriting the templates database is expensive. -h, --help Display usage help. SEE ALSO
debconf(7) AUTHOR
Joey Hess <joeyh@debian.org> 2018-02-28 DPKG-RECONFIGURE(8)
Man Page