]>
git.saurik.com Git - apt.git/blob - test/integration/test-conflicts-real-multiarch-same
4 TESTDIR
=$(readlink -f $(dirname $0))
7 configarchitecture
'amd64' 'i386'
9 insertpackage
'unstable' 'virtual-provider' 'amd64,i386' '2' 'Provides: virtual
12 insertpackage
'unstable' 'real' 'amd64,i386' '2' 'Conflicts: real
14 insertpackage
'unstable' 'real-provider' 'amd64,i386' '2' 'Provides: real-provider
15 Conflicts: real-provider
19 testsuccessequal
"Reading package lists...
20 Building dependency tree...
21 Note, selecting 'virtual-provider' instead of 'virtual'
22 Note, selecting 'virtual-provider:i386' instead of 'virtual:i386'
23 The following NEW packages will be installed:
24 virtual-provider virtual-provider:i386
25 0 upgraded, 2 newly installed, 0 to remove and 0 not upgraded.
26 Inst virtual-provider (2 unstable [amd64])
27 Inst virtual-provider:i386 (2 unstable [i386])
28 Conf virtual-provider (2 unstable [amd64])
29 Conf virtual-provider:i386 (2 unstable [i386])" aptget
install virtual
:* -s
31 testsuccessequal
'Reading package lists...
32 Building dependency tree...
33 The following NEW packages will be installed:
35 0 upgraded, 2 newly installed, 0 to remove and 0 not upgraded.
36 Inst real (2 unstable [amd64])
37 Inst real:i386 (2 unstable [i386])
38 Conf real (2 unstable [amd64])
39 Conf real:i386 (2 unstable [i386])' aptget
install real
:* -s
41 # ensure that we are not confused by the provides
42 testsuccessequal
'Reading package lists...
43 Building dependency tree...
44 The following NEW packages will be installed:
45 real-provider real-provider:i386
46 0 upgraded, 2 newly installed, 0 to remove and 0 not upgraded.
47 Inst real-provider (2 unstable [amd64])
48 Inst real-provider:i386 (2 unstable [i386])
49 Conf real-provider (2 unstable [amd64])
50 Conf real-provider:i386 (2 unstable [i386])' aptget
install real
-provider:* -s