]>
git.saurik.com Git - apt.git/blob - test/integration/test-handling-broken-orgroups
4 TESTDIR
=$(readlink -f $(dirname $0))
7 configarchitecture
'i386'
9 insertpackage
'unstable' 'cool' 'all' '1.0-1'
10 insertpackage
'unstable' 'stuff' 'all' '1.0-1'
11 insertpackage
'unstable' 'coolstuff' 'all' '1.0-1' 'Depends: cool | stuff'
12 insertpackage
'unstable' 'coolstuff2' 'all' '1.0-1' 'Depends: cool2 | stuff'
13 insertpackage
'unstable' 'coolstuff-broken' 'all' '1.0-1' 'Depends: cool2 | stuff2'
14 insertpackage
'unstable' 'coolstuff-brokenrec' 'all' '1.0-1' 'Recommends: cool2 | stuff2'
15 insertpackage
'unstable' 'coolstuff-conflict' 'all' '1.0-1' 'Depends: cool | stuff
17 insertpackage
'unstable' 'coolstuff-provided' 'all' '1.0-1' 'Depends: cool2 | stuff-abi'
18 insertpackage
'unstable' 'extrastuff' 'all' '1.0-1' 'Provides: stuff-abi'
20 insertpackage
'unstable' 'coolstuff-provided-broken' 'all' '1.0-1' 'Depends: cool2 | stuff-abi-2'
21 insertpackage
'unstable' 'extrastuff' 'all' '1.0-1' 'Depends: stuff2
22 Provides: stuff-abi-2'
26 testsuccessequal
'Reading package lists...
27 Building dependency tree...
28 The following extra packages will be installed:
30 The following NEW packages will be installed:
32 0 upgraded, 2 newly installed, 0 to remove and 0 not upgraded.
33 Inst cool (1.0-1 unstable [all])
34 Inst coolstuff (1.0-1 unstable [all])
35 Conf cool (1.0-1 unstable [all])
36 Conf coolstuff (1.0-1 unstable [all])' aptget
install coolstuff
-s
38 testsuccessequal
'Reading package lists...
39 Building dependency tree...
40 The following extra packages will be installed:
42 The following NEW packages will be installed:
44 0 upgraded, 2 newly installed, 0 to remove and 0 not upgraded.
45 Inst stuff (1.0-1 unstable [all])
46 Inst coolstuff2 (1.0-1 unstable [all])
47 Conf stuff (1.0-1 unstable [all])
48 Conf coolstuff2 (1.0-1 unstable [all])' aptget
install coolstuff2
-s
50 testfailureequal
'Reading package lists...
51 Building dependency tree...
52 Some packages could not be installed. This may mean that you have
53 requested an impossible situation or if you are using the unstable
54 distribution that some required packages have not yet been created
55 or been moved out of Incoming.
56 The following information may help to resolve the situation:
58 The following packages have unmet dependencies:
59 coolstuff-broken : Depends: cool2 but it is not installable or
60 stuff2 but it is not installable
61 E: Unable to correct problems, you have held broken packages.' aptget
install coolstuff
-broken -s
63 testsuccessequal
'Reading package lists...
64 Building dependency tree...
67 The following NEW packages will be installed:
69 0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
70 Inst coolstuff-brokenrec (1.0-1 unstable [all])
71 Conf coolstuff-brokenrec (1.0-1 unstable [all])' aptget
install coolstuff
-brokenrec -s
73 testsuccessequal
'Reading package lists...
74 Building dependency tree...
75 The following extra packages will be installed:
77 The following NEW packages will be installed:
78 coolstuff-conflict stuff
79 0 upgraded, 2 newly installed, 0 to remove and 0 not upgraded.
80 Inst stuff (1.0-1 unstable [all])
81 Inst coolstuff-conflict (1.0-1 unstable [all])
82 Conf stuff (1.0-1 unstable [all])
83 Conf coolstuff-conflict (1.0-1 unstable [all])' aptget
install coolstuff
-conflict -s
85 testsuccessequal
'Reading package lists...
86 Building dependency tree...
87 The following extra packages will be installed:
89 The following NEW packages will be installed:
90 coolstuff-provided extrastuff
91 0 upgraded, 2 newly installed, 0 to remove and 0 not upgraded.
92 Inst extrastuff (1.0-1 unstable [all])
93 Inst coolstuff-provided (1.0-1 unstable [all])
94 Conf extrastuff (1.0-1 unstable [all])
95 Conf coolstuff-provided (1.0-1 unstable [all])' aptget
install coolstuff
-provided -s
97 testfailureequal
'Reading package lists...
98 Building dependency tree...
99 Some packages could not be installed. This may mean that you have
100 requested an impossible situation or if you are using the unstable
101 distribution that some required packages have not yet been created
102 or been moved out of Incoming.
103 The following information may help to resolve the situation:
105 The following packages have unmet dependencies:
106 coolstuff-provided-broken : Depends: cool2 but it is not installable or
108 E: Unable to correct problems, you have held broken packages.' aptget
install coolstuff
-provided-broken -s