]> git.saurik.com Git - apt.git/blame_incremental - test/integration/test-bug-64141-install-dependencies-for-on-hold
merged from donkult
[apt.git] / test / integration / test-bug-64141-install-dependencies-for-on-hold
... / ...
CommitLineData
1#!/bin/sh
2set -e
3
4TESTDIR=$(readlink -f $(dirname $0))
5. $TESTDIR/framework
6setupenvironment
7configarchitecture "i386"
8setupaptarchive
9
10testequal 'Reading package lists...
11Building dependency tree...
12The following packages will be REMOVED:
13 oldcrap
14The following NEW packages will be installed:
15 libdb4.8
16The following packages will be upgraded:
17 apt libc6
182 upgraded, 1 newly installed, 1 to remove and 0 not upgraded.
19Need to get 0 B/6724 kB of archives.
20After this operation, 1523 kB of additional disk space will be used.
21E: Trivial Only specified but this is not a trivial operation.' aptget dist-upgrade --trivial-only
22
23echo 'apt hold' | dpkg --set-selections
24
25testequal 'Reading package lists...
26Building dependency tree...
27The following packages have been kept back:
28 apt
29The following packages will be upgraded:
30 libc6
311 upgraded, 0 newly installed, 0 to remove and 1 not upgraded.
32Need to get 0 B/3881 kB of archives.
33After this operation, 0 B of additional disk space will be used.
34E: Trivial Only specified but this is not a trivial operation.' aptget dist-upgrade --trivial-only -o Test='hold-back-apt'