]> git.saurik.com Git - apt.git/blame_incremental - test/integration/test-bug-632221-cross-dependency-satisfaction
stop handling items in doomed transactions
[apt.git] / test / integration / test-bug-632221-cross-dependency-satisfaction
... / ...
CommitLineData
1#!/bin/sh
2set -e
3
4TESTDIR="$(readlink -f "$(dirname "$0")")"
5. "$TESTDIR/framework"
6setupenvironment
7configarchitecture 'amd64' 'armel'
8
9insertinstalledpackage 'build-essential' 'all' '11.5' 'Multi-Arch: foreign'
10
11insertpackage 'unstable' 'doxygen' 'amd64,armel' '1.0' 'Multi-Arch: foreign'
12insertpackage 'unstable' 'libc6' 'amd64,armel' '1.0' 'Multi-Arch: same'
13insertpackage 'unstable' 'libc6-dev' 'amd64,armel' '1.0' 'Depends: libc6
14Multi-Arch: same'
15insertpackage 'unstable' 'libfwibble1' 'amd64,armel' '1.0' 'Depends: libc6
16Multi-Arch: same'
17insertpackage 'unstable' 'libfwibble-dev' 'amd64,armel' '1.0' 'Depends: libfwibble1'
18insertpackage 'unstable' 'cool' 'amd64,armel' '1.0' 'Multi-Arch: allowed'
19insertpackage 'unstable' 'amdboot' 'amd64' '1.0'
20insertpackage 'unstable' 'foreigner' 'amd64,armel' '1.0' 'Multi-Arch: foreign'
21insertpackage 'unstable' 'arm-stuff' 'armel' '1.0'
22insertpackage 'unstable' 'linux-stuff' 'amd64,armel' '1.0'
23
24insertsource 'unstable' 'apt' 'any' '0.8.15' 'Build-Depends: doxygen, libc6-dev, libc6-dev:native, cool:any, amdboot:amd64, foreigner, libfwibble-dev, arm-stuff [any-armel] | linux-stuff [ linux-any]'
25
26insertsource 'unstable' 'forbidden-no' 'any' '1' 'Build-Depends: amdboot:any'
27insertsource 'unstable' 'forbidden-same' 'any' '1' 'Build-Depends: libc6:any'
28insertsource 'unstable' 'forbidden-foreign' 'any' '1' 'Build-Depends: doxygen:any'
29
30insertpackage 'unstable' 'specific' 'amd64' '1.0' 'Depends: libc6:amd64'
31insertpackage 'unstable' 'specific' 'armel' '1.0' 'Depends: libc6:armel'
32
33insertsource 'unstable' 'source-specific-amd64' 'amd64' '1' 'Build-Depends: specific:amd64'
34insertsource 'unstable' 'source-specific-armel' 'armel' '1' 'Build-Depends: specific:armel'
35
36setupaptarchive
37
38testfailureequal 'Reading package lists...
39Reading package lists...
40Building dependency tree...
41Some packages could not be installed. This may mean that you have
42requested an impossible situation or if you are using the unstable
43distribution that some required packages have not yet been created
44or been moved out of Incoming.
45The following information may help to resolve the situation:
46
47The following packages have unmet dependencies:
48 builddeps:forbidden-no:armel : Depends: amdboot:any but it is not installable
49E: Unable to correct problems, you have held broken packages.' aptget build-dep forbidden-no -s -a armel
50testfailureequal 'Reading package lists...
51Reading package lists...
52Building dependency tree...
53Some packages could not be installed. This may mean that you have
54requested an impossible situation or if you are using the unstable
55distribution that some required packages have not yet been created
56or been moved out of Incoming.
57The following information may help to resolve the situation:
58
59The following packages have unmet dependencies:
60 builddeps:forbidden-same:armel : Depends: libc6:any but it is not installable
61E: Unable to correct problems, you have held broken packages.' aptget build-dep forbidden-same -s -a armel
62testfailureequal 'Reading package lists...
63Reading package lists...
64Building dependency tree...
65Some packages could not be installed. This may mean that you have
66requested an impossible situation or if you are using the unstable
67distribution that some required packages have not yet been created
68or been moved out of Incoming.
69The following information may help to resolve the situation:
70
71The following packages have unmet dependencies:
72 builddeps:forbidden-foreign:armel : Depends: doxygen:any but it is not installable
73E: Unable to correct problems, you have held broken packages.' aptget build-dep forbidden-foreign -s -a armel
74
75testsuccessequal 'Reading package lists...
76Reading package lists...
77Building dependency tree...
78The following NEW packages will be installed:
79 libc6 specific
800 upgraded, 2 newly installed, 0 to remove and 0 not upgraded.
81Inst libc6 (1.0 unstable [amd64])
82Inst specific (1.0 unstable [amd64])
83Conf libc6 (1.0 unstable [amd64])
84Conf specific (1.0 unstable [amd64])' aptget build-dep source-specific-amd64 -s
85testsuccessequal 'Reading package lists...
86Reading package lists...
87Building dependency tree...
88The following NEW packages will be installed:
89 libc6 specific
900 upgraded, 2 newly installed, 0 to remove and 0 not upgraded.
91Inst libc6 (1.0 unstable [amd64])
92Inst specific (1.0 unstable [amd64])
93Conf libc6 (1.0 unstable [amd64])
94Conf specific (1.0 unstable [amd64])' aptget build-dep source-specific-amd64 -s -a armel
95
96testsuccessequal 'Reading package lists...
97Reading package lists...
98Building dependency tree...
99The following NEW packages will be installed:
100 libc6:armel specific:armel
1010 upgraded, 2 newly installed, 0 to remove and 0 not upgraded.
102Inst libc6:armel (1.0 unstable [armel])
103Inst specific:armel (1.0 unstable [armel])
104Conf libc6:armel (1.0 unstable [armel])
105Conf specific:armel (1.0 unstable [armel])' aptget build-dep source-specific-armel -s
106testsuccessequal 'Reading package lists...
107Reading package lists...
108Building dependency tree...
109The following NEW packages will be installed:
110 libc6:armel specific:armel
1110 upgraded, 2 newly installed, 0 to remove and 0 not upgraded.
112Inst libc6:armel (1.0 unstable [armel])
113Inst specific:armel (1.0 unstable [armel])
114Conf libc6:armel (1.0 unstable [armel])
115Conf specific:armel (1.0 unstable [armel])' aptget build-dep source-specific-armel -s -a armel
116
117testsuccessequal 'Reading package lists...
118Reading package lists...
119Building dependency tree...
120The following NEW packages will be installed:
121 amdboot cool doxygen foreigner libc6 libc6-dev libfwibble-dev libfwibble1
122 linux-stuff
1230 upgraded, 9 newly installed, 0 to remove and 0 not upgraded.
124Inst amdboot (1.0 unstable [amd64])
125Inst cool (1.0 unstable [amd64])
126Inst doxygen (1.0 unstable [amd64])
127Inst foreigner (1.0 unstable [amd64])
128Inst libc6 (1.0 unstable [amd64])
129Inst libc6-dev (1.0 unstable [amd64])
130Inst libfwibble1 (1.0 unstable [amd64])
131Inst libfwibble-dev (1.0 unstable [amd64])
132Inst linux-stuff (1.0 unstable [amd64])
133Conf amdboot (1.0 unstable [amd64])
134Conf cool (1.0 unstable [amd64])
135Conf doxygen (1.0 unstable [amd64])
136Conf foreigner (1.0 unstable [amd64])
137Conf libc6 (1.0 unstable [amd64])
138Conf libc6-dev (1.0 unstable [amd64])
139Conf libfwibble1 (1.0 unstable [amd64])
140Conf libfwibble-dev (1.0 unstable [amd64])
141Conf linux-stuff (1.0 unstable [amd64])' aptget build-dep apt -s
142
143testsuccessequal 'Reading package lists...
144Reading package lists...
145Building dependency tree...
146The following NEW packages will be installed:
147 amdboot arm-stuff:armel cool doxygen foreigner libc6 libc6:armel libc6-dev
148 libc6-dev:armel libfwibble-dev:armel libfwibble1:armel
1490 upgraded, 11 newly installed, 0 to remove and 0 not upgraded.
150Inst amdboot (1.0 unstable [amd64])
151Inst arm-stuff:armel (1.0 unstable [armel])
152Inst cool (1.0 unstable [amd64])
153Inst doxygen (1.0 unstable [amd64])
154Inst foreigner (1.0 unstable [amd64])
155Inst libc6 (1.0 unstable [amd64])
156Inst libc6:armel (1.0 unstable [armel])
157Inst libc6-dev (1.0 unstable [amd64])
158Inst libc6-dev:armel (1.0 unstable [armel])
159Inst libfwibble1:armel (1.0 unstable [armel])
160Inst libfwibble-dev:armel (1.0 unstable [armel])
161Conf amdboot (1.0 unstable [amd64])
162Conf arm-stuff:armel (1.0 unstable [armel])
163Conf cool (1.0 unstable [amd64])
164Conf doxygen (1.0 unstable [amd64])
165Conf foreigner (1.0 unstable [amd64])
166Conf libc6 (1.0 unstable [amd64])
167Conf libc6:armel (1.0 unstable [armel])
168Conf libc6-dev (1.0 unstable [amd64])
169Conf libc6-dev:armel (1.0 unstable [armel])
170Conf libfwibble1:armel (1.0 unstable [armel])
171Conf libfwibble-dev:armel (1.0 unstable [armel])' aptget build-dep apt -s -a armel
172
173configarchitecture 'armel' 'amd64'
174
175testsuccessequal 'Reading package lists...
176Building dependency tree...
177The following NEW packages will be installed:
178 amdboot:amd64 arm-stuff cool doxygen foreigner libc6 libc6-dev
179 libfwibble-dev libfwibble1
1800 upgraded, 9 newly installed, 0 to remove and 0 not upgraded.
181Inst amdboot:amd64 (1.0 unstable [amd64])
182Inst arm-stuff (1.0 unstable [armel])
183Inst cool (1.0 unstable [armel])
184Inst doxygen (1.0 unstable [armel])
185Inst foreigner (1.0 unstable [armel])
186Inst libc6 (1.0 unstable [armel])
187Inst libc6-dev (1.0 unstable [armel])
188Inst libfwibble1 (1.0 unstable [armel])
189Inst libfwibble-dev (1.0 unstable [armel])
190Conf amdboot:amd64 (1.0 unstable [amd64])
191Conf arm-stuff (1.0 unstable [armel])
192Conf cool (1.0 unstable [armel])
193Conf doxygen (1.0 unstable [armel])
194Conf foreigner (1.0 unstable [armel])
195Conf libc6 (1.0 unstable [armel])
196Conf libc6-dev (1.0 unstable [armel])
197Conf libfwibble1 (1.0 unstable [armel])
198Conf libfwibble-dev (1.0 unstable [armel])' aptget build-dep apt -s
199
200testsuccessequal 'Reading package lists...
201Reading package lists...
202Building dependency tree...
203The following NEW packages will be installed:
204 amdboot:amd64 cool doxygen foreigner libc6 libc6:amd64 libc6-dev
205 libc6-dev:amd64 libfwibble-dev:amd64 libfwibble1:amd64 linux-stuff:amd64
2060 upgraded, 11 newly installed, 0 to remove and 0 not upgraded.
207Inst amdboot:amd64 (1.0 unstable [amd64])
208Inst cool (1.0 unstable [armel])
209Inst doxygen (1.0 unstable [armel])
210Inst foreigner (1.0 unstable [armel])
211Inst libc6 (1.0 unstable [armel])
212Inst libc6:amd64 (1.0 unstable [amd64])
213Inst libc6-dev (1.0 unstable [armel])
214Inst libc6-dev:amd64 (1.0 unstable [amd64])
215Inst libfwibble1:amd64 (1.0 unstable [amd64])
216Inst libfwibble-dev:amd64 (1.0 unstable [amd64])
217Inst linux-stuff:amd64 (1.0 unstable [amd64])
218Conf amdboot:amd64 (1.0 unstable [amd64])
219Conf cool (1.0 unstable [armel])
220Conf doxygen (1.0 unstable [armel])
221Conf foreigner (1.0 unstable [armel])
222Conf libc6 (1.0 unstable [armel])
223Conf libc6:amd64 (1.0 unstable [amd64])
224Conf libc6-dev (1.0 unstable [armel])
225Conf libc6-dev:amd64 (1.0 unstable [amd64])
226Conf libfwibble1:amd64 (1.0 unstable [amd64])
227Conf libfwibble-dev:amd64 (1.0 unstable [amd64])
228Conf linux-stuff:amd64 (1.0 unstable [amd64])' aptget build-dep apt -s -a amd64
229
230configarchitecture 'amd64' 'armel'
231
232insertinstalledpackage 'cool' 'amd64' '0.5'
233insertinstalledpackage 'foreigner' 'armel' '0.5'
234
235testsuccessequal 'Reading package lists...
236Building dependency tree...
237The following NEW packages will be installed:
238 amdboot doxygen libc6 libc6-dev libfwibble-dev libfwibble1 linux-stuff
239The following packages will be upgraded:
240 foreigner:armel
2411 upgraded, 7 newly installed, 0 to remove and 1 not upgraded.
242Inst amdboot (1.0 unstable [amd64])
243Inst doxygen (1.0 unstable [amd64])
244Inst foreigner:armel [0.5] (1.0 unstable [armel])
245Inst libc6 (1.0 unstable [amd64])
246Inst libc6-dev (1.0 unstable [amd64])
247Inst libfwibble1 (1.0 unstable [amd64])
248Inst libfwibble-dev (1.0 unstable [amd64])
249Inst linux-stuff (1.0 unstable [amd64])
250Conf amdboot (1.0 unstable [amd64])
251Conf doxygen (1.0 unstable [amd64])
252Conf foreigner:armel (1.0 unstable [armel])
253Conf libc6 (1.0 unstable [amd64])
254Conf libc6-dev (1.0 unstable [amd64])
255Conf libfwibble1 (1.0 unstable [amd64])
256Conf libfwibble-dev (1.0 unstable [amd64])
257Conf linux-stuff (1.0 unstable [amd64])' aptget build-dep apt -s
258
259testsuccessequal 'Reading package lists...
260Reading package lists...
261Building dependency tree...
262The following NEW packages will be installed:
263 amdboot arm-stuff:armel doxygen libc6 libc6:armel libc6-dev libc6-dev:armel
264 libfwibble-dev:armel libfwibble1:armel
265The following packages will be upgraded:
266 cool
2671 upgraded, 9 newly installed, 0 to remove and 1 not upgraded.
268Inst amdboot (1.0 unstable [amd64])
269Inst arm-stuff:armel (1.0 unstable [armel])
270Inst cool [0.5] (1.0 unstable [amd64])
271Inst doxygen (1.0 unstable [amd64])
272Inst libc6 (1.0 unstable [amd64])
273Inst libc6:armel (1.0 unstable [armel])
274Inst libc6-dev (1.0 unstable [amd64])
275Inst libc6-dev:armel (1.0 unstable [armel])
276Inst libfwibble1:armel (1.0 unstable [armel])
277Inst libfwibble-dev:armel (1.0 unstable [armel])
278Conf amdboot (1.0 unstable [amd64])
279Conf arm-stuff:armel (1.0 unstable [armel])
280Conf cool (1.0 unstable [amd64])
281Conf doxygen (1.0 unstable [amd64])
282Conf libc6 (1.0 unstable [amd64])
283Conf libc6:armel (1.0 unstable [armel])
284Conf libc6-dev (1.0 unstable [amd64])
285Conf libc6-dev:armel (1.0 unstable [armel])
286Conf libfwibble1:armel (1.0 unstable [armel])
287Conf libfwibble-dev:armel (1.0 unstable [armel])' aptget build-dep apt -s -a armel
288
289configarchitecture 'armel' 'amd64'
290
291# cool 0.5 is not M-A: allowed, so amd64 is not acceptable
292testsuccessequal 'Reading package lists...
293Building dependency tree...
294The following packages will be REMOVED:
295 cool:amd64
296The following NEW packages will be installed:
297 amdboot:amd64 arm-stuff cool doxygen libc6 libc6-dev libfwibble-dev
298 libfwibble1
2990 upgraded, 8 newly installed, 1 to remove and 1 not upgraded.
300Remv cool:amd64 [0.5]
301Inst amdboot:amd64 (1.0 unstable [amd64])
302Inst arm-stuff (1.0 unstable [armel])
303Inst cool (1.0 unstable [armel])
304Inst doxygen (1.0 unstable [armel])
305Inst libc6 (1.0 unstable [armel])
306Inst libc6-dev (1.0 unstable [armel])
307Inst libfwibble1 (1.0 unstable [armel])
308Inst libfwibble-dev (1.0 unstable [armel])
309Conf amdboot:amd64 (1.0 unstable [amd64])
310Conf arm-stuff (1.0 unstable [armel])
311Conf cool (1.0 unstable [armel])
312Conf doxygen (1.0 unstable [armel])
313Conf libc6 (1.0 unstable [armel])
314Conf libc6-dev (1.0 unstable [armel])
315Conf libfwibble1 (1.0 unstable [armel])
316Conf libfwibble-dev (1.0 unstable [armel])' aptget build-dep apt -s
317
318testsuccessequal 'Reading package lists...
319Reading package lists...
320Building dependency tree...
321The following NEW packages will be installed:
322 amdboot:amd64 doxygen libc6 libc6:amd64 libc6-dev libc6-dev:amd64
323 libfwibble-dev:amd64 libfwibble1:amd64 linux-stuff:amd64
324The following packages will be upgraded:
325 cool:amd64 foreigner
3262 upgraded, 9 newly installed, 0 to remove and 0 not upgraded.
327Inst amdboot:amd64 (1.0 unstable [amd64])
328Inst cool:amd64 [0.5] (1.0 unstable [amd64])
329Inst doxygen (1.0 unstable [armel])
330Inst foreigner [0.5] (1.0 unstable [armel])
331Inst libc6 (1.0 unstable [armel])
332Inst libc6:amd64 (1.0 unstable [amd64])
333Inst libc6-dev (1.0 unstable [armel])
334Inst libc6-dev:amd64 (1.0 unstable [amd64])
335Inst libfwibble1:amd64 (1.0 unstable [amd64])
336Inst libfwibble-dev:amd64 (1.0 unstable [amd64])
337Inst linux-stuff:amd64 (1.0 unstable [amd64])
338Conf amdboot:amd64 (1.0 unstable [amd64])
339Conf cool:amd64 (1.0 unstable [amd64])
340Conf doxygen (1.0 unstable [armel])
341Conf foreigner (1.0 unstable [armel])
342Conf libc6 (1.0 unstable [armel])
343Conf libc6:amd64 (1.0 unstable [amd64])
344Conf libc6-dev (1.0 unstable [armel])
345Conf libc6-dev:amd64 (1.0 unstable [amd64])
346Conf libfwibble1:amd64 (1.0 unstable [amd64])
347Conf libfwibble-dev:amd64 (1.0 unstable [amd64])
348Conf linux-stuff:amd64 (1.0 unstable [amd64])' aptget build-dep apt -s -a amd64