]> git.saurik.com Git - apt.git/blame - test/integration/test-bug-683786-build-dep-on-virtual-packages
show apt-key warnings in apt update
[apt.git] / test / integration / test-bug-683786-build-dep-on-virtual-packages
CommitLineData
f1f874bd
DK
1#!/bin/sh
2set -e
3
3abb6a6a
DK
4TESTDIR="$(readlink -f "$(dirname "$0")")"
5. "$TESTDIR/framework"
f1f874bd
DK
6setupenvironment
7configarchitecture 'amd64' 'armel'
8
9insertinstalledpackage 'build-essential' 'all' '11.5' 'Multi-Arch: foreign'
10
11insertpackage 'unstable' 'po-debconf' 'all' '1'
12insertsource 'unstable' 'dash' 'any' '1' 'Build-Depends: po-debconf'
13insertpackage 'unstable' 'make-po-debconf-pure-virtual' 'armel' '1' 'Depends: po-debconf'
14
f1f874bd
DK
15insertsource 'unstable' 'diffutils' 'any' '1' 'Build-Depends: texi2html'
16
727d8712
DK
17insertpackage 'unstable' 'libselinux1-dev' 'amd64' '1' 'Provides: libselinux-dev'
18insertsource 'unstable' 'sed' 'any' '1' 'Build-Depends: libselinux-dev'
19
666faa35
DK
20insertpackage 'unstable' 'libsehurd1-dev' 'amd64,armel' '1' 'Provides: libsehurd-dev'
21insertsource 'unstable' 'sed2' 'any' '1' 'Build-Depends: libsehurd-dev'
22
f1f874bd
DK
23setupaptarchive
24
25b86db1 25testsuccessequal 'Package: po-debconf:armel
f1f874bd
DK
26Versions:
27
28Reverse Depends:
29 make-po-debconf-pure-virtual:armel,po-debconf:armel
30Dependencies:
31Provides:
32Reverse Provides: ' aptcache showpkg po-debconf:armel
87d6947d 33testsuccessequal 'N: Unable to locate package texi2html:armel' aptcache showpkg texi2html:armel
f1f874bd 34
25b86db1 35testsuccessequal 'Reading package lists...
a249b3e6 36Reading package lists...
f1f874bd
DK
37Building dependency tree...
38The following NEW packages will be installed:
39 po-debconf
400 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
34de054c
MV
41Inst po-debconf (1 unstable [all])
42Conf po-debconf (1 unstable [all])' aptget build-dep dash -s
f1f874bd 43
25b86db1 44testfailureequal 'Reading package lists...
a249b3e6 45Reading package lists...
f1f874bd 46Building dependency tree...
a249b3e6
DK
47Some packages could not be installed. This may mean that you have
48requested an impossible situation or if you are using the unstable
49distribution that some required packages have not yet been created
50or been moved out of Incoming.
51The following information may help to resolve the situation:
52
53The following packages have unmet dependencies:
54 builddeps:dash:armel : Depends: po-debconf:armel but it is not installable
55E: Unable to correct problems, you have held broken packages.' aptget build-dep -aarmel dash -s
25b86db1 56testfailureequal 'Reading package lists...
a249b3e6 57Reading package lists...
f1f874bd 58Building dependency tree...
a249b3e6
DK
59Some packages could not be installed. This may mean that you have
60requested an impossible situation or if you are using the unstable
61distribution that some required packages have not yet been created
62or been moved out of Incoming.
63The following information may help to resolve the situation:
64
65The following packages have unmet dependencies:
66 builddeps:diffutils:armel : Depends: texi2html:armel but it is not installable
67E: Unable to correct problems, you have held broken packages.' aptget build-dep -aarmel diffutils -s
727d8712 68
25b86db1 69testsuccessequal "Reading package lists...
a249b3e6 70Reading package lists...
727d8712 71Building dependency tree...
727d8712
DK
72The following NEW packages will be installed:
73 libselinux1-dev
740 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
75Inst libselinux1-dev (1 unstable [amd64])
76Conf libselinux1-dev (1 unstable [amd64])" aptget build-dep sed -s
666faa35 77
25b86db1 78testfailureequal 'Reading package lists...
a249b3e6 79Reading package lists...
666faa35 80Building dependency tree...
a249b3e6
DK
81Some packages could not be installed. This may mean that you have
82requested an impossible situation or if you are using the unstable
83distribution that some required packages have not yet been created
84or been moved out of Incoming.
85The following information may help to resolve the situation:
86
87The following packages have unmet dependencies:
88 builddeps:sed:armel : Depends: libselinux-dev:armel but it is not installable
89E: Unable to correct problems, you have held broken packages.' aptget build-dep -aarmel sed -s
666faa35 90
25b86db1 91testsuccessequal "Reading package lists...
a249b3e6 92Reading package lists...
666faa35 93Building dependency tree...
666faa35
DK
94The following NEW packages will be installed:
95 libsehurd1-dev
960 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
97Inst libsehurd1-dev (1 unstable [amd64])
98Conf libsehurd1-dev (1 unstable [amd64])" aptget build-dep sed2 -s
99
25b86db1 100testsuccessequal "Reading package lists...
a249b3e6 101Reading package lists...
666faa35 102Building dependency tree...
666faa35
DK
103The following NEW packages will be installed:
104 libsehurd1-dev:armel
1050 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
106Inst libsehurd1-dev:armel (1 unstable [armel])
107Conf libsehurd1-dev:armel (1 unstable [armel])" aptget build-dep -aarmel sed2 -s