]>
git.saurik.com Git - apt.git/blob - test/integration/test-specific-architecture-dependencies
4 TESTDIR
=$(readlink -f $(dirname $0))
7 configarchitecture
'amd64' 'i386'
9 insertpackage
'unstable' 'libc6' 'amd64,i386' '1' 'Multi-Arch: same'
10 insertinstalledpackage
'libold' 'amd64,i386' '1' 'Multi-Arch: same'
11 insertinstalledpackage
'provider' 'amd64' '1' 'Provides: foo'
13 insertpackage
'unstable' 'pre-depender' 'all' '1' 'Pre-Depends: libc6:i386'
14 insertpackage
'unstable' 'depender' 'all' '1' 'Depends: libc6:i386'
16 insertpackage
'unstable' 'breaker' 'all' '1' 'Breaks: libold (<< 2)'
17 insertpackage
'unstable' 'breaker-x32' 'amd64' '1' 'Breaks: libold:i386 (<< 2)'
18 insertpackage
'unstable' 'breaker-x64' 'i386' '1' 'Breaks: libold:amd64 (<< 2)'
19 # conflicts with no effect
20 insertpackage
'unstable' 'oldconflictor' 'all' '1' 'Conflicts: libold (<< 0)'
21 insertpackage
'unstable' 'oldconflictor-x32' 'amd64' '1' 'Conflicts: libold:i386 (<< 0)'
22 insertpackage
'unstable' 'oldconflictor-x64' 'i386' '1' 'Conflicts: libold:amd64 (<< 0)'
24 insertpackage
'unstable' 'foo-depender' 'i386,amd64' '1' 'Depends: foo'
25 insertpackage
'unstable' 'foo-foreign-depender' 'i386' '1' 'Depends: foo:amd64'
27 insertpackage
'unstable' 'foo-conflictor' 'i386,amd64' '1' 'Conflicts: foo'
28 insertpackage
'unstable' 'foo-foreign-conflictor' 'i386' '1' 'Conflicts: foo:amd64'
29 insertpackage
'unstable' 'foo-no-conflictor' 'i386' '1' 'Conflicts: foo:i386'
33 testequal
'Reading package lists...
34 Building dependency tree...
35 The following extra packages will be installed:
37 The following NEW packages will be installed:
38 libc6:i386 pre-depender
39 0 upgraded, 2 newly installed, 0 to remove and 0 not upgraded.
40 Inst libc6:i386 (1 unstable [i386])
41 Conf libc6:i386 (1 unstable [i386])
42 Inst pre-depender (1 unstable [all])
43 Conf pre-depender (1 unstable [all])' aptget
install pre
-depender -s
45 testequal
'Reading package lists...
46 Building dependency tree...
47 The following extra packages will be installed:
49 The following NEW packages will be installed:
51 0 upgraded, 2 newly installed, 0 to remove and 0 not upgraded.
52 Inst libc6:i386 (1 unstable [i386])
53 Inst depender (1 unstable [all])
54 Conf libc6:i386 (1 unstable [i386])
55 Conf depender (1 unstable [all])' aptget
install depender
-s
57 testequal
'Reading package lists...
58 Building dependency tree...
59 The following packages will be REMOVED:
61 The following NEW packages will be installed:
63 0 upgraded, 1 newly installed, 2 to remove and 0 not upgraded.
66 Inst breaker (1 unstable [all])
67 Conf breaker (1 unstable [all])' aptget
install breaker
-s
69 testequal
'Reading package lists...
70 Building dependency tree...
71 The following packages will be REMOVED:
73 The following NEW packages will be installed:
75 0 upgraded, 1 newly installed, 1 to remove and 0 not upgraded.
77 Inst breaker-x32 (1 unstable [amd64])
78 Conf breaker-x32 (1 unstable [amd64])' aptget
install breaker
-x32 -s
80 testequal
'Reading package lists...
81 Building dependency tree...
82 The following packages will be REMOVED:
84 The following NEW packages will be installed:
86 0 upgraded, 1 newly installed, 1 to remove and 0 not upgraded.
88 Inst breaker-x64:i386 (1 unstable [i386])
89 Conf breaker-x64:i386 (1 unstable [i386])' aptget
install breaker
-x64 -s
91 testequal
'Reading package lists...
92 Building dependency tree...
93 The following NEW packages will be installed:
95 0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
96 Inst oldconflictor (1 unstable [all])
97 Conf oldconflictor (1 unstable [all])' aptget
install oldconflictor
-s
99 testequal
'Reading package lists...
100 Building dependency tree...
101 The following NEW packages will be installed:
103 0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
104 Inst oldconflictor-x32 (1 unstable [amd64])
105 Conf oldconflictor-x32 (1 unstable [amd64])' aptget
install oldconflictor
-x32 -s
107 testequal
'Reading package lists...
108 Building dependency tree...
109 The following NEW packages will be installed:
110 oldconflictor-x64:i386
111 0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
112 Inst oldconflictor-x64:i386 (1 unstable [i386])
113 Conf oldconflictor-x64:i386 (1 unstable [i386])' aptget
install oldconflictor
-x64 -s
115 testequal
'Reading package lists...
116 Building dependency tree...
117 The following NEW packages will be installed:
119 0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
120 Inst foo-depender (1 unstable [amd64])
121 Conf foo-depender (1 unstable [amd64])' aptget
install foo
-depender -s
123 testequal
'Reading package lists...
124 Building dependency tree...
125 Some packages could not be installed. This may mean that you have
126 requested an impossible situation or if you are using the unstable
127 distribution that some required packages have not yet been created
128 or been moved out of Incoming.
129 The following information may help to resolve the situation:
131 The following packages have unmet dependencies:
132 foo-depender:i386 : Depends: foo:i386 but it is not installable
133 E: Unable to correct problems, you have held broken packages.' aptget
install foo
-depender:i386
-s
135 testequal
'Reading package lists...
136 Building dependency tree...
137 The following NEW packages will be installed:
138 foo-foreign-depender:i386
139 0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
140 Inst foo-foreign-depender:i386 (1 unstable [i386])
141 Conf foo-foreign-depender:i386 (1 unstable [i386])' aptget
install foo
-foreign-depender:i386
-s
143 testequal
'Reading package lists...
144 Building dependency tree...
145 The following packages will be REMOVED:
147 The following NEW packages will be installed:
149 0 upgraded, 1 newly installed, 1 to remove and 0 not upgraded.
151 Inst foo-conflictor (1 unstable [amd64])
152 Conf foo-conflictor (1 unstable [amd64])' aptget
install foo
-conflictor -s
154 testequal
'Reading package lists...
155 Building dependency tree...
156 The following packages will be REMOVED:
158 The following NEW packages will be installed:
160 0 upgraded, 1 newly installed, 1 to remove and 0 not upgraded.
162 Inst foo-conflictor:i386 (1 unstable [i386])
163 Conf foo-conflictor:i386 (1 unstable [i386])' aptget
install foo
-conflictor:i386
-s
165 testequal
'Reading package lists...
166 Building dependency tree...
167 The following packages will be REMOVED:
169 The following NEW packages will be installed:
170 foo-foreign-conflictor:i386
171 0 upgraded, 1 newly installed, 1 to remove and 0 not upgraded.
173 Inst foo-foreign-conflictor:i386 (1 unstable [i386])
174 Conf foo-foreign-conflictor:i386 (1 unstable [i386])' aptget
install foo
-foreign-conflictor:i386
-s
176 testequal
'Reading package lists...
177 Building dependency tree...
178 The following NEW packages will be installed:
179 foo-no-conflictor:i386
180 0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
181 Inst foo-no-conflictor:i386 (1 unstable [i386])
182 Conf foo-no-conflictor:i386 (1 unstable [i386])' aptget
install foo
-no-conflictor:i386
-s