4 TESTDIR
="$(readlink -f "$(dirname "$0")")"
8 configarchitecture 'amd64'
10 insertinstalledpackage 'gedit' 'amd64' '1'
12 insertpackage 'unstable' 'gedit' 'amd64' '1'
13 insertpackage 'experimental' 'gedit' 'amd64' '2' 'Depends: common (>= 2)'
17 testfailureequal "Reading package lists...
18 Building dependency tree...
19 Selected version
'2' (experimental
[amd64
]) for 'gedit'
20 Some packages could not be installed. This may mean that you have
21 requested an impossible situation or
if you are using the unstable
22 distribution that some required packages have not yet been created
23 or been moved out of Incoming.
24 The following information may
help to resolve the situation
:
26 The following packages have unmet dependencies
:
27 gedit
: Depends
: common
(>= 2) but it is not installable
28 E
: Unable to correct problems
, you have held broken packages.
" aptget install gedit/experimental -sq=0
30 insertinstalledpackage 'common' 'amd64' '2'
32 testsuccessequal "Reading package lists...
33 Building dependency tree...
34 Selected version
'2' (experimental
[amd64
]) for 'gedit'
35 The following packages will be upgraded
:
37 1 upgraded
, 0 newly installed
, 0 to remove and
0 not upgraded.
38 Inst gedit
[1] (2 experimental
[amd64
])
39 Conf gedit
(2 experimental
[amd64
])" aptget install gedit/experimental -sq=0