1 self
.description
= "A dependency induces a replacement"
4 self
.addpkg2db("local", lp1
);
8 self
.addpkg2db("sync", sp2
);
11 sp3
.conflicts
= ["pkg1"]
12 self
.addpkg2db("sync", sp3
);
14 self
.args
= "-S pkg2 --ask=4"
16 self
.addrule("PACMAN_RETCODE=0")
17 self
.addrule("!PKG_EXIST=pkg1")
18 self
.addrule("PKG_EXIST=pkg2")
19 self
.addrule("PKG_EXIST=pkg3")
20 self
.addrule("PKG_REASON=pkg3|1")