summaryrefslogtreecommitdiff
path: root/test/testcases/distupgrade/dup_orphan3.t
blob: 361649ae6ff8707861d44c686813a1b815fb4bc5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
# test dup with orphaned packages
#
# part 3: a is not really an orphan, but cannot be downgraded
#

repo system 0 testtags <inline>
#>=Pkg: a 1 1 i686
#>=Pkg: b 1 1 i686
repo available 0 testtags <inline>
#>=Pkg: a 1 0 i686
#>=Pkg: b 2 1 i686
system i686 * system

solverflags !dupallowdowngrade
job distupgrade all packages
result transaction,problems <inline>
#>downgrade a-1-1.i686@system a-1-0.i686@available
#>upgrade b-1-1.i686@system b-2-1.i686@available
#>problem 7724e627 info problem with installed package a-1-1.i686
#>problem 7724e627 solution 25ae2253 allow a-1-1.i686@system
#>problem 7724e627 solution 2cf4745c replace a-1-1.i686@system a-1-0.i686@available

nextjob

solverflags !dupallowdowngrade
job distupgrade repo available
result transaction,problems <inline>
#>downgrade a-1-1.i686@system a-1-0.i686@available
#>upgrade b-1-1.i686@system b-2-1.i686@available
#>problem 7724e627 info problem with installed package a-1-1.i686
#>problem 7724e627 solution 25ae2253 allow a-1-1.i686@system
#>problem 7724e627 solution 2cf4745c replace a-1-1.i686@system a-1-0.i686@available

### keeporphans

nextjob

solverflags !dupallowdowngrade keeporphans
job distupgrade all packages
result transaction,problems <inline>
#>downgrade a-1-1.i686@system a-1-0.i686@available
#>upgrade b-1-1.i686@system b-2-1.i686@available
#>problem 7724e627 info problem with installed package a-1-1.i686
#>problem 7724e627 solution 25ae2253 allow a-1-1.i686@system
#>problem 7724e627 solution 2cf4745c replace a-1-1.i686@system a-1-0.i686@available

nextjob

solverflags !dupallowdowngrade keeporphans
job distupgrade repo available
result transaction,problems <inline>
#>downgrade a-1-1.i686@system a-1-0.i686@available
#>upgrade b-1-1.i686@system b-2-1.i686@available
#>problem 7724e627 info problem with installed package a-1-1.i686
#>problem 7724e627 solution 25ae2253 allow a-1-1.i686@system
#>problem 7724e627 solution 2cf4745c replace a-1-1.i686@system a-1-0.i686@available

### same with allowuninstall

nextjob

solverflags !dupallowdowngrade allowuninstall
job distupgrade all packages
result transaction,problems <inline>
#>downgrade a-1-1.i686@system a-1-0.i686@available
#>upgrade b-1-1.i686@system b-2-1.i686@available


nextjob

solverflags !dupallowdowngrade allowuninstall
job distupgrade repo available
result transaction,problems <inline>
#>downgrade a-1-1.i686@system a-1-0.i686@available
#>upgrade b-1-1.i686@system b-2-1.i686@available


### same with allowuninstall and keeporphans

nextjob

solverflags !dupallowdowngrade allowuninstall keeporphans
job distupgrade all packages
result transaction,problems <inline>
#>downgrade a-1-1.i686@system a-1-0.i686@available
#>upgrade b-1-1.i686@system b-2-1.i686@available


nextjob

solverflags !dupallowdowngrade allowuninstall keeporphans
job distupgrade repo available
result transaction,problems <inline>
#>downgrade a-1-1.i686@system a-1-0.i686@available
#>upgrade b-1-1.i686@system b-2-1.i686@available