]>
git.saurik.com Git - apt.git/blob - test/integration/test-bug-680041-apt-mark-holds-correctly
49bb21bc180629666dc334c7cccff46aea3b3315
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 testfailureequal 'Reading package lists...
21 Building dependency tree...
22 Calculating upgrade...
23 The following packages will be upgraded:
25 2 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
26 After this operation, 0 B of additional disk space will be used.
27 E: Trivial Only specified but this is not a trivial operation.' aptget dist-upgrade --trivial-only
29 testsuccessequal 'pkgarch set on hold.' aptmark hold pkgarch
30 testsuccessequal 'pkgarch' aptmark showhold
32 testfailureequal 'Reading package lists...
33 Building dependency tree...
34 Calculating upgrade...
35 The following packages have been kept back:
37 The following packages will be upgraded:
39 1 upgraded, 0 newly installed, 0 to remove and 1 not upgraded.
40 After this operation, 0 B of additional disk space will be used.
41 E: Trivial Only specified but this is not a trivial operation.' aptget dist-upgrade --trivial-only
43 testsuccessequal 'Canceled hold on pkgarch.' aptmark unhold pkgarch
44 testempty aptmark showhold
46 testfailureequal 'Reading package lists...
47 Building dependency tree...
48 Calculating upgrade...
49 The following packages will be upgraded:
51 2 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
52 After this operation, 0 B of additional disk space will be used.
53 E: Trivial Only specified but this is not a trivial operation.' aptget dist-upgrade --trivial-only
55 testsuccessequal 'pkgall set on hold.' aptmark hold pkgall
56 testsuccessequal 'pkgall' aptmark showhold
58 testfailureequal 'Reading package lists...
59 Building dependency tree...
60 Calculating upgrade...
61 The following packages have been kept back:
63 The following packages will be upgraded:
65 1 upgraded, 0 newly installed, 0 to remove and 1 not upgraded.
66 After this operation, 0 B of additional disk space will be used.
67 E: Trivial Only specified but this is not a trivial operation.' aptget dist-upgrade --trivial-only
69 testsuccessequal 'Canceled hold on pkgall.' aptmark unhold pkgall
70 testempty aptmark showhold
75 configarchitecture 'amd64' 'i386'