]> git.saurik.com Git - apt.git/blame - test/integration/test-conflicts-loop
hide Translation-* in 'apt-cache policy' output
[apt.git] / test / integration / test-conflicts-loop
CommitLineData
aaf991a8
CB
1#!/bin/sh
2set -e
3
4TESTDIR=$(readlink -f $(dirname $0))
5. $TESTDIR/framework
6setupenvironment
7configarchitecture "i386"
8
2252183c 9insertinstalledpackage 'openjdk-6-jre' 'i386' '6b16-1.8-0ubuntu1'
aaf991a8 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)'
2252183c 11insertinstalledpackage 'openjdk-6-jre-lib' 'i386' '6b16-1.8-0ubuntu1'
aaf991a8 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)'
2252183c 13insertinstalledpackage 'openjdk-6-jre-headless' 'i386' '6b16-1.8-0ubuntu1'
aaf991a8
CB
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
25b86db1 18testsuccessequal 'Reading package lists...
28f7a8f2 19Building dependency tree...
2a884c61 20Calculating upgrade...
28f7a8f2
DK
21The following packages will be upgraded:
22 openjdk-6-jre openjdk-6-jre-headless openjdk-6-jre-lib
9a3798e6 233 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
0eb4af9d 24Remv openjdk-6-jre-headless [6b16-1.8-0ubuntu1]
28f7a8f2 25Remv openjdk-6-jre-lib [6b16-1.8-0ubuntu1]
28f7a8f2
DK
26Inst openjdk-6-jre [6b16-1.8-0ubuntu1] (6b20-1.9.8-0ubuntu1~10.04.1 unstable [i386])
27Inst openjdk-6-jre-lib [6b16-1.8-0ubuntu1] (6b20-1.9.8-0ubuntu1~10.04.1 unstable [i386])
28Conf openjdk-6-jre-lib (6b20-1.9.8-0ubuntu1~10.04.1 unstable [i386])
29Conf openjdk-6-jre (6b20-1.9.8-0ubuntu1~10.04.1 unstable [i386])
0eb4af9d 30Inst openjdk-6-jre-headless [6b16-1.8-0ubuntu1] (6b20-1.9.8-0ubuntu1~10.04.1 unstable [i386])
28f7a8f2 31Conf openjdk-6-jre-headless (6b20-1.9.8-0ubuntu1~10.04.1 unstable [i386])' aptget dist-upgrade -s -o APT::Immediate-Configure-All=true
0eb4af9d 32
1df24acf 33testsuccess aptget dist-upgrade -s