]> git.saurik.com Git - apt.git/blame_incremental - test/integration/test-conflicts-loop
merge patch from Daniel Hartwig to Show a error message if {,dist-}upgrade is used...
[apt.git] / test / integration / test-conflicts-loop
... / ...
CommitLineData
1#!/bin/sh
2set -e
3
4TESTDIR=$(readlink -f $(dirname $0))
5. $TESTDIR/framework
6setupenvironment
7configarchitecture "i386"
8
9insertinstalledpackage 'openjdk-6-jre' 'i386' '6b16-1.8-0ubuntu1'
10insertpackage 'unstable' 'openjdk-6-jre' 'i386' '6b20-1.9.8-0ubuntu1~10.04.1' 'Conflicts: openjdk-6-jre-headless (<< 6b17~pre3-1), openjdk-6-jre-lib (<< 6b17~pre3-1)'
11insertinstalledpackage 'openjdk-6-jre-lib' 'i386' '6b16-1.8-0ubuntu1'
12insertpackage 'unstable' 'openjdk-6-jre-lib' 'i386' '6b20-1.9.8-0ubuntu1~10.04.1' 'Conflicts: openjdk-6-jre (<< 6b17~pre3-1), openjdk-6-jre-headless (<< 6b17~pre3-1)'
13insertinstalledpackage 'openjdk-6-jre-headless' 'i386' '6b16-1.8-0ubuntu1'
14insertpackage 'unstable' 'openjdk-6-jre-headless' 'i386' '6b20-1.9.8-0ubuntu1~10.04.1' 'Conflicts: openjdk-6-jre (<< 6b17~pre3-1), openjdk-6-jre-lib (<< 6b17~pre3-1)'
15
16setupaptarchive
17
18testequal 'Reading package lists...
19Building dependency tree...
20The following packages will be upgraded:
21 openjdk-6-jre openjdk-6-jre-headless openjdk-6-jre-lib
22 openjdk-6-jre-lib:i386 conflicts with openjdk-6-jre:i386
23 openjdk-6-jre:i386 conflicts with openjdk-6-jre-headless:i386
24 openjdk-6-jre-headless:i386 conflicts with openjdk-6-jre:i386
253 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
26Remv openjdk-6-jre [6b16-1.8-0ubuntu1]
27 openjdk-6-jre-headless:i386 conflicts with openjdk-6-jre-lib:i386
28Remv openjdk-6-jre-lib [6b16-1.8-0ubuntu1]
29Inst openjdk-6-jre-headless [6b16-1.8-0ubuntu1] (6b20-1.9.8-0ubuntu1~10.04.1 unstable [i386])
30 openjdk-6-jre:i386 conflicts with openjdk-6-jre-lib:i386
31 openjdk-6-jre:i386 conflicts with openjdk-6-jre-lib:i386
32Inst openjdk-6-jre [6b16-1.8-0ubuntu1] (6b20-1.9.8-0ubuntu1~10.04.1 unstable [i386])
33Inst openjdk-6-jre-lib [6b16-1.8-0ubuntu1] (6b20-1.9.8-0ubuntu1~10.04.1 unstable [i386])
34Conf openjdk-6-jre-lib (6b20-1.9.8-0ubuntu1~10.04.1 unstable [i386])
35Conf openjdk-6-jre (6b20-1.9.8-0ubuntu1~10.04.1 unstable [i386])
36Conf openjdk-6-jre-headless (6b20-1.9.8-0ubuntu1~10.04.1 unstable [i386])' aptget dist-upgrade -s -o APT::Immediate-Configure-All=true