]>
Commit | Line | Data |
---|---|---|
a02f24e0 DK |
1 | #!/bin/sh |
2 | set -e | |
3 | ||
3abb6a6a DK |
4 | TESTDIR="$(readlink -f "$(dirname "$0")")" |
5 | . "$TESTDIR/framework" | |
a02f24e0 DK |
6 | setupenvironment |
7 | configarchitecture "i386" | |
8 | setupaptarchive | |
9 | ||
25b86db1 | 10 | testfailureequal 'Reading package lists... |
a02f24e0 DK |
11 | Building dependency tree... |
12 | The following packages will be REMOVED: | |
13 | findutils | |
14 | WARNING: The following essential packages will be removed. | |
15 | This should NOT be done unless you know exactly what you are doing! | |
16 | findutils | |
17 | 0 upgraded, 0 newly installed, 1 to remove and 0 not upgraded. | |
18 | After this operation, 1745 kB disk space will be freed. | |
19 | E: Trivial Only specified but this is not a trivial operation.' aptget remove findutils --trivial-only | |
20 | ||
25b86db1 | 21 | testfailureequal 'Reading package lists... |
a02f24e0 DK |
22 | Building dependency tree... |
23 | The following packages will be REMOVED: | |
24 | install-info | |
25 | 0 upgraded, 0 newly installed, 1 to remove and 0 not upgraded. | |
26 | After this operation, 262 kB disk space will be freed. | |
27 | E: Trivial Only specified but this is not a trivial operation.' aptget remove install-info --trivial-only | |
28 | ||
25b86db1 | 29 | testfailureequal 'Reading package lists... |
a02f24e0 DK |
30 | Building dependency tree... |
31 | The following packages will be REMOVED: | |
32 | essentialpkg findutils | |
33 | WARNING: The following essential packages will be removed. | |
34 | This should NOT be done unless you know exactly what you are doing! | |
35 | findutils essentialpkg (due to findutils) | |
36 | 0 upgraded, 0 newly installed, 2 to remove and 0 not upgraded. | |
37 | After this operation, 2007 kB disk space will be freed. | |
38 | E: Trivial Only specified but this is not a trivial operation.' aptget remove essentialpkg --trivial-only |