]>
git.saurik.com Git - apt.git/blob - test/integration/test-bug-612099-multiarch-conflicts
4 TESTDIR
=$(readlink -f $(dirname $0))
7 configarchitecture
"i386" "amd64"
9 buildsimplenativepackage
'peace-dpkg' 'all' '1.0' 'stable'
11 buildsimplenativepackage
'libc6' 'i386' '1.0' 'stable'
12 buildsimplenativepackage
'libc6' 'amd64' '1.0' 'stable'
13 buildsimplenativepackage
'libc6' 'all' '2.0' 'testing'
15 buildsimplenativepackage
'foobar' 'i386' '1.0' 'stable' 'Depends: libc6'
16 buildsimplenativepackage
'foobar' 'amd64' '1.0' 'stable' 'Depends: libc6'
20 aptget
install peace
-dpkg:i386
-y -qq 2>&1 > /dev
/null
21 testdpkginstalled peace
-dpkg
23 aptget
install libc6
:i386
-t stable
-y -qq 2>&1 > /dev
/null
24 testdpkginstalled libc6
25 testequal
'Reading package lists...
26 Building dependency tree...
27 Reading state information...
28 The following packages will be REMOVED:
30 The following NEW packages will be installed:
32 0 upgraded, 1 newly installed, 1 to remove and 0 not upgraded.
34 Inst libc6:amd64 (1.0 stable [amd64])
35 Conf libc6:amd64 (1.0 stable [amd64])' aptget
install libc6
:amd64
-s -t stable
37 testequal
'Reading package lists...
38 Building dependency tree...
39 Reading state information...
40 The following NEW packages will be installed:
42 0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
43 Inst foobar (1.0 stable [i386])
44 Conf foobar (1.0 stable [i386])' aptget
install foobar
-st stable
46 testequal
'Reading package lists...
47 Building dependency tree...
48 Reading state information...
49 The following extra packages will be installed:
51 The following packages will be REMOVED:
53 The following NEW packages will be installed:
54 foobar:amd64 libc6:amd64
55 0 upgraded, 2 newly installed, 1 to remove and 0 not upgraded.
57 Inst libc6:amd64 (1.0 stable [amd64])
58 Inst foobar:amd64 (1.0 stable [amd64])
59 Conf libc6:amd64 (1.0 stable [amd64])
60 Conf foobar:amd64 (1.0 stable [amd64])' aptget
install foobar
:amd64
-st stable
62 # FIXME: libc6:i386 is installed, we are switching to libc6:all
63 testequal
'Reading package lists...
64 Building dependency tree...
65 Reading state information...
66 The following extra packages will be installed:
68 The following NEW packages will be installed:
70 0 upgraded, 2 newly installed, 0 to remove and 0 not upgraded.
71 Inst libc6 (2.0 testing, testing [all])
72 Inst foobar (1.0 stable [i386])
73 Conf libc6 (2.0 testing, testing [all])
74 Conf foobar (1.0 stable [i386])' aptget
install foobar
/stable libc6
-st testing
76 # FIXME: libc6:i386 is installed, we are switching to libc6:all
77 testequal
'Reading package lists...
78 Building dependency tree...
79 Reading state information...
80 The following NEW packages will be installed:
82 0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
83 Inst libc6 (2.0 testing, testing [all])
84 Conf libc6 (2.0 testing, testing [all])' aptget upgrade
-t testing
-s
85 aptget upgrade
-y -qq 2>&1 > /dev
/null
86 testdpkginstalled libc6
88 testequal
'Reading package lists...
89 Building dependency tree...
90 Reading state information...
91 The following NEW packages will be installed:
93 0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
94 Inst foobar (1.0 stable [i386]) []
95 Conf foobar (1.0 stable [i386])' aptget
install foobar
/stable
-st testing
97 testequal
'Reading package lists...
98 Building dependency tree...
99 Reading state information...
100 The following NEW packages will be installed:
102 0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
103 Inst foobar:amd64 (1.0 stable [amd64])
104 Conf foobar:amd64 (1.0 stable [amd64])' aptget
install foobar
:amd
64/stable
-st testing
107 # FIXME: the display is a strange (its a downgrade), but the handling itself correct
108 testequal
"Reading package lists...
109 Building dependency tree...
110 Reading state information...
111 Selected version '1.0' (stable [i386]) for 'libc6'
112 The following packages will be REMOVED:
114 The following NEW packages will be installed:
116 0 upgraded, 1 newly installed, 2 to remove and 0 not upgraded.
118 Inst libc6 (1.0 stable [i386])
119 Conf libc6 (1.0 stable [i386])" aptget
install libc
6/stable
-s -q=0
122 buildsimplenativepackage
'libc6-same' 'i386' '1.0' 'stable' 'Multi-Arch: same'
123 buildsimplenativepackage
'libc6-same' 'amd64' '1.0' 'stable' 'Multi-Arch: same'
124 buildsimplenativepackage
'libc6-same' 'all' '2.0' 'testing'
126 buildsimplenativepackage
'foobar-same' 'i386' '1.0' 'stable' 'Depends: libc6-same'
127 buildsimplenativepackage
'foobar-same' 'amd64' '1.0' 'stable' 'Depends: libc6-same'
131 aptget
install libc6
-same:i386
-t stable
-y -qq 2>&1 > /dev
/null
132 testdpkginstalled libc6
-same
134 testequal
'Reading package lists...
135 Building dependency tree...
136 Reading state information...
137 The following NEW packages will be installed:
139 0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
140 Inst foobar-same (1.0 stable [i386])
141 Conf foobar-same (1.0 stable [i386])' aptget
install foobar
-same -st stable
143 testequal
'Reading package lists...
144 Building dependency tree...
145 Reading state information...
146 The following extra packages will be installed:
148 The following NEW packages will be installed:
149 foobar-same:amd64 libc6-same:amd64
150 0 upgraded, 2 newly installed, 0 to remove and 0 not upgraded.
151 Inst libc6-same:amd64 (1.0 stable [amd64])
152 Inst foobar-same:amd64 (1.0 stable [amd64])
153 Conf libc6-same:amd64 (1.0 stable [amd64])
154 Conf foobar-same:amd64 (1.0 stable [amd64])' aptget
install foobar
-same:amd64
-st stable
156 testequal
'Reading package lists...
157 Building dependency tree...
158 Reading state information...
159 The following NEW packages will be installed:
161 0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
162 Inst libc6-same:amd64 (1.0 stable [amd64])
163 Conf libc6-same:amd64 (1.0 stable [amd64])' aptget
install libc6
-same:amd64
-s -t stable
165 # FIXME: We should test installing libc6-same:amd64 here, but dpkg doesn't allow it currently
167 # FIXME: upgrade any to all as above
168 testequal
'Reading package lists...
169 Building dependency tree...
170 Reading state information...
171 The following NEW packages will be installed:
173 0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
174 Inst libc6-same (2.0 testing, testing [all])
175 Conf libc6-same (2.0 testing, testing [all])' aptget upgrade
-t testing
-s
176 aptget upgrade
-y -qq 2>&1 > /dev
/null
177 testdpkginstalled libc6
-same
179 # FIXME: the display is a strange (its a downgrade), but the handling itself correct
180 testequal
"Reading package lists...
181 Building dependency tree...
182 Reading state information...
183 Selected version '1.0' (stable [i386]) for 'libc6-same'
184 The following packages will be REMOVED:
186 The following NEW packages will be installed:
188 0 upgraded, 1 newly installed, 2 to remove and 0 not upgraded.
189 Remv libc6-same [2.0]
190 Inst libc6-same (1.0 stable [i386])
191 Conf libc6-same (1.0 stable [i386])" aptget
install libc6
-same/stable
-s -q=0
193 testequal
'Reading package lists...
194 Building dependency tree...
195 Reading state information...
196 The following NEW packages will be installed:
198 0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
199 Inst foobar-same (1.0 stable [i386]) []
200 Conf foobar-same (1.0 stable [i386])' aptget
install foobar
-same/stable
-st testing
202 testequal
'Reading package lists...
203 Building dependency tree...
204 Reading state information...
205 The following NEW packages will be installed:
207 0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
208 Inst foobar-same:amd64 (1.0 stable [amd64])
209 Conf foobar-same:amd64 (1.0 stable [amd64])' aptget
install foobar
-same:amd
64/stable
-st testing