summaryrefslogtreecommitdiff
path: root/test/testcases/distupgrade/dup_multiversion3.t
blob: 97eb20f51bf6e5e2f1eb32f82597b2db213abca6 (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
# test dup with multiversion packages where we cannot install the
# target. Should give problems except for allowuninstall.
#
# part 1: simple update
repo system 0 testtags <inline>
#>=Pkg: a 1 1 i686
repo available 0 testtags <inline>
#>=Pkg: a 2 1 i686
#>=Req: c
system i686 * system

job multiversion name a
job distupgrade all packages
result transaction,problems <inline>
#>problem fc3d647e info nothing provides c needed by a-2-1.i686
#>problem fc3d647e solution 179b72ed allow a-1-1.i686@system
#>problem fc3d647e solution e5fc66c9 erase a-1-1.i686@system

nextjob

job multiversion name a
job distupgrade repo available
result transaction,problems <inline>
#>problem fc3d647e info nothing provides c needed by a-2-1.i686
#>problem fc3d647e solution 179b72ed allow a-1-1.i686@system
#>problem fc3d647e solution e5fc66c9 erase a-1-1.i686@system

### same with keeporphans

nextjob

solverflags keeporphans
job multiversion name a
job distupgrade all packages
result transaction,problems <inline>
#>problem 771581fd info nothing provides c needed by a-2-1.i686
#>problem 771581fd solution 179b72ed allow a-1-1.i686@system
#>problem 771581fd solution 2cf4745c erase a-1-1.i686@system

nextjob

solverflags keeporphans
job multiversion name a
job distupgrade repo available
result transaction,problems <inline>
#>problem 771581fd info nothing provides c needed by a-2-1.i686
#>problem 771581fd solution 179b72ed allow a-1-1.i686@system
#>problem 771581fd solution 2cf4745c erase a-1-1.i686@system

### same with allowuninstall

nextjob

solverflags allowuninstall
job multiversion name a
job distupgrade all packages
result transaction,problems <inline>
#>erase a-1-1.i686@system


nextjob

solverflags allowuninstall
job multiversion name a
job distupgrade repo available
result transaction,problems <inline>
#>erase a-1-1.i686@system


### same with allowuninstall and keeporphans

nextjob

solverflags allowuninstall keeporphans
job multiversion name a
job distupgrade all packages
result transaction,problems <inline>
#>erase a-1-1.i686@system


nextjob

solverflags allowuninstall keeporphans
job multiversion name a
job distupgrade repo available
result transaction,problems <inline>
#>erase a-1-1.i686@system