4 TESTDIR
=$(readlink -f $(dirname $0))
7 configarchitecture
'amd64'
9 insertinstalledpackage
'pkgarch' 'amd64' '1'
10 insertinstalledpackage
'pkgall' 'all' '1'
12 insertpackage
'unstable' 'pkgarch' 'amd64' '2'
13 insertpackage
'unstable' 'pkgall' 'all' '2'
18 testempty aptmark showhold
20 testequal
'Reading package lists...
21 Building dependency tree...
22 The following packages will be upgraded:
24 2 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
25 After this operation, 0 B of additional disk space will be used.
26 E: Trivial Only specified but this is not a trivial operation.' aptget dist
-upgrade --trivial-only
28 testequal
'pkgarch set on hold.' aptmark hold pkgarch
29 testequal
'pkgarch' aptmark showhold
31 testequal
'Reading package lists...
32 Building dependency tree...
33 The following packages have been kept back:
35 The following packages will be upgraded:
37 1 upgraded, 0 newly installed, 0 to remove and 1 not upgraded.
38 After this operation, 0 B of additional disk space will be used.
39 E: Trivial Only specified but this is not a trivial operation.' aptget dist
-upgrade --trivial-only
41 testequal
'Canceled hold on pkgarch.' aptmark unhold pkgarch
42 testempty aptmark showhold
44 testequal
'Reading package lists...
45 Building dependency tree...
46 The following packages will be upgraded:
48 2 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
49 After this operation, 0 B of additional disk space will be used.
50 E: Trivial Only specified but this is not a trivial operation.' aptget dist
-upgrade --trivial-only
52 testequal
'pkgall set on hold.' aptmark hold pkgall
53 testequal
'pkgall' aptmark showhold
55 testequal
'Reading package lists...
56 Building dependency tree...
57 The following packages have been kept back:
59 The following packages will be upgraded:
61 1 upgraded, 0 newly installed, 0 to remove and 1 not upgraded.
62 After this operation, 0 B of additional disk space will be used.
63 E: Trivial Only specified but this is not a trivial operation.' aptget dist
-upgrade --trivial-only
65 testequal
'Canceled hold on pkgall.' aptmark unhold pkgall
66 testempty aptmark showhold
71 configarchitecture
'amd64' 'i386'