4 TESTDIR
="$(readlink -f "$(dirname "$0")")"
7 configarchitecture 'amd64'
9 insertpackage 'experimental' 'foo' 'all' '2.0' 'Depends: foo-dep (= 2.1)'
10 insertpackage 'experimental' 'foo-dep' 'all' '2.1'
16 Pin: release a=experimental
19 ) > rootdir/etc/apt/preferences
24 testsuccessequal "Reading package lists...
25 Building dependency tree...
26 Selected version
'2.0' (experimental
[all
]) for 'foo'
27 Selected version
'2.1' (experimental
[all
]) for 'foo-dep' because of
'foo'
28 The following additional packages will be installed
:
30 The following NEW packages will be installed
:
32 0 upgraded
, 2 newly installed
, 0 to remove and
0 not upgraded.
33 Inst foo
-dep (2.1 experimental
[all
])
34 Inst foo
(2.0 experimental
[all
])
35 Conf foo
-dep (2.1 experimental
[all
])
36 Conf foo
(2.0 experimental
[all
])" aptget install -q0 -s foo/experimental