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->count

Return the count of problems in the object

$pbs->init

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

$pbs->hasnext

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

$pbs->problem

Return a format string about current problem in the set

$pbs->is_ignore

Return True if the problem should be ignored

$pbs->print_all($handle)

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

SEE ALSO

RPM4 RPM4::Db