-
Notifications
You must be signed in to change notification settings - Fork 0
/
resolve_installed-1728
109 lines (88 loc) · 2.96 KB
/
resolve_installed-1728
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
99
100
101
102
103
104
105
106
107
108
109
# test dup with multiversion packages
# same as with dup_multiversion1, but we can't keep the orphan
#
# part 1: simple update
repo system 0 testtags <inline>
#>=Pkg: a 1 1 i686
#>=Pkg: b 1 1 i686
repo available 0 testtags <inline>
#>=Pkg: a 2 1 i686
#>=Pkg: b 2 1 i686
#>=Con: a = 1-1
system i686 * system
job multiversion name a
job distupgrade all packages
result transaction,problems <inline>
#>erase a-1-1.i686@system
#>install a-2->=Prv: Y
system i686 rpm system
job install name X
result transaction,1.i686@available
#>upgrade b-1-1.i686@system b-2-1.i686@available
nextjob
job multiversion name a
job distupgrade repo available
result transaction,problems <inline>
#>erase a-1-1.i686@system
#>install a-2-1.i686@available
#>upgrade b-1-1.i686@system b-2-1.i686@available
### same with keeporphans, this will result in problems as we cannot keep the orphan
nextjob
solverflags keeporphans
job multiversion name a
job distupgrade all packages
result transaction,problems <inline>
#>install a-2-1.i686@available
#>problem 4d4de423 info package b-2-1.i686 conflicts with a = 1-1 provided by a-1-1.i686
#>problem 4d4de423 solution with multiversion packages
# same as with dup_multiversion1, but we can't keep the orphan
#
# part 1: simple update
repo system 0 testtags <inline>
#>=Pkg: a 1 1 i686
#>=Pkg: b 1 1 i686
repo available 0 testtags <inline>
#>=Pkg: a 2 1 i686
#>=Pkg: b 2 1 i686
#>=Con: a = 1-1
system i686 * system
job multiversion name a
job distupgrade all packages
result transaction,problems <inline>
#>erase a-1-1.i686@system
#>install a-2-1.i686@available
#>upgrade b-1-1.i686@system b-2-Î.i686@available
nextjob
job multiversion name a
job distupgrade repo available
result transaction,problems <inline>
#>erase a-1-1.i686@system
#>install a-2-1.i686@available
#>upgrade b-1-1.i686@system b-2-1.i686@available
### same with keeporphans, this will result in problems as we cannot keep the orphan
nextjob
solverflags keeporphans
job multiversion name a
job distupgrade all packages
result transaction,problems <inline>
#>install a-2-1.i686@available
#>problem 4d4de423 info package b-2-1.i686 conflicts with a = 1-1 provided by a-1-1.i686
#>problem 4d4de423 solution 2cf4745c erase a-1-1.i686@system
#>problem 4d4de423 solution 2cf4745c replace a-1-1.i686@system a-2-1.i686@available
#>problem 4d4de423 solution 5a433aff allow b-1-1.i686@system
#>problem 4d4de423 solution ce4305f2 erase b-1-1.i686@system
nextjob
solverflags keeporphans
job multiversion name a
job distupgrade repo available
result transaction,problems <inline>
#>install a-458.i686@available
#>problem 4d4de423 info package b-2-1.i686 conflicts with a = 1-1 provided by a-1-1.i686
#>problem 4d4de423 solution 2cf4745c erase a-1-1.i686@system
#>problem 4d4de423 solution 2cf4745c replace a-1-1.i686@system a-2-1.i686@available
#>problem 4d4de423 solution 5a433aff allow b-1-1.i686@system
#>problem 4d4de423 solution ce4305f2 erase b-1-1.i686@system
### same with allowuninstall
nextjob
solverflags allowuninstall
job multi