1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
|
#!/bin/sh
set -e
TESTDIR=$(readlink -f $(dirname $0))
. $TESTDIR/framework
setupenvironment
configarchitecture 'i386'
insertpackage 'unstable' 'cool' 'all' '1.0-1'
insertpackage 'unstable' 'stuff' 'all' '1.0-1'
insertpackage 'unstable' 'coolstuff' 'all' '1.0-1' 'Depends: cool | stuff'
insertpackage 'unstable' 'coolstuff2' 'all' '1.0-1' 'Depends: cool2 | stuff'
insertpackage 'unstable' 'coolstuff-broken' 'all' '1.0-1' 'Depends: cool2 | stuff2'
insertpackage 'unstable' 'coolstuff-brokenrec' 'all' '1.0-1' 'Recommends: cool2 | stuff2'
insertpackage 'unstable' 'coolstuff-conflict' 'all' '1.0-1' 'Depends: cool | stuff
Conflicts: cool'
insertpackage 'unstable' 'coolstuff-provided' 'all' '1.0-1' 'Depends: cool2 | stuff-abi'
insertpackage 'unstable' 'extrastuff' 'all' '1.0-1' 'Provides: stuff-abi'
insertpackage 'unstable' 'coolstuff-provided-broken' 'all' '1.0-1' 'Depends: cool2 | stuff-abi-2'
insertpackage 'unstable' 'extrastuff' 'all' '1.0-1' 'Depends: stuff2
Provides: stuff-abi-2'
setupaptarchive
testsuccessequal 'Reading package lists...
Building dependency tree...
The following additional packages will be installed:
cool
The following NEW packages will be installed:
cool coolstuff
0 upgraded, 2 newly installed, 0 to remove and 0 not upgraded.
Inst cool (1.0-1 unstable [all])
Inst coolstuff (1.0-1 unstable [all])
Conf cool (1.0-1 unstable [all])
Conf coolstuff (1.0-1 unstable [all])' aptget install coolstuff -s
testsuccessequal 'Reading package lists...
Building dependency tree...
The following additional packages will be installed:
stuff
The following NEW packages will be installed:
coolstuff2 stuff
0 upgraded, 2 newly installed, 0 to remove and 0 not upgraded.
Inst stuff (1.0-1 unstable [all])
Inst coolstuff2 (1.0-1 unstable [all])
Conf stuff (1.0-1 unstable [all])
Conf coolstuff2 (1.0-1 unstable [all])' aptget install coolstuff2 -s
testfailureequal 'Reading package lists...
Building dependency tree...
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:
The following packages have unmet dependencies:
coolstuff-broken : Depends: cool2 but it is not installable or
stuff2 but it is not installable
E: Unable to correct problems, you have held broken packages.' aptget install coolstuff-broken -s
testsuccessequal 'Reading package lists...
Building dependency tree...
Recommended packages:
cool2 | stuff2
The following NEW packages will be installed:
coolstuff-brokenrec
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Inst coolstuff-brokenrec (1.0-1 unstable [all])
Conf coolstuff-brokenrec (1.0-1 unstable [all])' aptget install coolstuff-brokenrec -s
testsuccessequal 'Reading package lists...
Building dependency tree...
The following additional packages will be installed:
stuff
The following NEW packages will be installed:
coolstuff-conflict stuff
0 upgraded, 2 newly installed, 0 to remove and 0 not upgraded.
Inst stuff (1.0-1 unstable [all])
Inst coolstuff-conflict (1.0-1 unstable [all])
Conf stuff (1.0-1 unstable [all])
Conf coolstuff-conflict (1.0-1 unstable [all])' aptget install coolstuff-conflict -s
testsuccessequal 'Reading package lists...
Building dependency tree...
The following additional packages will be installed:
extrastuff
The following NEW packages will be installed:
coolstuff-provided extrastuff
0 upgraded, 2 newly installed, 0 to remove and 0 not upgraded.
Inst extrastuff (1.0-1 unstable [all])
Inst coolstuff-provided (1.0-1 unstable [all])
Conf extrastuff (1.0-1 unstable [all])
Conf coolstuff-provided (1.0-1 unstable [all])' aptget install coolstuff-provided -s
testfailureequal 'Reading package lists...
Building dependency tree...
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:
The following packages have unmet dependencies:
coolstuff-provided-broken : Depends: cool2 but it is not installable or
stuff-abi-2
E: Unable to correct problems, you have held broken packages.' aptget install coolstuff-provided-broken -s
|