]> git.saurik.com Git - apt.git/blame_incremental - test/integration/test-ubuntu-bug-802901-multiarch-early-remove
treat .ddeb files like .deb, especially for dpkg
[apt.git] / test / integration / test-ubuntu-bug-802901-multiarch-early-remove
... / ...
CommitLineData
1#!/bin/sh
2set -e
3
4TESTDIR="$(readlink -f "$(dirname "$0")")"
5. "$TESTDIR/framework"
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
18testsuccessequal 'Reading package lists...
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