]> git.saurik.com Git - apt.git/blame - test/integration/test-bug-745046-candidate-propagation-fails
Use _apt as our unprivileged user name
[apt.git] / test / integration / test-bug-745046-candidate-propagation-fails
CommitLineData
e41d3d7e
DK
1#!/bin/sh
2set -e
3
4TESTDIR=$(readlink -f $(dirname $0))
5. $TESTDIR/framework
6
7setupenvironment
8configarchitecture 'amd64'
9
10insertinstalledpackage 'gedit' 'amd64' '1'
11
12insertpackage 'unstable' 'gedit' 'amd64' '1'
13insertpackage 'experimental' 'gedit' 'amd64' '2' 'Depends: common (>= 2)'
14
15setupaptarchive
16
17testequal "Reading package lists...
18Building dependency tree...
19Selected version '2' (experimental [amd64]) for 'gedit'
20Some packages could not be installed. This may mean that you have
21requested an impossible situation or if you are using the unstable
22distribution that some required packages have not yet been created
23or been moved out of Incoming.
24The following information may help to resolve the situation:
25
26The following packages have unmet dependencies:
27 gedit : Depends: common (>= 2) but it is not installable
28E: Unable to correct problems, you have held broken packages." aptget install gedit/experimental -sq=0
29
30insertinstalledpackage 'common' 'amd64' '2'
31
32testequal "Reading package lists...
33Building dependency tree...
34Selected version '2' (experimental [amd64]) for 'gedit'
35The following packages will be upgraded:
36 gedit
371 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
38Inst gedit [1] (2 experimental [amd64])
39Conf gedit (2 experimental [amd64])" aptget install gedit/experimental -sq=0