4 TESTDIR
="$(readlink -f "$(dirname "$0")")"
7 configarchitecture 'amd64' 'i386'
9 insertpackage 'unstable' 'libqtcore4' 'i386,amd64' '2' 'Multi-Arch: same'
12 DPKGSTATUS='rootdir/var/lib/dpkg/status'
13 cp $DPKGSTATUS dpkg.status
16 cp dpkg.status $DPKGSTATUS
17 rm rootdir/var/cache/apt/*.bin
20 #FIXME: the reported version is wrong, it should be 1, not 2
21 insertinstalledpackage 'libqtcore4' 'i386,amd64' '1' 'Multi-Arch: same' '' 'install ok unpacked'
22 testsuccessequal 'Reading package lists...
23 Building dependency tree...
24 0 upgraded, 0 newly installed, 0 to remove and 2 not upgraded.
25 2 not fully installed or removed.
26 Conf libqtcore4 (2 unstable [amd64])
27 Conf libqtcore4:i386 (2 unstable [i386])' aptget install -s -f
30 insertinstalledpackage 'libqtcore4' 'amd64' '2' 'Multi-Arch: same' '' 'install ok unpacked'
31 insertinstalledpackage 'libqtcore4' 'i386' '1' 'Multi-Arch: same' '' 'install ok unpacked'
32 testsuccessequal 'Reading package lists...
33 Building dependency tree...
34 Correcting dependencies... Done
35 The following additional packages will be installed:
37 The following packages will be upgraded:
39 1 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
40 2 not fully installed or removed.
41 Inst libqtcore4:i386 [1] (2 unstable [i386])
42 Conf libqtcore4:i386 (2 unstable [i386])
43 Conf libqtcore4 (2 unstable [amd64])' aptget install -s -f
46 insertinstalledpackage 'libqtcore4' 'i386' '2' 'Multi-Arch: same' '' 'install ok unpacked'
47 insertinstalledpackage 'libqtcore4' 'amd64' '1' 'Multi-Arch: same' '' 'install ok unpacked'
48 testsuccessequal 'Reading package lists...
49 Building dependency tree...
50 Correcting dependencies... Done
51 The following additional packages will be installed:
53 The following packages will be upgraded:
55 1 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
56 2 not fully installed or removed.
57 Inst libqtcore4 [1] (2 unstable [amd64])
58 Conf libqtcore4 (2 unstable [amd64])
59 Conf libqtcore4:i386 (2 unstable [i386])' aptget install -s -f
62 insertinstalledpackage 'libqtcore4' 'amd64' '2' 'Multi-Arch: same' '' 'install ok unpacked'
63 insertinstalledpackage 'libqtcore4' 'i386' '1' 'Multi-Arch: same'
64 testsuccessequal 'Reading package lists...
65 Building dependency tree...
66 Correcting dependencies... Done
67 The following additional packages will be installed:
69 The following packages will be upgraded:
71 1 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
72 1 not fully installed or removed.
73 Inst libqtcore4:i386 [1] (2 unstable [i386])
74 Conf libqtcore4:i386 (2 unstable [i386])
75 Conf libqtcore4 (2 unstable [amd64])' aptget install -s -f
78 insertinstalledpackage 'libqtcore4' 'i386' '2' 'Multi-Arch: same' '' 'install ok unpacked'
79 insertinstalledpackage 'libqtcore4' 'amd64' '1' 'Multi-Arch: same'
80 testsuccessequal 'Reading package lists...
81 Building dependency tree...
82 Correcting dependencies... Done
83 The following additional packages will be installed:
85 The following packages will be upgraded:
87 1 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
88 1 not fully installed or removed.
89 Inst libqtcore4 [1] (2 unstable [amd64])
90 Conf libqtcore4 (2 unstable [amd64])
91 Conf libqtcore4:i386 (2 unstable [i386])' aptget install -s -f
94 insertinstalledpackage 'libqtcore4' 'amd64' '2' 'Multi-Arch: same'
95 insertinstalledpackage 'libqtcore4' 'i386' '1' 'Multi-Arch: same' '' 'install ok unpacked'
96 testsuccessequal 'Reading package lists...
97 Building dependency tree...
98 Correcting dependencies... Done
99 The following additional packages will be installed:
101 The following packages will be upgraded:
103 1 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
104 1 not fully installed or removed.
105 Inst libqtcore4:i386 [1] (2 unstable [i386])
106 Conf libqtcore4:i386 (2 unstable [i386])' aptget install -s -f
109 insertinstalledpackage 'libqtcore4' 'i386' '2' 'Multi-Arch: same'
110 insertinstalledpackage 'libqtcore4' 'amd64' '1' 'Multi-Arch: same' '' 'install ok unpacked'
111 testsuccessequal 'Reading package lists...
112 Building dependency tree...
113 Correcting dependencies... Done
114 The following additional packages will be installed:
116 The following packages will be upgraded:
118 1 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
119 1 not fully installed or removed.
120 Inst libqtcore4 [1] (2 unstable [amd64])
121 Conf libqtcore4 (2 unstable [amd64])' aptget install -s -f