Imported Upstream version 0.6.30
[platform/upstream/libsolv.git] / test / testcases / distupgrade / dup_multiversion3.t
1 # test dup with multiversion packages where we cannot install the
2 # target. Should give problems except for allowuninstall.
3 #
4 # part 1: simple update
5 repo system 0 testtags <inline>
6 #>=Pkg: a 1 1 i686
7 repo available 0 testtags <inline>
8 #>=Pkg: a 2 1 i686
9 #>=Req: c
10 system i686 * system
11
12 job multiversion name a
13 job distupgrade all packages
14 result transaction,problems <inline>
15 #>problem fc3d647e info nothing provides c needed by a-2-1.i686
16 #>problem fc3d647e solution 179b72ed allow a-1-1.i686@system
17 #>problem fc3d647e solution e5fc66c9 erase a-1-1.i686@system
18
19 nextjob
20
21 job multiversion name a
22 job distupgrade repo available
23 result transaction,problems <inline>
24 #>problem fc3d647e info nothing provides c needed by a-2-1.i686
25 #>problem fc3d647e solution 179b72ed allow a-1-1.i686@system
26 #>problem fc3d647e solution e5fc66c9 erase a-1-1.i686@system
27
28 ### same with keeporphans
29
30 nextjob
31
32 solverflags keeporphans
33 job multiversion name a
34 job distupgrade all packages
35 result transaction,problems <inline>
36 #>problem 771581fd info nothing provides c needed by a-2-1.i686
37 #>problem 771581fd solution 179b72ed allow a-1-1.i686@system
38 #>problem 771581fd solution 2cf4745c erase a-1-1.i686@system
39
40 nextjob
41
42 solverflags keeporphans
43 job multiversion name a
44 job distupgrade repo available
45 result transaction,problems <inline>
46 #>problem 771581fd info nothing provides c needed by a-2-1.i686
47 #>problem 771581fd solution 179b72ed allow a-1-1.i686@system
48 #>problem 771581fd solution 2cf4745c erase a-1-1.i686@system
49
50 ### same with allowuninstall
51
52 nextjob
53
54 solverflags allowuninstall
55 job multiversion name a
56 job distupgrade all packages
57 result transaction,problems <inline>
58 #>erase a-1-1.i686@system
59
60
61 nextjob
62
63 solverflags allowuninstall
64 job multiversion name a
65 job distupgrade repo available
66 result transaction,problems <inline>
67 #>erase a-1-1.i686@system
68
69
70 ### same with allowuninstall and keeporphans
71
72 nextjob
73
74 solverflags allowuninstall keeporphans
75 job multiversion name a
76 job distupgrade all packages
77 result transaction,problems <inline>
78 #>erase a-1-1.i686@system
79
80
81 nextjob
82
83 solverflags allowuninstall keeporphans
84 job multiversion name a
85 job distupgrade repo available
86 result transaction,problems <inline>
87 #>erase a-1-1.i686@system
88
89