]> git.saurik.com Git - apt.git/blame - test/integration/test-ubuntu-bug-802901-multiarch-early-remove
ensure outdated files are dropped without lists-cleanup
[apt.git] / test / integration / test-ubuntu-bug-802901-multiarch-early-remove
CommitLineData
32d9baea
DK
1#!/bin/sh
2set -e
3
3abb6a6a
DK
4TESTDIR="$(readlink -f "$(dirname "$0")")"
5. "$TESTDIR/framework"
32d9baea
DK
6setupenvironment
7configarchitecture 'amd64' 'i386'
8
9insertinstalledpackage 'libgl1-mesa-glx' 'amd64' '2.0' 'Multi-Arch: same
10Provides: libgl1
11Conflicts: libgl1'
12insertpackage 'unstable' 'libgl1-mesa-glx' 'i386,amd64' '2.0' 'Multi-Arch: same
13Provides: libgl1
14Conflicts: libgl1'
15
16setupaptarchive
17
25b86db1 18testsuccessequal 'Reading package lists...
32d9baea
DK
19Building dependency tree...
20The following NEW packages will be installed:
21 libgl1-mesa-glx:i386
220 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
23Inst libgl1-mesa-glx:i386 (2.0 unstable [i386])
24Conf libgl1-mesa-glx:i386 (2.0 unstable [i386])' aptget install libgl1-mesa-glx:i386 -s