]>
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
'libc6' 'i386' '1.0' 'stable'
10 buildsimplenativepackage
'libc6' 'amd64' '1.0' 'stable'
11 buildsimplenativepackage
'libc6' 'all' '2.0' 'testing'
13 buildsimplenativepackage
'foobar' 'i386' '1.0' 'stable' 'Depends: libc6'
14 buildsimplenativepackage
'foobar' 'amd64' '1.0' 'stable' 'Depends: libc6'
18 aptget
install libc6
:i386
-t stable
-y -qq 2>&1 > /dev
/null
19 testdpkginstalled libc6
20 testequal
'Reading package lists...
21 Building dependency tree...
22 Reading state information...
23 The following packages will be REMOVED:
25 The following NEW packages will be installed:
27 0 upgraded, 1 newly installed, 1 to remove and 0 not upgraded.
29 Inst libc6:amd64 (1.0 stable [amd64])
30 Conf libc6:amd64 (1.0 stable [amd64])' aptget
install libc6
:amd64
-s -t stable
32 testequal
'Reading package lists...
33 Building dependency tree...
34 Reading state information...
35 The following NEW packages will be installed:
37 0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
38 Inst foobar (1.0 stable [i386])
39 Conf foobar (1.0 stable [i386])' aptget
install foobar
-st stable
41 testequal
'Reading package lists...
42 Building dependency tree...
43 Reading state information...
44 The following extra packages will be installed:
46 The following packages will be REMOVED:
48 The following NEW packages will be installed:
49 foobar:amd64 libc6:amd64
50 0 upgraded, 2 newly installed, 1 to remove and 0 not upgraded.
52 Inst libc6:amd64 (1.0 stable [amd64])
53 Inst foobar:amd64 (1.0 stable [amd64])
54 Conf libc6:amd64 (1.0 stable [amd64])
55 Conf foobar:amd64 (1.0 stable [amd64])' aptget
install foobar
:amd64
-st stable
57 testequal
'Reading package lists...
58 Building dependency tree...
59 Reading state information...
60 The following NEW packages will be installed:
62 The following packages will be upgraded:
64 1 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
65 Inst libc6 [1.0] (2.0 testing [all])
66 Inst foobar (1.0 stable [i386])
67 Conf libc6 (2.0 testing [all])
68 Conf foobar (1.0 stable [i386])' aptget
install foobar
/stable libc6
-st testing
70 testequal
'Reading package lists...
71 Building dependency tree...
72 Reading state information...
73 The following packages will be upgraded:
75 1 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
76 Inst libc6 [1.0] (2.0 testing [all])
77 Conf libc6 (2.0 testing [all])' aptget upgrade
-t testing
-s
78 aptget upgrade
-y -qq 2>&1 > /dev
/null
79 testdpkginstalled libc6
81 testequal
'Reading package lists...
82 Building dependency tree...
83 Reading state information...
84 The following NEW packages will be installed:
86 0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
87 Inst foobar (1.0 stable [i386])
88 Conf foobar (1.0 stable [i386])' aptget
install foobar
/stable
-st testing
90 testequal
'Reading package lists...
91 Building dependency tree...
92 Reading state information...
93 The following extra packages will be installed:
95 The following packages will be REMOVED:
97 The following NEW packages will be installed:
98 foobar:amd64 libc6:amd64
99 0 upgraded, 2 newly installed, 1 to remove and 0 not upgraded.
101 Inst libc6:amd64 (1.0 stable [amd64])
102 Inst foobar:amd64 (1.0 stable [amd64])
103 Conf libc6:amd64 (1.0 stable [amd64])
104 Conf foobar:amd64 (1.0 stable [amd64])' aptget
install foobar
:amd
64/stable
-st testing
107 testequal
"Reading package lists...
108 Building dependency tree...
109 Reading state information...
110 Selected version '1.0' (stable [i386]) for 'libc6'
111 The following packages will be DOWNGRADED:
113 0 upgraded, 0 newly installed, 1 downgraded, 0 to remove and 0 not upgraded.
114 Inst libc6 [2.0] (1.0 stable [i386])
115 Conf libc6 (1.0 stable [i386])" aptget
install libc
6/stable
-s -q=0
118 buildsimplenativepackage
'libc6-same' 'i386' '1.0' 'stable' 'Multi-Arch: same'
119 buildsimplenativepackage
'libc6-same' 'amd64' '1.0' 'stable' 'Multi-Arch: same'
120 buildsimplenativepackage
'libc6-same' 'all' '2.0' 'testing'
122 buildsimplenativepackage
'foobar-same' 'i386' '1.0' 'stable' 'Depends: libc6-same'
123 buildsimplenativepackage
'foobar-same' 'amd64' '1.0' 'stable' 'Depends: libc6-same'
127 aptget
install libc6
-same:i386
-t stable
-y -qq 2>&1 > /dev
/null
128 testdpkginstalled libc6
-same
130 testequal
'Reading package lists...
131 Building dependency tree...
132 Reading state information...
133 The following NEW packages will be installed:
135 0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
136 Inst foobar-same (1.0 stable [i386])
137 Conf foobar-same (1.0 stable [i386])' aptget
install foobar
-same -st stable
139 testequal
'Reading package lists...
140 Building dependency tree...
141 Reading state information...
142 The following extra packages will be installed:
144 The following NEW packages will be installed:
145 foobar-same:amd64 libc6-same:amd64
146 0 upgraded, 2 newly installed, 0 to remove and 0 not upgraded.
147 Inst libc6-same:amd64 (1.0 stable [amd64])
148 Inst foobar-same:amd64 (1.0 stable [amd64])
149 Conf libc6-same:amd64 (1.0 stable [amd64])
150 Conf foobar-same:amd64 (1.0 stable [amd64])' aptget
install foobar
-same:amd64
-st stable
152 testequal
'Reading package lists...
153 Building dependency tree...
154 Reading state information...
155 The following NEW packages will be installed:
157 0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
158 Inst libc6-same:amd64 (1.0 stable [amd64])
159 Conf libc6-same:amd64 (1.0 stable [amd64])' aptget
install libc6
-same:amd64
-s -t stable
161 # FIXME: We should test installing libc6-same:amd64 here, but dpkg doesn't allow it currently
163 testequal
'Reading package lists...
164 Building dependency tree...
165 Reading state information...
166 The following packages will be upgraded:
168 1 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
169 Inst libc6-same [1.0] (2.0 testing [all])
170 Conf libc6-same (2.0 testing [all])' aptget upgrade
-t testing
-s
171 aptget upgrade
-y -qq 2>&1 > /dev
/null
172 testdpkginstalled libc6
-same
174 testequal
"Reading package lists...
175 Building dependency tree...
176 Reading state information...
177 Selected version '1.0' (stable [i386]) for 'libc6-same'
178 The following packages will be DOWNGRADED:
180 0 upgraded, 0 newly installed, 1 downgraded, 0 to remove and 0 not upgraded.
181 Inst libc6-same [2.0] (1.0 stable [i386])
182 Conf libc6-same (1.0 stable [i386])" aptget
install libc6
-same/stable
-s -q=0
184 testequal
'Reading package lists...
185 Building dependency tree...
186 Reading state information...
187 The following NEW packages will be installed:
189 0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
190 Inst foobar-same (1.0 stable [i386])
191 Conf foobar-same (1.0 stable [i386])' aptget
install foobar
-same/stable
-st testing
193 testequal
'Reading package lists...
194 Building dependency tree...
195 Reading state information...
196 The following extra packages will be installed:
198 The following packages will be REMOVED:
200 The following NEW packages will be installed:
201 foobar-same:amd64 libc6-same:amd64
202 0 upgraded, 2 newly installed, 1 to remove and 0 not upgraded.
203 Remv libc6-same [2.0]
204 Inst libc6-same:amd64 (1.0 stable [amd64])
205 Inst foobar-same:amd64 (1.0 stable [amd64])
206 Conf libc6-same:amd64 (1.0 stable [amd64])
207 Conf foobar-same:amd64 (1.0 stable [amd64])' aptget
install foobar
-same:amd
64/stable
-st testing