]>
git.saurik.com Git - apt.git/blob - test/integration/test-bug-612099-multiarch-conflicts
4 TESTDIR
=$(readlink -f $(dirname $0))
7 configarchitecture
"i386" "amd64"
9 buildsimplenativepackage
'peace-dpkg' 'all' '1.0' 'stable'
11 buildsimplenativepackage
'libc6' 'i386' '1.0' 'stable'
12 buildsimplenativepackage
'libc6' 'amd64' '1.0' 'stable'
13 buildsimplenativepackage
'libc6' 'all' '2.0' 'testing'
15 buildsimplenativepackage
'foobar' 'i386' '1.0' 'stable' 'Depends: libc6'
16 buildsimplenativepackage
'foobar' 'amd64' '1.0' 'stable' 'Depends: libc6'
20 aptget
install peace
-dpkg:i386
-y -qq 2>&1 > /dev
/null
21 testdpkginstalled peace
-dpkg
23 aptget
install libc6
:i386
-t stable
-y -qq 2>&1 > /dev
/null
24 testdpkginstalled libc6
25 testequal
'Reading package lists...
26 Building dependency tree...
27 Reading state information...
28 The following packages will be REMOVED:
30 The following NEW packages will be installed:
32 0 upgraded, 1 newly installed, 1 to remove and 0 not upgraded.
34 Inst libc6:amd64 (1.0 stable [amd64])
35 Conf libc6:amd64 (1.0 stable [amd64])' aptget
install libc6
:amd64
-s -t stable
37 testequal
'Reading package lists...
38 Building dependency tree...
39 Reading state information...
40 The following NEW packages will be installed:
42 0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
43 Inst foobar (1.0 stable [i386])
44 Conf foobar (1.0 stable [i386])' aptget
install foobar
-st stable
46 testequal
'Reading package lists...
47 Building dependency tree...
48 Reading state information...
49 The following extra packages will be installed:
51 The following packages will be REMOVED:
53 The following NEW packages will be installed:
54 foobar:amd64 libc6:amd64
55 0 upgraded, 2 newly installed, 1 to remove and 0 not upgraded.
57 Inst libc6:amd64 (1.0 stable [amd64])
58 Inst foobar:amd64 (1.0 stable [amd64])
59 Conf libc6:amd64 (1.0 stable [amd64])
60 Conf foobar:amd64 (1.0 stable [amd64])' aptget
install foobar
:amd64
-st stable
62 testequal
'Reading package lists...
63 Building dependency tree...
64 Reading state information...
65 The following NEW packages will be installed:
67 The following packages will be upgraded:
69 1 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
70 Inst libc6 [1.0] (2.0 testing [i386])
71 Inst foobar (1.0 stable [i386])
72 Conf libc6 (2.0 testing [i386])
73 Conf foobar (1.0 stable [i386])' aptget
install foobar
/stable libc6
-st testing
75 testequal
'Reading package lists...
76 Building dependency tree...
77 Reading state information...
78 The following packages will be upgraded:
80 1 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
81 Inst libc6 [1.0] (2.0 testing [i386])
82 Conf libc6 (2.0 testing [i386])' aptget upgrade
-t testing
-s
83 aptget upgrade
-y -qq 2>&1 > /dev
/null
84 testdpkginstalled libc6
86 testequal
'Reading package lists...
87 Building dependency tree...
88 Reading state information...
89 The following NEW packages will be installed:
91 0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
92 Inst foobar (1.0 stable [i386])
93 Conf foobar (1.0 stable [i386])' aptget
install foobar
/stable
-st testing
95 testequal
'Reading package lists...
96 Building dependency tree...
97 Reading state information...
98 The following extra packages will be installed:
100 The following packages will be REMOVED:
102 The following NEW packages will be installed:
103 foobar:amd64 libc6:amd64
104 0 upgraded, 2 newly installed, 1 to remove and 0 not upgraded.
106 Inst libc6:amd64 (1.0 stable [amd64])
107 Inst foobar:amd64 (1.0 stable [amd64])
108 Conf libc6:amd64 (1.0 stable [amd64])
109 Conf foobar:amd64 (1.0 stable [amd64])' aptget
install foobar
:amd
64/stable
-st testing
112 testequal
"Reading package lists...
113 Building dependency tree...
114 Reading state information...
115 Selected version '1.0' (stable [i386]) for 'libc6'
116 The following packages will be DOWNGRADED:
118 0 upgraded, 0 newly installed, 1 downgraded, 0 to remove and 0 not upgraded.
119 Inst libc6 [2.0] (1.0 stable [i386])
120 Conf libc6 (1.0 stable [i386])" aptget
install libc
6/stable
-s -q=0
123 buildsimplenativepackage
'libc6-same' 'i386' '1.0' 'stable' 'Multi-Arch: same'
124 buildsimplenativepackage
'libc6-same' 'amd64' '1.0' 'stable' 'Multi-Arch: same'
125 buildsimplenativepackage
'libc6-same' 'all' '2.0' 'testing'
127 buildsimplenativepackage
'foobar-same' 'i386' '1.0' 'stable' 'Depends: libc6-same'
128 buildsimplenativepackage
'foobar-same' 'amd64' '1.0' 'stable' 'Depends: libc6-same'
132 aptget
install libc6
-same:i386
-t stable
-y -qq 2>&1 > /dev
/null
133 testdpkginstalled libc6
-same
135 testequal
'Reading package lists...
136 Building dependency tree...
137 Reading state information...
138 The following NEW packages will be installed:
140 0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
141 Inst foobar-same (1.0 stable [i386])
142 Conf foobar-same (1.0 stable [i386])' aptget
install foobar
-same -st stable
144 testequal
'Reading package lists...
145 Building dependency tree...
146 Reading state information...
147 The following extra packages will be installed:
149 The following NEW packages will be installed:
150 foobar-same:amd64 libc6-same:amd64
151 0 upgraded, 2 newly installed, 0 to remove and 0 not upgraded.
152 Inst libc6-same:amd64 (1.0 stable [amd64])
153 Inst foobar-same:amd64 (1.0 stable [amd64])
154 Conf libc6-same:amd64 (1.0 stable [amd64])
155 Conf foobar-same:amd64 (1.0 stable [amd64])' aptget
install foobar
-same:amd64
-st stable
157 testequal
'Reading package lists...
158 Building dependency tree...
159 Reading state information...
160 The following NEW packages will be installed:
162 0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
163 Inst libc6-same:amd64 (1.0 stable [amd64])
164 Conf libc6-same:amd64 (1.0 stable [amd64])' aptget
install libc6
-same:amd64
-s -t stable
166 # FIXME: We should test installing libc6-same:amd64 here, but dpkg doesn't allow it currently
168 testequal
'Reading package lists...
169 Building dependency tree...
170 Reading state information...
171 The following packages will be upgraded:
173 1 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
174 Inst libc6-same [1.0] (2.0 testing [i386])
175 Conf libc6-same (2.0 testing [i386])' aptget upgrade
-t testing
-s
176 aptget upgrade
-y -qq 2>&1 > /dev
/null
177 testdpkginstalled libc6
-same
179 testequal
"Reading package lists...
180 Building dependency tree...
181 Reading state information...
182 Selected version '1.0' (stable [i386]) for 'libc6-same'
183 The following packages will be DOWNGRADED:
185 0 upgraded, 0 newly installed, 1 downgraded, 0 to remove and 0 not upgraded.
186 Inst libc6-same [2.0] (1.0 stable [i386])
187 Conf libc6-same (1.0 stable [i386])" aptget
install libc6
-same/stable
-s -q=0
189 testequal
'Reading package lists...
190 Building dependency tree...
191 Reading state information...
192 The following NEW packages will be installed:
194 0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
195 Inst foobar-same (1.0 stable [i386])
196 Conf foobar-same (1.0 stable [i386])' aptget
install foobar
-same/stable
-st testing
198 testequal
'Reading package lists...
199 Building dependency tree...
200 Reading state information...
201 The following extra packages will be installed:
203 The following packages will be REMOVED:
205 The following NEW packages will be installed:
206 foobar-same:amd64 libc6-same:amd64
207 0 upgraded, 2 newly installed, 1 to remove and 0 not upgraded.
208 Remv libc6-same [2.0]
209 Inst libc6-same:amd64 (1.0 stable [amd64])
210 Inst foobar-same:amd64 (1.0 stable [amd64])
211 Conf libc6-same:amd64 (1.0 stable [amd64])
212 Conf foobar-same:amd64 (1.0 stable [amd64])' aptget
install foobar
-same:amd
64/stable
-st testing