]>
Commit | Line | Data |
---|---|---|
1 | #!/bin/sh | |
2 | set -e | |
3 | ||
4 | TESTDIR="$(readlink -f "$(dirname "$0")")" | |
5 | . "$TESTDIR/framework" | |
6 | setupenvironment | |
7 | configarchitecture 'i386' | |
8 | ||
9 | insertinstalledpackage 'libdb4.8' 'all' '1.0' | |
10 | insertinstalledpackage 'exim4' 'all' '1.0' 'Depends: exim4-daemon-light | exim4-daemon-heavy' | |
11 | insertinstalledpackage 'exim4-daemon-light' 'all' '1.0' 'Depends: libdb4.8' | |
12 | insertpackage 'unstable' 'exim4-daemon-heavy' 'all' '1.0' 'Depends: libdb4.8' | |
13 | ||
14 | setupaptarchive | |
15 | ||
16 | testsuccessequal 'Reading package lists... | |
17 | Building dependency tree... | |
18 | MarkDelete libdb4.8:i386 < 1.0 @ii pmK > FU=1 | |
19 | MarkDelete exim4-daemon-light:i386 < 1.0 @ii mK Ib > FU=0 | |
20 | MarkInstall exim4-daemon-heavy:i386 < none -> 1.0 @un uN Ib > FU=0 | |
21 | Ignore MarkInstall of libdb4.8:i386 < 1.0 @ii pmR > as its mode (Delete) is protected | |
22 | MarkDelete exim4-daemon-heavy:i386 < none -> 1.0 @un uN Ib > FU=0 | |
23 | MarkDelete exim4:i386 < 1.0 @ii mK Ib > FU=0 | |
24 | The following packages will be REMOVED: | |
25 | exim4 exim4-daemon-light libdb4.8 | |
26 | MarkDelete exim4:i386 < 1.0 @ii K > FU=1 | |
27 | 0 upgraded, 0 newly installed, 3 to remove and 0 not upgraded. | |
28 | Remv exim4 [1.0] | |
29 | MarkDelete exim4-daemon-light:i386 < 1.0 @ii K > FU=1 | |
30 | Remv exim4-daemon-light [1.0] | |
31 | MarkDelete libdb4.8:i386 < 1.0 @ii K > FU=1 | |
32 | Remv libdb4.8 [1.0]' aptget remove libdb4.8 -s -o Debug::pkgDepCache::Marker=1 |