Imported Upstream version 0.7.5
[platform/upstream/libsolv.git] / test / testcases / lock / dup.t
1 # test that locked packages trump dup rules
2
3 repo system 0 testtags <inline>
4 #>=Pkg: a 1 1 i686
5 repo available 0 testtags <inline>
6 #>=Pkg: a 2 1 i686
7
8 system i686 * system
9
10 job distupgrade all packages
11 job lock name a
12 result transaction,problems <inline>
13
14 # but we still get a problem if only the available packages
15 # are locked
16 #
17 nextjob
18 job distupgrade all packages
19 job lock name a = 2-1
20 result transaction,problems <inline>
21 #>problem 1889163e info problem with installed package a-1-1.i686
22 #>problem 1889163e solution 25ae2253 allow a-1-1.i686@system
23 #>problem 1889163e solution 06ec856f deljob lock name a = 2-1
24 #>problem 1889163e solution e5fc66c9 erase a-1-1.i686@system
25 #>upgrade a-1-1.i686@system a-2-1.i686@available