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