]> git.saurik.com Git - apt.git/blob - test/integration/test-conflicts-loop
add "apt full-upgrade" and tweak "apt upgrade"
[apt.git] / test / integration / test-conflicts-loop
1 #!/bin/sh
2 set -e
3
4 TESTDIR=$(readlink -f $(dirname $0))
5 . $TESTDIR/framework
6 setupenvironment
7 configarchitecture "i386"
8
9 insertinstalledpackage 'openjdk-6-jre' 'i386' '6b16-1.8-0ubuntu1'
10 insertpackage '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)'
11 insertinstalledpackage 'openjdk-6-jre-lib' 'i386' '6b16-1.8-0ubuntu1'
12 insertpackage '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)'
13 insertinstalledpackage 'openjdk-6-jre-headless' 'i386' '6b16-1.8-0ubuntu1'
14 insertpackage '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
16 setupaptarchive
17
18 testequal 'Reading package lists...
19 Building dependency tree...
20 The 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
25 3 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
26 Remv openjdk-6-jre [6b16-1.8-0ubuntu1]
27 openjdk-6-jre-headless:i386 conflicts with openjdk-6-jre-lib:i386
28 Remv openjdk-6-jre-lib [6b16-1.8-0ubuntu1]
29 Inst 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
32 Inst openjdk-6-jre [6b16-1.8-0ubuntu1] (6b20-1.9.8-0ubuntu1~10.04.1 unstable [i386])
33 Inst openjdk-6-jre-lib [6b16-1.8-0ubuntu1] (6b20-1.9.8-0ubuntu1~10.04.1 unstable [i386])
34 Conf openjdk-6-jre-lib (6b20-1.9.8-0ubuntu1~10.04.1 unstable [i386])
35 Conf openjdk-6-jre (6b20-1.9.8-0ubuntu1~10.04.1 unstable [i386])
36 Conf openjdk-6-jre-headless (6b20-1.9.8-0ubuntu1~10.04.1 unstable [i386])' aptget dist-upgrade -s -o APT::Immediate-Configure-All=true