RPM4::Transaction::Problems.3pm

Langue: en

Version: 2007-02-28 (mandriva - 01/05/08)

Section: 3 (Bibliothèques de fonctions)

NAME

RPM4::Transaction::Problems

RPM4::Transaction

DESCRIPTION

This module an object for a collection of problems return by the rpmlib when trying to install or removing rpms from the system.

METHODS


new(ts)

Create a new problems collection from transaction. Return undef if now problems has been found in the transaction.

$pbs->init


$pbs->init

Reset internal index and set it to -1, see $deps-\\hasnext()>

$pbs->hasnext


$pbs->hasnext

Advance to next dependency in the set. Return FALSE if no further problem availlable, TRUE otherwise.

$pbs->problem


$pbs->problem

Return a format string about current problem in the set

$pbs->is_ignore


$pbs->is_ignore

Return True if the problem should be ignored

$pbs->print_all($handle)


$pbs->print_all($handle)

Print all error problems into the given handle, STDOUT if not specified.

SEE ALSO

RPM4 RPM4::Db