class RPM::Problem
- RPM::Problem
- Reference
- Object
Overview
Stores Problem.
Direct Known Subclasses
- RPM::Problem::BadArch
- RPM::Problem::BadOS
- RPM::Problem::BadRelocate
- RPM::Problem::Conflicts
- RPM::Problem::DiskNodes
- RPM::Problem::DiskSpace
- RPM::Problem::FileConflict
- RPM::Problem::NewFileConflict
- RPM::Problem::Obsoletes
- RPM::Problem::OldPackage
- RPM::Problem::PackageInstalled
- RPM::Problem::Requires
- RPM::Problem::Verify
Defined in:
rpm/problem.crClass Method Summary
-
.create(type, pkg_nevr, key, dir, file, alt_nevr, number)
Create a problem with calling convention of
rpmProblemCreatein RPM 4.8.x.DEPRECATED Use
.createwith RPM 4.9 convention -
.create(type, pkg_nevr, key, alt_nevr, str, number)
Create a problem with calling convention of
rpmProblemCreatein RPM 4.9 or later. -
.for(ptr : LibRPM::Problem, **opts)
Create a Problem instance with type indicated by given problem's type.
Instance Method Summary
-
#==(other)
Compares two problems
- #alt_nevr
- #alt_nevr?
-
#dup
Returns a shallow copy of this object.
- #finalize
- #key
- #number
- #pkg_nevr
- #pkg_nevr?
- #str
- #str?
- #to_s(io)
-
#to_unsafe : RPM::LibRPM::Problem
Returns pointer to
rpmProblemto deal with librpm C API directly - #type
Class Method Detail
Create a problem with calling convention of rpmProblemCreate
in RPM 4.8.x.
dir and file are simply concatenated (if both of them are
not nil).
DEPRECATED Use .create with RPM 4.9 convention
Create a problem with calling convention of rpmProblemCreate
in RPM 4.9 or later.
Create a Problem instance with type indicated by given problem's type.
If given ptr is NULL, or, unsupported type, this method
returns an instance of RPM::Problem.
Instance Method Detail
Returns a shallow copy of this object.
This allocates a new object and copies the contents of
self into it.
Returns pointer to rpmProblem to deal with librpm C API directly