1 self
.description
= "System upgrade with package conflicts"
3 sp1
= pmpkg("pkg1", "1.0-2")
4 sp1
.conflicts
= ["pkg2", "pkg3"]
5 self
.addpkg2db("sync", sp1
);
7 sp2
= pmpkg("pkg2", "1.0-2")
8 self
.addpkg2db("sync", sp2
)
11 self
.addpkg2db("local", lp1
)
14 self
.addpkg2db("local", lp2
)
17 self
.addpkg2db("local", lp3
)
19 self
.args
= "-Su --ask=4"
21 self
.addrule("PACMAN_RETCODE=1")
22 self
.addrule("PKG_EXIST=pkg1")
23 self
.addrule("PKG_EXIST=pkg2")
24 self
.addrule("PKG_EXIST=pkg3")