]> git.saurik.com Git - apt.git/blob - test/integration/test-bug-multiarch-upgrade
disable updating insecure repositories in apt by default
[apt.git] / test / integration / test-bug-multiarch-upgrade
1 #!/bin/sh
2 set -e
3
4 TESTDIR=$(readlink -f $(dirname $0))
5 . $TESTDIR/framework
6 setupenvironment
7 configarchitecture 'amd64' 'i386'
8
9 insertinstalledpackage 'libcups2' 'amd64' '1' 'Multi-Arch: same'
10 insertinstalledpackage 'libcups2' 'i386' '1' 'Multi-Arch: same'
11
12 insertpackage 'unstable' 'libcups2' 'amd64' '0' 'Multi-Arch: same'
13 insertpackage 'unstable' 'libcups2' 'amd64' '2' 'Multi-Arch: same'
14 insertpackage 'unstable' 'libcups2' 'i386' '0' 'Multi-Arch: same'
15 insertpackage 'unstable' 'libcups2' 'i386' '2' 'Multi-Arch: same'
16
17 setupaptarchive
18
19 testsuccessequal 'Reading package lists...
20 Building dependency tree...
21 The following additional packages will be installed:
22 libcups2
23 The following packages will be upgraded:
24 libcups2 libcups2:i386
25 2 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
26 Inst libcups2 [1] (2 unstable [amd64]) [libcups2:amd64 on libcups2:i386] [libcups2:i386 on libcups2:amd64] [libcups2:i386 ]
27 Inst libcups2:i386 [1] (2 unstable [i386])
28 Conf libcups2:i386 (2 unstable [i386])
29 Conf libcups2 (2 unstable [amd64])' aptget install -s libcups2:i386