1 self
.description
= "System upgrade - conflict/provide with an installed package"
3 sp1
= pmpkg("pkg1", "1.0-2")
4 sp1
.conflicts
= ["pkg2"]
5 sp1
.provides
= ["pkg2"]
6 self
.addpkg2db("sync", sp1
);
9 self
.addpkg2db("local", lp1
)
12 self
.addpkg2db("local", lp2
)
14 self
.args
= "-Su --ask=4"
16 self
.addrule("PACMAN_RETCODE=0")
17 self
.addrule("PKG_EXIST=pkg1")
18 self
.addrule("!PKG_EXIST=pkg2")