]>
Commit | Line | Data |
---|---|---|
42d51f33 DK |
1 | #!/bin/sh |
2 | set -e | |
3 | ||
4 | TESTDIR=$(readlink -f $(dirname $0)) | |
5 | . $TESTDIR/framework | |
6 | setupenvironment | |
7 | configarchitecture 'amd64' | |
8 | ||
9 | # the difference between version 3 and 4 is the new package 'ure' which | |
10 | # we have to unpack before we start configuring parts of the loop | |
11 | insertinstalledpackage 'libreoffice' 'amd64' '3' 'Depends: libreoffice-core (= 3)' | |
12 | insertinstalledpackage 'libreoffice-core' 'amd64' '3' 'Depends: libreoffice-common (>= 3)' | |
13 | insertinstalledpackage 'libreoffice-common' 'all' '3' 'Depends: libreoffice-style | |
14 | Breaks: libreoffice-core (>= 3+), libreoffice-core (<= 3~), libreoffice-style-galaxy (>= 3+), libreoffice-style-galaxy (<= 3~)' | |
15 | insertinstalledpackage 'libreoffice-style-galaxy' 'amd64' '3' 'Depends: libreoffice-core | |
16 | Provides: libreoffice-style' | |
17 | ||
a7250ed0 DK |
18 | insertpackage 'sid' 'libreoffice' 'amd64' '4' 'Depends: libreoffice-core (= 4)' |
19 | insertpackage 'sid' 'libreoffice-core' 'amd64' '4' 'Depends: libreoffice-common (>= 4) | |
42d51f33 | 20 | Breaks: libreoffice-common (<< 4), libreoffice-style-galaxy (<< 4)' |
a7250ed0 | 21 | insertpackage 'sid' 'libreoffice-common' 'all' '4' 'Depends: libreoffice-style, ure |
42d51f33 | 22 | Breaks: libreoffice-core (>= 4+), libreoffice-core (<= 4~), libreoffice-style-galaxy (>= 4+), libreoffice-style-galaxy (<= 4~)' |
a7250ed0 | 23 | insertpackage 'sid' 'libreoffice-style-galaxy' 'amd64' '4' 'Depends: libreoffice-core |
42d51f33 | 24 | Provides: libreoffice-style' |
a7250ed0 | 25 | insertpackage 'sid' 'ure' 'amd64' '4' |
42d51f33 DK |
26 | |
27 | setupaptarchive | |
28 | ||
a7250ed0 | 29 | testequalor2 'Reading package lists... |
42d51f33 | 30 | Building dependency tree... |
2a884c61 | 31 | Calculating upgrade... |
42d51f33 DK |
32 | The following NEW packages will be installed: |
33 | ure | |
34 | The following packages will be upgraded: | |
35 | libreoffice libreoffice-common libreoffice-core libreoffice-style-galaxy | |
36 | 4 upgraded, 1 newly installed, 0 to remove and 0 not upgraded. | |
37 | Inst libreoffice [3] (4 sid [amd64]) [] | |
38 | Inst libreoffice-style-galaxy [3] (4 sid [amd64]) [libreoffice-common:amd64 on libreoffice-style-galaxy:amd64] [libreoffice-common:amd64 ] | |
39 | Inst libreoffice-core [3] (4 sid [amd64]) [libreoffice-core:amd64 on libreoffice-common:amd64] [libreoffice-common:amd64 on libreoffice-core:amd64] [libreoffice-common:amd64 on libreoffice-style-galaxy:amd64] [libreoffice-common:amd64 ] | |
40 | Inst libreoffice-common [3] (4 sid [all]) [] | |
41 | Inst ure (4 sid [amd64]) | |
42 | Conf ure (4 sid [amd64]) | |
42d51f33 DK |
43 | Conf libreoffice-common (4 sid [all]) |
44 | Conf libreoffice-core (4 sid [amd64]) | |
0caa5a4c | 45 | Conf libreoffice-style-galaxy (4 sid [amd64]) |
a7250ed0 DK |
46 | Conf libreoffice (4 sid [amd64])' 'Reading package lists... |
47 | Building dependency tree... | |
48 | The following NEW packages will be installed: | |
49 | ure | |
50 | The following packages will be upgraded: | |
51 | libreoffice libreoffice-common libreoffice-core libreoffice-style-galaxy | |
52 | 4 upgraded, 1 newly installed, 0 to remove and 0 not upgraded. | |
53 | Inst libreoffice [3] (4 sid [amd64]) [] | |
54 | Inst libreoffice-style-galaxy [3] (4 sid [amd64]) [libreoffice-common:amd64 on libreoffice-style-galaxy:amd64] [libreoffice-common:amd64 ] | |
55 | Inst libreoffice-core [3] (4 sid [amd64]) [libreoffice-common:amd64 on libreoffice-core:amd64] [libreoffice-common:amd64 on libreoffice-style-galaxy:amd64] [libreoffice-core:amd64 on libreoffice-common:amd64] [libreoffice-common:amd64 ] | |
56 | Inst libreoffice-common [3] (4 sid [all]) [] | |
57 | Inst ure (4 sid [amd64]) | |
58 | Conf ure (4 sid [amd64]) | |
a7250ed0 DK |
59 | Conf libreoffice-common (4 sid [all]) |
60 | Conf libreoffice-core (4 sid [amd64]) | |
0caa5a4c | 61 | Conf libreoffice-style-galaxy (4 sid [amd64]) |
42d51f33 | 62 | Conf libreoffice (4 sid [amd64])' aptget dist-upgrade -s |