class RPM::Problem::FileConflict
- RPM::Problem::FileConflict
- RPM::Problem
- Reference
- Object
Overview
Problem indicates there is a file conflict between installed package and installing package.
Defined in:
rpm/problem.crConstructors
-
.for(installing : Package | String, installed : Package | String, path : String, key : String? = nil) : FileConflict
Create FILE_CONFLICT problem with given packages
Instance Method Summary
-
#installed_package
Returns the installed package which has conflict
-
#installing_package
Returns the installing package which has conflict
-
#path
Returns the file path which is conflicting.
Instance methods inherited from class RPM::Problem
==(other)
==,
alt_nevr
alt_nevr,
alt_nevr?
alt_nevr?,
dup
dup,
finalize
finalize,
key
key,
number
number,
pkg_nevr
pkg_nevr,
pkg_nevr?
pkg_nevr?,
str
str,
str?
str?,
to_s(io)
to_s,
to_unsafe : RPM::LibRPM::Problem
to_unsafe,
type
type
Class methods inherited from class RPM::Problem
create(type, pkg_nevr, key, dir, file, alt_nevr, number)create(type, pkg_nevr, key, alt_nevr, str, number) create, for(ptr : LibRPM::Problem, **opts) for
Constructor Detail
def self.for(installing : Package | String, installed : Package | String, path : String, key : String? = nil) : FileConflict
#
Create FILE_CONFLICT problem with given packages