summaryrefslogtreecommitdiffstats
path: root/test/integration/test-ubuntu-bug-1130419-prefer-installed-ma-same-siblings
blob: d76602631d1c84faf03b4be6ce3179b2f758ba25 (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
99
100
101
102
103
#!/bin/sh
set -e

TESTDIR="$(readlink -f "$(dirname "$0")")"
. "$TESTDIR/framework"
setupenvironment
configarchitecture 'amd64' 'i386'

insertpackage 'stable' 'libmesa' 'amd64,i386' '1' 'Multi-Arch: same'
insertpackage 'stable' 'libmesa-lts' 'amd64,i386' '1' 'Provides: libmesa
Conflicts: libmesa
Multi-Arch: same'
insertpackage 'stable' 'steam' 'i386' '1' 'Depends: libmesa'

insertpackage 'unstable' 'libmesa' 'amd64,i386' '2' 'Multi-Arch: same'
insertpackage 'unstable' 'libmesa-lts' 'amd64,i386' '2' 'Provides: libmesa
Conflicts: libmesa
Multi-Arch: same'
insertpackage 'unstable' 'steam' 'i386' '2' 'Depends: libmesa'

setupaptarchive

testsuccessequal 'Reading package lists...
Building dependency tree...
The following additional packages will be installed:
  libmesa:i386
The following NEW packages will be installed:
  libmesa:i386 steam:i386
0 upgraded, 2 newly installed, 0 to remove and 0 not upgraded.
Inst libmesa:i386 (1 stable [i386])
Inst steam:i386 (1 stable [i386])
Conf libmesa:i386 (1 stable [i386])
Conf steam:i386 (1 stable [i386])' aptget install steam -st stable
testsuccessequal 'Reading package lists...
Building dependency tree...
The following additional packages will be installed:
  libmesa:i386
The following NEW packages will be installed:
  libmesa:i386 steam:i386
0 upgraded, 2 newly installed, 0 to remove and 0 not upgraded.
Inst libmesa:i386 (2 unstable [i386])
Inst steam:i386 (2 unstable [i386])
Conf libmesa:i386 (2 unstable [i386])
Conf steam:i386 (2 unstable [i386])' aptget install steam -st unstable

insertinstalledpackage 'libmesa' 'amd64' '1' 'Multi-Arch: same'
testsuccessequal 'Reading package lists...
Building dependency tree...
The following additional packages will be installed:
  libmesa:i386
The following NEW packages will be installed:
  libmesa:i386 steam:i386
0 upgraded, 2 newly installed, 0 to remove and 0 not upgraded.
Inst libmesa:i386 (1 stable [i386])
Inst steam:i386 (1 stable [i386])
Conf libmesa:i386 (1 stable [i386])
Conf steam:i386 (1 stable [i386])' aptget install steam -st stable
testsuccessequal 'Reading package lists...
Building dependency tree...
The following additional packages will be installed:
  libmesa libmesa:i386
The following NEW packages will be installed:
  libmesa:i386 steam:i386
The following packages will be upgraded:
  libmesa
1 upgraded, 2 newly installed, 0 to remove and 0 not upgraded.
Inst libmesa [1] (2 unstable [amd64])
Inst libmesa:i386 (2 unstable [i386])
Inst steam:i386 (2 unstable [i386])
Conf libmesa (2 unstable [amd64])
Conf libmesa:i386 (2 unstable [i386])
Conf steam:i386 (2 unstable [i386])' aptget install steam -st unstable

rm -f rootdir/var/lib/dpkg/status
insertinstalledpackage 'libmesa-lts' 'amd64' '1' 'Provides: libmesa
Conflicts: libmesa
Multi-Arch: same'
testsuccessequal 'Reading package lists...
Building dependency tree...
The following additional packages will be installed:
  libmesa-lts:i386
The following NEW packages will be installed:
  libmesa-lts:i386 steam:i386
0 upgraded, 2 newly installed, 0 to remove and 0 not upgraded.
Inst libmesa-lts:i386 (1 stable [i386])
Inst steam:i386 (1 stable [i386])
Conf libmesa-lts:i386 (1 stable [i386])
Conf steam:i386 (1 stable [i386])' aptget install steam -st stable
testsuccessequal 'Reading package lists...
Building dependency tree...
The following additional packages will be installed:
  libmesa-lts libmesa-lts:i386
The following NEW packages will be installed:
  libmesa-lts:i386 steam:i386
The following packages will be upgraded:
  libmesa-lts
1 upgraded, 2 newly installed, 0 to remove and 0 not upgraded.
Inst libmesa-lts [1] (2 unstable [amd64])
Inst libmesa-lts:i386 (2 unstable [i386])
Inst steam:i386 (2 unstable [i386])
Conf libmesa-lts (2 unstable [amd64])
Conf libmesa-lts:i386 (2 unstable [i386])
Conf steam:i386 (2 unstable [i386])' aptget install steam -st unstable