]>
git.saurik.com Git - apt.git/blob - test/integration/test-parse-all-archs-into-cache
4 TESTDIR
=$(readlink -f $(dirname $0))
7 configarchitecture
'i386'
9 insertpackage
'unstable' 'bar' 'i386' '1' 'Depends: foo'
10 insertpackage
'unstable' 'foo' 'i386' '1' 'Multi-Arch: foreign
12 insertpackage
'unstable' 'libfoo1' 'i386' '1' 'Multi-Arch: same'
13 insertpackage
'experimental' 'foo' 'i386' '2' 'Multi-Arch: foreign
14 Depends: libfoo1 (>= 2)'
15 insertpackage
'experimental' 'libfoo1' 'i386' '2' 'Multi-Arch: same'
17 # note: the system has amd64 not configured!
18 insertinstalledpackage
'foo' 'amd64' '1' 'Multi-Arch: foreign
23 testfailureequal
"Reading package lists...
24 Building dependency tree...
25 You might want to run 'apt-get -f install' to correct these.
26 The following packages have unmet dependencies:
27 foo:amd64 : Depends: libfoo1:amd64 but it is not installable
28 E: Unmet dependencies. Try using -f." aptget check
-s
30 insertinstalledpackage
'libfoo1' 'amd64' '1' 'Multi-Arch: same'
32 testsuccessequal
'Reading package lists...
33 Building dependency tree...' aptget check
-s
35 testsuccessequal
'Reading package lists...
36 Building dependency tree...
37 The following additional packages will be installed:
39 The following packages will be REMOVED:
41 The following NEW packages will be installed:
43 0 upgraded, 2 newly installed, 1 to remove and 0 not upgraded.
45 Inst libfoo1 (1 unstable [i386])
46 Inst foo (1 unstable [i386])
47 Conf libfoo1 (1 unstable [i386])
48 Conf foo (1 unstable [i386])' aptget
install foo
-s
50 testsuccessequal
'Reading package lists...
51 Building dependency tree...
52 The following additional packages will be installed:
54 The following packages will be REMOVED:
55 foo:amd64 libfoo1:amd64
56 The following NEW packages will be installed:
58 0 upgraded, 2 newly installed, 2 to remove and 0 not upgraded.
60 Remv libfoo1:amd64 [1]
61 Inst libfoo1 (2 experimental [i386])
62 Inst foo (2 experimental [i386])
63 Conf libfoo1 (2 experimental [i386])
64 Conf foo (2 experimental [i386])' aptget
install foo
/experimental
-s
66 testsuccessequal
'Reading package lists...
67 Building dependency tree...
68 The following additional packages will be installed:
70 The following packages will be REMOVED:
72 The following NEW packages will be installed:
74 0 upgraded, 3 newly installed, 1 to remove and 0 not upgraded.
76 Inst libfoo1 (1 unstable [i386])
77 Inst foo (1 unstable [i386])
78 Inst bar (1 unstable [i386])
79 Conf libfoo1 (1 unstable [i386])
80 Conf foo (1 unstable [i386])
81 Conf bar (1 unstable [i386])' aptget
install bar
-s
83 configarchitecture
'i386' 'amd64'
85 testsuccessequal
'Reading package lists...
86 Building dependency tree...
87 The following NEW packages will be installed:
89 0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
90 Inst bar (1 unstable [i386])
91 Conf bar (1 unstable [i386])' aptget
install bar
-s