]> git.saurik.com Git - apt.git/blame - test/integration/test-ubuntu-bug-835625-multiarch-lockstep-installed-first
test/integration/test-essential-force-loopbreak: fix on non-amd64 systems
[apt.git] / test / integration / test-ubuntu-bug-835625-multiarch-lockstep-installed-first
CommitLineData
30426f48
DK
1#!/bin/sh
2set -e
3
4TESTDIR=$(readlink -f $(dirname $0))
5. $TESTDIR/framework
6setupenvironment
7configarchitecture 'amd64' 'i386'
8
9insertinstalledpackage 'libsame' 'i386' '1'
10insertinstalledpackage 'apt' 'i386' '1' 'Depends: libsame (= 1)'
11
12insertpackage 'unstable' 'libsame' 'i386,amd64' '2' 'Multi-Arch: same'
13insertpackage 'unstable' 'apt' 'i386' '2' 'Depends: libsame (= 2)'
14
15setupaptarchive
16
04d24dbd 17testequalor2 'Reading package lists...
30426f48
DK
18Building dependency tree...
19The following extra packages will be installed:
20 apt:i386 libsame:i386
21The following NEW packages will be installed:
22 libsame
23The following packages will be upgraded:
24 apt:i386 libsame:i386
252 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
26Inst libsame:i386 [1] (2 unstable [i386]) [apt:i386 ]
27Inst libsame (2 unstable [amd64]) [apt:i386 ]
28Conf libsame:i386 (2 unstable [i386]) [apt:i386 ]
29Conf libsame (2 unstable [amd64]) [apt:i386 ]
30Inst apt:i386 [1] (2 unstable [i386])
04d24dbd
DK
31Conf apt:i386 (2 unstable [i386])' 'Reading package lists...
32Building dependency tree...
33The following extra packages will be installed:
34 apt:i386 libsame:i386
35The following NEW packages will be installed:
36 libsame
37The following packages will be upgraded:
38 apt:i386 libsame:i386
392 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
40Inst apt:i386 [1] (2 unstable [i386]) []
41Inst libsame:i386 [1] (2 unstable [i386])
42Inst libsame (2 unstable [amd64])
43Conf libsame:i386 (2 unstable [i386])
44Conf libsame (2 unstable [amd64])
30426f48 45Conf apt:i386 (2 unstable [i386])' aptget install libsame:amd64 -s