]>
git.saurik.com Git - apt.git/blob - test/integration/test-apt-cli-upgrade
4 TESTDIR
=$(readlink -f $(dirname $0))
8 configarchitecture
"i386"
10 insertpackage
'unstable' 'foo' 'all' '2.0' 'Depends: foo-new-dependency'
11 insertpackage
'unstable' 'foo-new-dependency' 'all' '2.0'
12 insertinstalledpackage
'foo' 'all' '1.0'
16 APTARCHIVE
=$(readlink -f ./aptarchive)
18 # default is to allow new dependencies
19 testequal
"Calculating upgrade... Done
20 The following NEW packages will be installed:
22 The following packages will be upgraded:
24 1 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
25 Inst foo-new-dependency (2.0 unstable [all])
26 Inst foo [1.0] (2.0 unstable [all])
27 Conf foo-new-dependency (2.0 unstable [all])
28 Conf foo (2.0 unstable [all])" apt upgrade
-qq -s
31 testequal
"Calculating upgrade... Done
32 The following packages have been kept back:
34 0 upgraded, 0 newly installed, 0 to remove and 1 not upgraded." apt upgrade
-qq -s --no-new-pkgs