summaryrefslogtreecommitdiff
path: root/test/integration/test-bug-601961-install-info
blob: 10944384a03e9da8a591c2193d1118c7fad392f6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
#!/bin/sh
set -e

TESTDIR="$(readlink -f "$(dirname "$0")")"
. "$TESTDIR/framework"
setupenvironment
configarchitecture "i386"
setupaptarchive

testfailureequal 'Reading package lists...
Building dependency tree...
The following packages will be REMOVED:
  findutils
WARNING: The following essential packages will be removed.
This should NOT be done unless you know exactly what you are doing!
  findutils
0 upgraded, 0 newly installed, 1 to remove and 0 not upgraded.
After this operation, 1745 kB disk space will be freed.
E: Trivial Only specified but this is not a trivial operation.' aptget remove findutils --trivial-only

testfailureequal 'Reading package lists...
Building dependency tree...
The following packages will be REMOVED:
  install-info
0 upgraded, 0 newly installed, 1 to remove and 0 not upgraded.
After this operation, 262 kB disk space will be freed.
E: Trivial Only specified but this is not a trivial operation.' aptget remove install-info --trivial-only

testfailureequal 'Reading package lists...
Building dependency tree...
The following packages will be REMOVED:
  essentialpkg findutils
WARNING: The following essential packages will be removed.
This should NOT be done unless you know exactly what you are doing!
  findutils essentialpkg (due to findutils)
0 upgraded, 0 newly installed, 2 to remove and 0 not upgraded.
After this operation, 2007 kB disk space will be freed.
E: Trivial Only specified but this is not a trivial operation.' aptget remove essentialpkg --trivial-only