]> git.saurik.com Git - apt.git/blob - test/integration/test-bug-549968-install-depends-of-not-installed
releasing package apt version 1.1~exp1
[apt.git] / test / integration / test-bug-549968-install-depends-of-not-installed
1 #!/bin/sh
2 set -e
3
4 TESTDIR=$(readlink -f $(dirname $0))
5 . $TESTDIR/framework
6 setupenvironment
7 configarchitecture "i386"
8
9 insertpackage 'unstable' 'libc6' 'all' '1.0'
10 insertpackage 'unstable' 'coolstuff' 'all' '1.0' 'Recommends: extracoolstuff'
11 insertpackage 'unstable' 'extracoolstuff' 'all' '1.0' 'Depends: libc6'
12
13 setupaptarchive
14
15 # We check the Markers here as the autoremove nuker will also
16 # prevent it, but to late - its better to fail earlier
17 testequal "Reading package lists...
18 Building dependency tree...
19 MarkInstall coolstuff [ i386 ] < none -> 1.0 > ( other ) FU=1
20 Ignore MarkInstall of extracoolstuff [ i386 ] < none -> 1.0 > ( other ) as its mode (Keep) is protected
21 Package 'extracoolstuff' is not installed, so not removed
22 The following NEW packages will be installed:
23 coolstuff
24 0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
25 Inst coolstuff (1.0 unstable [all])
26 Conf coolstuff (1.0 unstable [all])" aptget install coolstuff extracoolstuff- -o Debug::pkgDepCache::Marker=1 -s