]> git.saurik.com Git - apt.git/blame_incremental - test/integration/test-release-candidate-switching
Merge pull request julian-klode/apt#3 from adrian17/master
[apt.git] / test / integration / test-release-candidate-switching
... / ...
CommitLineData
1#!/bin/sh
2set -e
3
4TESTDIR="$(readlink -f "$(dirname "$0")")"
5. "$TESTDIR/framework"
6setupenvironment
7configarchitecture "i386"
8
9insertpackage 'unstable' 'libc6' 'i386' '2.11.2-7+sid'
10insertpackage 'unstable' 'phonon-backend-xine' 'i386' '4:4.6.0really4.4.2-1+sid' 'Provides: phonon-backend'
11insertpackage 'unstable' 'phonon-backend-xine2' 'i386' '4:4.6.0really4.4.2-1+sid'
12insertpackage 'unstable' 'phonon-backend-xine3' 'i386' '4:4.6.0really4.4.2-1+sid'
13insertpackage 'unstable' 'phonon-backend-xine4' 'i386' '4:4.6.0really4.4.2-1+sid'
14insertpackage 'unstable' 'phonon-backend-null' 'i386' '4:4.20.0+sid' 'Provides: phonon-backend'
15insertpackage 'unstable' 'intermediatepkg' 'all' '1.0'
16
17insertpackage 'unstable' 'amarok-common' 'all' '2.3.1-1+sid'
18insertpackage 'unstable' 'amarok-utils' 'i386' '2.3.1-1+sid'
19insertpackage 'unstable' 'libmtp8' 'i386' '0.3.1+sid'
20insertpackage 'unstable' 'amarok' 'i386' '2.3.1-1+sid' 'Depends: amarok-common (= 2.3.1-1+sid), amarok-utils (= 2.3.1-1+sid), phonon-backend-xine | phonon-backend, libmtp8 (>= 0.3.1), libc6'
21
22insertpackage 'experimental' 'amarok-common' 'all' '2.3.2-2+exp'
23insertpackage 'experimental' 'amarok-utils' 'i386' '2.3.2-2+exp'
24insertpackage 'experimental' 'libmtp8' 'i386' '0.3.3+exp'
25insertpackage 'experimental' 'phonon-backend-xine' 'i386' '5:4.6.0+exp' 'Provides: phonon-backend'
26insertpackage 'experimental' 'phonon-backend-xine2' 'i386' '5:4.6.0+exp' 'Depends: uninstallablepkg
27Provides: phonon-backend-broken'
28insertpackage 'experimental' 'phonon-backend-xine3' 'i386' '5:4.6.0+exp' 'Depends: intermediatepkg (>= 1.5)'
29insertpackage 'experimental' 'phonon-backend-xine4' 'i386' '5:4.6.0+exp' 'Depends: intermediateuninstallablepkg (= 2.0)
30Provides: phonon-backend-broken'
31insertpackage 'experimental' 'intermediatepkg' 'all' '2.0' 'Depends: libc6'
32insertpackage 'experimental' 'intermediateuninstallablepkg' 'all' '2.0' 'Depends: uninstallablepkg'
33insertpackage 'experimental' 'phonon-backend-null' 'i386' '5:4.20.0+exp' 'Provides: phonon-backend'
34insertpackage 'experimental' 'amarok' 'i386' '2.3.2-2+exp' 'Depends: amarok-common (= 2.3.2-2+exp), amarok-utils (= 2.3.2-2+exp), phonon-backend-xine | phonon-backend, libmtp8 (>= 0.3.1), libc6'
35
36insertpackage 'experimental2' 'phonon-backend-xine' 'i386' '5:4.00.0+exp' 'Provides: phonon-backend'
37insertpackage 'experimental2' 'amarok-less' 'i386' '2.3.2-2+exp' 'Depends: amarok-common, phonon-backend-xine (>= 5:4.00.0+exp), libmtp8, libc6, amarok-utils'
38insertpackage 'experimental' 'amarok-higher' 'i386' '2.3.2-2+exp' 'Depends: amarok-common (= 2.3.2-2+exp), phonon-backend-xine (>= 5:4.6.0+exp), libmtp8 (>= 0.3.1), libc6, amarok-utils (= 2.3.2-2+exp)'
39
40insertpackage 'experimental' 'amarok-null' 'i386' '2.3.2-2+exp' 'Depends: amarok-common (= 2.3.2-2+exp), phonon-backend-xine (= 1:1.0-1) | phonon-backend, libmtp8 (>= 0.3.1), libc6, amarok-utils (= 2.3.2-2+exp)'
41insertpackage 'experimental' 'amarok-null2' 'i386' '2.3.2-2+exp' 'Depends: amarok-common (= 2.3.2-2+exp), phonon-backend-null (= 1:1.0-1) | phonon-backend, libmtp8 (>= 0.3.1), libc6, amarok-utils (= 2.3.2-2+exp)'
42insertpackage 'experimental' 'amarok-xine' 'i386' '2.3.2-2+exp' 'Depends: amarok-common (= 2.3.2-2+exp), phonon-backend-xine (= 5:4.6.0+exp) | phonon-backend-null (= 5:4.20.0+exp), libmtp8 (>= 0.3.1), libc6, amarok-utils (= 2.3.2-2+exp)'
43insertpackage 'experimental' 'amarok-xine2' 'i386' '2.3.2-2+exp' 'Depends: amarok-common (= 2.3.2-2+exp), phonon-backend-xine2 (= 5:4.6.0+exp) | phonon-backend-null (= 5:4.20.0+exp), libmtp8 (>= 0.3.1), libc6, amarok-utils (= 2.3.2-2+exp)'
44insertpackage 'experimental' 'amarok-xine3' 'i386' '2.3.2-2+exp' 'Depends: amarok-common (= 2.3.2-2+exp), phonon-backend-xine3 (= 5:4.6.0+exp) | phonon-backend-null (= 5:4.20.0+exp), libmtp8 (>= 0.3.1), libc6, amarok-utils (= 2.3.2-2+exp)'
45insertpackage 'experimental' 'amarok-xine4' 'i386' '2.3.2-2+exp' 'Depends: amarok-common (= 2.3.2-2+exp), phonon-backend-xine4 (= 5:4.6.0+exp) | phonon-backend-null (= 5:4.20.0+exp), libmtp8 (>= 0.3.1), libc6, amarok-utils (= 2.3.2-2+exp)'
46insertpackage 'experimental' 'amarok-broken' 'i386' '2.3.2-2+exp' 'Depends: amarok-common (= 2.3.2-2+exp), phonon-backend-broken | phonon-backend-null (= 5:4.20.0+exp), libmtp8 (>= 0.3.1), libc6, amarok-utils (= 2.3.2-2+exp)'
47
48insertpackage 'experimental' 'amarok-recommends' 'i386' '2.3.2-2+exp' 'Depends: amarok-common (= 2.3.2-2+exp)
49Recommends: amarok-utils (= 2.3.2-2+exp), phonon-backend-xine | phonon-backend, libmtp8 (>= 0.3.1), libc6'
50insertpackage 'experimental' 'amarok-recommends2' 'i386' '2.3.2-2+exp' 'Depends: amarok-common (= 2.3.2-2+exp)
51Recommends: amarok-utils (= 2.30.2-2+exp), phonon-backend-xine | phonon-backend, libmtp8 (>= 0.3.1), libc6'
52
53insertpackage 'experimental' 'uninstallablepkg' 'all' '1.0' 'Depends: libmtp8 (>= 10:0.20.1), amarok-utils (= 2.3.2-2+exp)'
54
55setupaptarchive
56
57testfailureequal "Reading package lists...
58Building dependency tree...
59The following additional packages will be installed:
60 amarok-common (2.3.1-1+sid)
61 amarok-utils (2.3.1-1+sid)
62 libc6 (2.11.2-7+sid)
63 libmtp8 (0.3.1+sid)
64 phonon-backend-xine (4:4.6.0really4.4.2-1+sid)
65The following NEW packages will be installed:
66 amarok (2.3.1-1+sid)
67 amarok-common (2.3.1-1+sid)
68 amarok-utils (2.3.1-1+sid)
69 libc6 (2.11.2-7+sid)
70 libmtp8 (0.3.1+sid)
71 phonon-backend-xine (4:4.6.0really4.4.2-1+sid)
720 upgraded, 6 newly installed, 0 to remove and 0 not upgraded.
73After this operation, 258 kB of additional disk space will be used.
74E: Trivial Only specified but this is not a trivial operation." aptget install amarok --trivial-only -V
75
76testfailureequal "Reading package lists...
77Building dependency tree...
78The following additional packages will be installed:
79 amarok-common (2.3.2-2+exp)
80 amarok-utils (2.3.2-2+exp)
81 libc6 (2.11.2-7+sid)
82 libmtp8 (0.3.3+exp)
83 phonon-backend-xine (5:4.6.0+exp)
84The following NEW packages will be installed:
85 amarok (2.3.2-2+exp)
86 amarok-common (2.3.2-2+exp)
87 amarok-utils (2.3.2-2+exp)
88 libc6 (2.11.2-7+sid)
89 libmtp8 (0.3.3+exp)
90 phonon-backend-xine (5:4.6.0+exp)
910 upgraded, 6 newly installed, 0 to remove and 0 not upgraded.
92After this operation, 258 kB of additional disk space will be used.
93E: Trivial Only specified but this is not a trivial operation." aptget install amarok -t experimental --trivial-only -V
94
95testfailureequal "Reading package lists...
96Building dependency tree...
97Selected version '2.3.2-2+exp' (experimental [i386]) for 'amarok'
98Selected version '2.3.2-2+exp' (experimental [all]) for 'amarok-common' because of 'amarok'
99Selected version '2.3.2-2+exp' (experimental [i386]) for 'amarok-utils' because of 'amarok'
100The following additional packages will be installed:
101 amarok-common (2.3.2-2+exp)
102 amarok-utils (2.3.2-2+exp)
103 libc6 (2.11.2-7+sid)
104 libmtp8 (0.3.1+sid)
105 phonon-backend-xine (4:4.6.0really4.4.2-1+sid)
106The following NEW packages will be installed:
107 amarok (2.3.2-2+exp)
108 amarok-common (2.3.2-2+exp)
109 amarok-utils (2.3.2-2+exp)
110 libc6 (2.11.2-7+sid)
111 libmtp8 (0.3.1+sid)
112 phonon-backend-xine (4:4.6.0really4.4.2-1+sid)
1130 upgraded, 6 newly installed, 0 to remove and 0 not upgraded.
114After this operation, 258 kB of additional disk space will be used.
115E: Trivial Only specified but this is not a trivial operation." aptget install amarok/experimental --trivial-only -V
116
117testfailureequal "Reading package lists...
118Building dependency tree...
119Selected version '2.3.2-2+exp' (experimental [i386]) for 'amarok-null'
120Selected version '2.3.2-2+exp' (experimental [all]) for 'amarok-common' because of 'amarok-null'
121Selected version '2.3.2-2+exp' (experimental [i386]) for 'amarok-utils' because of 'amarok-null'
122The following additional packages will be installed:
123 amarok-common (2.3.2-2+exp)
124 amarok-utils (2.3.2-2+exp)
125 libc6 (2.11.2-7+sid)
126 libmtp8 (0.3.1+sid)
127 phonon-backend-null (4:4.20.0+sid)
128The following NEW packages will be installed:
129 amarok-common (2.3.2-2+exp)
130 amarok-null (2.3.2-2+exp)
131 amarok-utils (2.3.2-2+exp)
132 libc6 (2.11.2-7+sid)
133 libmtp8 (0.3.1+sid)
134 phonon-backend-null (4:4.20.0+sid)
1350 upgraded, 6 newly installed, 0 to remove and 0 not upgraded.
136After this operation, 258 kB of additional disk space will be used.
137E: Trivial Only specified but this is not a trivial operation." aptget install amarok-null/experimental --trivial-only -V
138
139# do not select the same version multiple times
140testfailureequal "Reading package lists...
141Building dependency tree...
142Selected version '2.3.2-2+exp' (experimental [i386]) for 'amarok'
143Selected version '2.3.2-2+exp' (experimental [all]) for 'amarok-common' because of 'amarok'
144Selected version '2.3.2-2+exp' (experimental [i386]) for 'amarok-utils' because of 'amarok'
145Selected version '2.3.2-2+exp' (experimental [i386]) for 'amarok-null'
146The following additional packages will be installed:
147 amarok-common (2.3.2-2+exp)
148 amarok-utils (2.3.2-2+exp)
149 libc6 (2.11.2-7+sid)
150 libmtp8 (0.3.1+sid)
151 phonon-backend-xine (4:4.6.0really4.4.2-1+sid)
152The following NEW packages will be installed:
153 amarok (2.3.2-2+exp)
154 amarok-common (2.3.2-2+exp)
155 amarok-null (2.3.2-2+exp)
156 amarok-utils (2.3.2-2+exp)
157 libc6 (2.11.2-7+sid)
158 libmtp8 (0.3.1+sid)
159 phonon-backend-xine (4:4.6.0really4.4.2-1+sid)
1600 upgraded, 7 newly installed, 0 to remove and 0 not upgraded.
161After this operation, 301 kB of additional disk space will be used.
162E: Trivial Only specified but this is not a trivial operation." aptget install amarok/experimental amarok-null/experimental --trivial-only -V
163
164# … but thighten the version if needed
165# in theory, the second line is wrong, but printing the right version is too much of a hassle
166# (we have to check if later in the Changed list is another change and if so use this version
167# instead of the current candidate) - and it wouldn't be (really) useful anyway…
168testfailureequal "Reading package lists...
169Building dependency tree...
170Selected version '2.3.2-2+exp' (experimental2 [i386]) for 'amarok-less'
171Selected version '5:4.6.0+exp' (experimental [i386]) for 'phonon-backend-xine' because of 'amarok-less'
172Selected version '2.3.2-2+exp' (experimental [i386]) for 'amarok-higher'
173Selected version '2.3.2-2+exp' (experimental [all]) for 'amarok-common' because of 'amarok-higher'
174Selected version '5:4.6.0+exp' (experimental [i386]) for 'phonon-backend-xine' because of 'amarok-higher'
175Selected version '2.3.2-2+exp' (experimental [i386]) for 'amarok-utils' because of 'amarok-higher'
176The following additional packages will be installed:
177 amarok-common (2.3.2-2+exp)
178 amarok-utils (2.3.2-2+exp)
179 libc6 (2.11.2-7+sid)
180 libmtp8 (0.3.1+sid)
181 phonon-backend-xine (5:4.6.0+exp)
182The following NEW packages will be installed:
183 amarok-common (2.3.2-2+exp)
184 amarok-higher (2.3.2-2+exp)
185 amarok-less (2.3.2-2+exp)
186 amarok-utils (2.3.2-2+exp)
187 libc6 (2.11.2-7+sid)
188 libmtp8 (0.3.1+sid)
189 phonon-backend-xine (5:4.6.0+exp)
1900 upgraded, 7 newly installed, 0 to remove and 0 not upgraded.
191After this operation, 301 kB of additional disk space will be used.
192E: Trivial Only specified but this is not a trivial operation." aptget install amarok-less/experimental2 amarok-higher/experimental --trivial-only -V
193
194# phonon-backend-null can't be used directly, but as it provides it is still fine…
195testfailureequal "Reading package lists...
196Building dependency tree...
197Selected version '2.3.2-2+exp' (experimental [i386]) for 'amarok-null2'
198Selected version '2.3.2-2+exp' (experimental [all]) for 'amarok-common' because of 'amarok-null2'
199Selected version '2.3.2-2+exp' (experimental [i386]) for 'amarok-utils' because of 'amarok-null2'
200The following additional packages will be installed:
201 amarok-common (2.3.2-2+exp)
202 amarok-utils (2.3.2-2+exp)
203 libc6 (2.11.2-7+sid)
204 libmtp8 (0.3.1+sid)
205 phonon-backend-null (4:4.20.0+sid)
206The following NEW packages will be installed:
207 amarok-common (2.3.2-2+exp)
208 amarok-null2 (2.3.2-2+exp)
209 amarok-utils (2.3.2-2+exp)
210 libc6 (2.11.2-7+sid)
211 libmtp8 (0.3.1+sid)
212 phonon-backend-null (4:4.20.0+sid)
2130 upgraded, 6 newly installed, 0 to remove and 0 not upgraded.
214After this operation, 258 kB of additional disk space will be used.
215E: Trivial Only specified but this is not a trivial operation." aptget install amarok-null2/experimental --trivial-only -V
216
217# if an or-group satisfier is already found, do not set others
218testfailureequal "Reading package lists...
219Building dependency tree...
220Selected version '2.3.2-2+exp' (experimental [i386]) for 'amarok-xine'
221Selected version '2.3.2-2+exp' (experimental [all]) for 'amarok-common' because of 'amarok-xine'
222Selected version '5:4.6.0+exp' (experimental [i386]) for 'phonon-backend-xine' because of 'amarok-xine'
223Selected version '2.3.2-2+exp' (experimental [i386]) for 'amarok-utils' because of 'amarok-xine'
224The following additional packages will be installed:
225 amarok-common (2.3.2-2+exp)
226 amarok-utils (2.3.2-2+exp)
227 libc6 (2.11.2-7+sid)
228 libmtp8 (0.3.1+sid)
229 phonon-backend-xine (5:4.6.0+exp)
230The following NEW packages will be installed:
231 amarok-common (2.3.2-2+exp)
232 amarok-utils (2.3.2-2+exp)
233 amarok-xine (2.3.2-2+exp)
234 libc6 (2.11.2-7+sid)
235 libmtp8 (0.3.1+sid)
236 phonon-backend-xine (5:4.6.0+exp)
2370 upgraded, 6 newly installed, 0 to remove and 0 not upgraded.
238After this operation, 258 kB of additional disk space will be used.
239E: Trivial Only specified but this is not a trivial operation." aptget install amarok-xine/experimental --trivial-only -V
240
241# … but proceed testing if the first doesn't work out
242testfailureequal "Reading package lists...
243Building dependency tree...
244Selected version '2.3.2-2+exp' (experimental [i386]) for 'amarok-xine2'
245Selected version '2.3.2-2+exp' (experimental [all]) for 'amarok-common' because of 'amarok-xine2'
246Selected version '5:4.20.0+exp' (experimental [i386]) for 'phonon-backend-null' because of 'amarok-xine2'
247Selected version '2.3.2-2+exp' (experimental [i386]) for 'amarok-utils' because of 'amarok-xine2'
248The following additional packages will be installed:
249 amarok-common (2.3.2-2+exp)
250 amarok-utils (2.3.2-2+exp)
251 libc6 (2.11.2-7+sid)
252 libmtp8 (0.3.1+sid)
253 phonon-backend-null (5:4.20.0+exp)
254The following NEW packages will be installed:
255 amarok-common (2.3.2-2+exp)
256 amarok-utils (2.3.2-2+exp)
257 amarok-xine2 (2.3.2-2+exp)
258 libc6 (2.11.2-7+sid)
259 libmtp8 (0.3.1+sid)
260 phonon-backend-null (5:4.20.0+exp)
2610 upgraded, 6 newly installed, 0 to remove and 0 not upgraded.
262After this operation, 258 kB of additional disk space will be used.
263E: Trivial Only specified but this is not a trivial operation." aptget install amarok-xine2/experimental --trivial-only -V
264
265# sometimes, the second level need to be corrected, too
266testfailureequal "Reading package lists...
267Building dependency tree...
268Selected version '2.3.2-2+exp' (experimental [i386]) for 'amarok-xine3'
269Selected version '2.3.2-2+exp' (experimental [all]) for 'amarok-common' because of 'amarok-xine3'
270Selected version '5:4.6.0+exp' (experimental [i386]) for 'phonon-backend-xine3' because of 'amarok-xine3'
271Selected version '2.0' (experimental [all]) for 'intermediatepkg' because of 'phonon-backend-xine3'
272Selected version '2.3.2-2+exp' (experimental [i386]) for 'amarok-utils' because of 'amarok-xine3'
273The following additional packages will be installed:
274 amarok-common (2.3.2-2+exp)
275 amarok-utils (2.3.2-2+exp)
276 intermediatepkg (2.0)
277 libc6 (2.11.2-7+sid)
278 libmtp8 (0.3.1+sid)
279 phonon-backend-xine3 (5:4.6.0+exp)
280The following NEW packages will be installed:
281 amarok-common (2.3.2-2+exp)
282 amarok-utils (2.3.2-2+exp)
283 amarok-xine3 (2.3.2-2+exp)
284 intermediatepkg (2.0)
285 libc6 (2.11.2-7+sid)
286 libmtp8 (0.3.1+sid)
287 phonon-backend-xine3 (5:4.6.0+exp)
2880 upgraded, 7 newly installed, 0 to remove and 0 not upgraded.
289After this operation, 301 kB of additional disk space will be used.
290E: Trivial Only specified but this is not a trivial operation." aptget install amarok-xine3/experimental --trivial-only -V
291
292# … but proceed testing if the first doesn't work out even in second deep
293testfailureequal "Reading package lists...
294Building dependency tree...
295Selected version '2.3.2-2+exp' (experimental [i386]) for 'amarok-xine4'
296Selected version '2.3.2-2+exp' (experimental [all]) for 'amarok-common' because of 'amarok-xine4'
297Selected version '5:4.20.0+exp' (experimental [i386]) for 'phonon-backend-null' because of 'amarok-xine4'
298Selected version '2.3.2-2+exp' (experimental [i386]) for 'amarok-utils' because of 'amarok-xine4'
299The following additional packages will be installed:
300 amarok-common (2.3.2-2+exp)
301 amarok-utils (2.3.2-2+exp)
302 libc6 (2.11.2-7+sid)
303 libmtp8 (0.3.1+sid)
304 phonon-backend-null (5:4.20.0+exp)
305The following NEW packages will be installed:
306 amarok-common (2.3.2-2+exp)
307 amarok-utils (2.3.2-2+exp)
308 amarok-xine4 (2.3.2-2+exp)
309 libc6 (2.11.2-7+sid)
310 libmtp8 (0.3.1+sid)
311 phonon-backend-null (5:4.20.0+exp)
3120 upgraded, 6 newly installed, 0 to remove and 0 not upgraded.
313After this operation, 258 kB of additional disk space will be used.
314E: Trivial Only specified but this is not a trivial operation." aptget install amarok-xine4/experimental --trivial-only -V
315
316# providers can be broken, too
317testfailureequal "Reading package lists...
318Building dependency tree...
319Selected version '2.3.2-2+exp' (experimental [i386]) for 'amarok-broken'
320Selected version '2.3.2-2+exp' (experimental [all]) for 'amarok-common' because of 'amarok-broken'
321Selected version '5:4.20.0+exp' (experimental [i386]) for 'phonon-backend-null' because of 'amarok-broken'
322Selected version '2.3.2-2+exp' (experimental [i386]) for 'amarok-utils' because of 'amarok-broken'
323The following additional packages will be installed:
324 amarok-common (2.3.2-2+exp)
325 amarok-utils (2.3.2-2+exp)
326 libc6 (2.11.2-7+sid)
327 libmtp8 (0.3.1+sid)
328 phonon-backend-null (5:4.20.0+exp)
329The following NEW packages will be installed:
330 amarok-broken (2.3.2-2+exp)
331 amarok-common (2.3.2-2+exp)
332 amarok-utils (2.3.2-2+exp)
333 libc6 (2.11.2-7+sid)
334 libmtp8 (0.3.1+sid)
335 phonon-backend-null (5:4.20.0+exp)
3360 upgraded, 6 newly installed, 0 to remove and 0 not upgraded.
337After this operation, 258 kB of additional disk space will be used.
338E: Trivial Only specified but this is not a trivial operation." aptget install amarok-broken/experimental --trivial-only -V
339
340# switch the candidate for recommends too if they should be installed
341testfailureequal "Reading package lists...
342Building dependency tree...
343Selected version '2.3.2-2+exp' (experimental [i386]) for 'amarok-recommends'
344Selected version '2.3.2-2+exp' (experimental [all]) for 'amarok-common' because of 'amarok-recommends'
345Selected version '2.3.2-2+exp' (experimental [i386]) for 'amarok-utils' because of 'amarok-recommends'
346The following additional packages will be installed:
347 amarok-common (2.3.2-2+exp)
348 amarok-utils (2.3.2-2+exp)
349 libc6 (2.11.2-7+sid)
350 libmtp8 (0.3.1+sid)
351 phonon-backend-xine (4:4.6.0really4.4.2-1+sid)
352The following NEW packages will be installed:
353 amarok-common (2.3.2-2+exp)
354 amarok-recommends (2.3.2-2+exp)
355 amarok-utils (2.3.2-2+exp)
356 libc6 (2.11.2-7+sid)
357 libmtp8 (0.3.1+sid)
358 phonon-backend-xine (4:4.6.0really4.4.2-1+sid)
3590 upgraded, 6 newly installed, 0 to remove and 0 not upgraded.
360After this operation, 258 kB of additional disk space will be used.
361E: Trivial Only specified but this is not a trivial operation." aptget install amarok-recommends/experimental --trivial-only -V -o APT::Install-Recommends=1
362
363# … or not if not
364testfailureequal "Reading package lists...
365Building dependency tree...
366Selected version '2.3.2-2+exp' (experimental [i386]) for 'amarok-recommends'
367Selected version '2.3.2-2+exp' (experimental [all]) for 'amarok-common' because of 'amarok-recommends'
368The following additional packages will be installed:
369 amarok-common (2.3.2-2+exp)
370Recommended packages:
371 amarok-utils (2.3.1-1+sid)
372 phonon-backend-xine (4:4.6.0really4.4.2-1+sid)
373 | phonon-backend
374 libmtp8 (0.3.1+sid)
375 libc6 (2.11.2-7+sid)
376The following NEW packages will be installed:
377 amarok-common (2.3.2-2+exp)
378 amarok-recommends (2.3.2-2+exp)
3790 upgraded, 2 newly installed, 0 to remove and 0 not upgraded.
380After this operation, 86.0 kB of additional disk space will be used.
381E: Trivial Only specified but this is not a trivial operation." aptget install amarok-recommends/experimental --trivial-only -V -o APT::Install-Recommends=0
382
383# but broken recommends are not the end of the world
384# FIXME: the version output for recommend packages is a bit strange… but what would be better?
385testfailureequal "Reading package lists...
386Building dependency tree...
387Selected version '2.3.2-2+exp' (experimental [i386]) for 'amarok-recommends2'
388Selected version '2.3.2-2+exp' (experimental [all]) for 'amarok-common' because of 'amarok-recommends2'
389The following additional packages will be installed:
390 amarok-common (2.3.2-2+exp)
391 libc6 (2.11.2-7+sid)
392 libmtp8 (0.3.1+sid)
393 phonon-backend-xine (4:4.6.0really4.4.2-1+sid)
394Recommended packages:
395 amarok-utils (2.3.1-1+sid)
396The following NEW packages will be installed:
397 amarok-common (2.3.2-2+exp)
398 amarok-recommends2 (2.3.2-2+exp)
399 libc6 (2.11.2-7+sid)
400 libmtp8 (0.3.1+sid)
401 phonon-backend-xine (4:4.6.0really4.4.2-1+sid)
4020 upgraded, 5 newly installed, 0 to remove and 0 not upgraded.
403After this operation, 215 kB of additional disk space will be used.
404E: Trivial Only specified but this is not a trivial operation." aptget install amarok-recommends2/experimental --trivial-only -V -o APT::Install-Recommends=1
405
406# if one depends doesn't work, we don't need to look deeper…
407testfailureequal "Reading package lists...
408Building dependency tree...
409Selected version '1.0' (experimental [all]) for 'uninstallablepkg'
410Some packages could not be installed. This may mean that you have
411requested an impossible situation or if you are using the unstable
412distribution that some required packages have not yet been created
413or been moved out of Incoming.
414The following information may help to resolve the situation:
415
416The following packages have unmet dependencies:
417 uninstallablepkg : Depends: libmtp8 (>= 10:0.20.1) but it is not going to be installed
418 Depends: amarok-utils (= 2.3.2-2+exp) but 2.3.1-1+sid is to be installed
419E: Unable to correct problems, you have held broken packages." aptget install uninstallablepkg/experimental --trivial-only -V