]> git.saurik.com Git - apt.git/blame - test/integration/test-bug-549968-install-depends-of-not-installed
eipp: make no difference between remove & purge
[apt.git] / test / integration / test-bug-549968-install-depends-of-not-installed
CommitLineData
bea41712
DK
1#!/bin/sh
2set -e
3
3abb6a6a
DK
4TESTDIR="$(readlink -f "$(dirname "$0")")"
5. "$TESTDIR/framework"
bea41712
DK
6setupenvironment
7configarchitecture "i386"
8
9insertpackage 'unstable' 'libc6' 'all' '1.0'
10insertpackage 'unstable' 'coolstuff' 'all' '1.0' 'Recommends: extracoolstuff'
11insertpackage 'unstable' 'extracoolstuff' 'all' '1.0' 'Depends: libc6'
12
13setupaptarchive
14
15# We check the Markers here as the autoremove nuker will also
16# prevent it, but to late - its better to fail earlier
25b86db1 17testsuccessequal "Reading package lists...
bea41712 18Building dependency tree...
d622baee
DK
19 MarkInstall coolstuff:i386 < none -> 1.0 @un puN IPb > FU=1
20 Ignore MarkInstall of extracoolstuff:i386 < none | 1.0 @hn puH > as its mode (Keep) is protected
c2ef3ce3 21Package 'extracoolstuff' is not installed, so not removed
9112f777
DK
22Recommended packages:
23 extracoolstuff
bea41712
DK
24The following NEW packages will be installed:
25 coolstuff
260 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
ca238ede 27Inst coolstuff (1.0 unstable [all])
c2ef3ce3 28Conf coolstuff (1.0 unstable [all])" aptget install coolstuff extracoolstuff- -o Debug::pkgDepCache::Marker=1 -s