]> git.saurik.com Git - apt.git/blame_incremental - test/integration/test-bug-618848-always-respect-user-requests
Merge remote-tracking branch 'mvo/feature/upgrade-with-new' into debian/sid
[apt.git] / test / integration / test-bug-618848-always-respect-user-requests
... / ...
CommitLineData
1#!/bin/sh
2set -e
3
4TESTDIR=$(readlink -f $(dirname $0))
5. $TESTDIR/framework
6setupenvironment
7configarchitecture 'i386'
8
9insertinstalledpackage 'libdb4.8' 'all' '1.0'
10insertinstalledpackage 'exim4' 'all' '1.0' 'Depends: exim4-daemon-light | exim4-daemon-heavy'
11insertinstalledpackage 'exim4-daemon-light' 'all' '1.0' 'Depends: libdb4.8'
12insertpackage 'unstable' 'exim4-daemon-heavy' 'all' '1.0' 'Depends: libdb4.8'
13
14setupaptarchive
15
16testequal 'Reading package lists...
17Building dependency tree...
18 MarkDelete libdb4.8 [ i386 ] < 1.0 > ( other ) FU=1
19 MarkDelete exim4-daemon-light [ i386 ] < 1.0 > ( other ) FU=0
20 MarkInstall exim4-daemon-heavy [ i386 ] < none -> 1.0 > ( other ) FU=0
21 Ignore MarkInstall of libdb4.8 [ i386 ] < 1.0 > ( other ) as its mode (Delete) is protected
22 MarkDelete exim4-daemon-heavy [ i386 ] < none -> 1.0 > ( other ) FU=0
23 MarkDelete exim4 [ i386 ] < 1.0 > ( other ) FU=0
24The following packages will be REMOVED:
25 exim4 exim4-daemon-light libdb4.8
26 MarkDelete exim4 [ i386 ] < 1.0 > ( other ) FU=1
270 upgraded, 0 newly installed, 3 to remove and 0 not upgraded.
28Remv exim4 [1.0]
29 MarkDelete exim4-daemon-light [ i386 ] < 1.0 > ( other ) FU=1
30Remv exim4-daemon-light [1.0]
31 MarkDelete libdb4.8 [ i386 ] < 1.0 > ( other ) FU=1
32Remv libdb4.8 [1.0]' aptget remove libdb4.8 -s -o Debug::pkgDepCache::Marker=1