]>
git.saurik.com Git - apt.git/blob - test/integration/test-prefer-higher-priority-providers
4 TESTDIR
=$(readlink -f $(dirname $0))
7 configarchitecture
'native'
9 insertpackage
'unstable' 'foo' 'all' '1' 'Provides: stuff' 'important'
10 insertpackage
'unstable' 'bar' 'all' '1' 'Provides: stuff' 'optional'
11 insertpackage
'unstable' 'baz' 'all' '1' 'Provides: stuff' 'extra'
12 insertpackage
'unstable' 'awesome' 'all' '1' 'Depends: stuff'
16 testequal
'Reading package lists...
17 Building dependency tree...
18 The following extra packages will be installed:
20 The following NEW packages will be installed:
22 0 upgraded, 2 newly installed, 0 to remove and 0 not upgraded.
23 Inst foo (1 unstable [all])
24 Inst awesome (1 unstable [all])
25 Conf foo (1 unstable [all])
26 Conf awesome (1 unstable [all])' aptget
install awesome
-s
28 testequal
'Reading package lists...
29 Building dependency tree...
30 The following NEW packages will be installed:
32 0 upgraded, 2 newly installed, 0 to remove and 0 not upgraded.
33 Inst foo (1 unstable [all])
34 Inst awesome (1 unstable [all])
35 Conf foo (1 unstable [all])
36 Conf awesome (1 unstable [all])' aptget
install awesome foo
-s
38 testequal
"Reading package lists...
39 Building dependency tree...
40 Package 'bar' is not installed, so not removed
41 Package 'baz' is not installed, so not removed
42 The following extra packages will be installed:
44 The following NEW packages will be installed:
46 0 upgraded, 2 newly installed, 0 to remove and 0 not upgraded.
47 Inst foo (1 unstable [all])
48 Inst awesome (1 unstable [all])
49 Conf foo (1 unstable [all])
50 Conf awesome (1 unstable [all])" aptget
install awesome bar
- baz
- -s
52 testequal
"Reading package lists...
53 Building dependency tree...
54 Package 'foo' is not installed, so not removed
55 The following extra packages will be installed:
57 The following NEW packages will be installed:
59 0 upgraded, 2 newly installed, 0 to remove and 0 not upgraded.
60 Inst bar (1 unstable [all])
61 Inst awesome (1 unstable [all])
62 Conf bar (1 unstable [all])
63 Conf awesome (1 unstable [all])" aptget
install awesome foo
- -s
65 testequal
"Reading package lists...
66 Building dependency tree...
67 Package 'foo' is not installed, so not removed
68 Package 'baz' is not installed, so not removed
69 The following extra packages will be installed:
71 The following NEW packages will be installed:
73 0 upgraded, 2 newly installed, 0 to remove and 0 not upgraded.
74 Inst bar (1 unstable [all])
75 Inst awesome (1 unstable [all])
76 Conf bar (1 unstable [all])
77 Conf awesome (1 unstable [all])" aptget
install awesome foo
- baz
- -s
79 testequal
"Reading package lists...
80 Building dependency tree...
81 Package 'foo' is not installed, so not removed
82 Package 'bar' is not installed, so not removed
83 The following extra packages will be installed:
85 The following NEW packages will be installed:
87 0 upgraded, 2 newly installed, 0 to remove and 0 not upgraded.
88 Inst baz (1 unstable [all])
89 Inst awesome (1 unstable [all])
90 Conf baz (1 unstable [all])
91 Conf awesome (1 unstable [all])" aptget
install awesome foo
- bar
- -s
93 testequal
"Reading package lists...
94 Building dependency tree...
95 Package 'foo' is not installed, so not removed
96 Package 'bar' is not installed, so not removed
97 Package 'baz' is not installed, so not removed
98 Some packages could not be installed. This may mean that you have
99 requested an impossible situation or if you are using the unstable
100 distribution that some required packages have not yet been created
101 or been moved out of Incoming.
102 The following information may help to resolve the situation:
104 The following packages have unmet dependencies:
105 awesome : Depends: stuff
106 E: Unable to correct problems, you have held broken packages." aptget
install awesome foo
- bar
- baz
- -s