]> git.saurik.com Git - apt.git/blame - test/integration/test-bug-657695-resolver-breaks-on-virtuals
try to avoid removal of crossgraded packages
[apt.git] / test / integration / test-bug-657695-resolver-breaks-on-virtuals
CommitLineData
898c2925
DK
1#!/bin/sh
2set -e
3
3abb6a6a
DK
4TESTDIR="$(readlink -f "$(dirname "$0")")"
5. "$TESTDIR/framework"
898c2925
DK
6setupenvironment
7configarchitecture 'amd64'
8
9insertinstalledpackage 'xserver-xorg-core' 'amd64' '2:1.7.6-2ubuntu7.10'
10for i in $(seq 1 50); do
11 insertinstalledpackage "xserver-xorg-video-driver$i" 'amd64' '1.0' 'Provides: xserver-xorg-video-6'
12done
13
14insertpackage 'unstable' 'xserver-xorg-core' 'amd64' '2:1.11.3-0ubuntu9' 'Breaks: xserver-xorg-video-6'
15
16
17setupaptarchive
18
25b86db1 19testfailureequal 'Reading package lists...
898c2925 20Building dependency tree...
2a884c61 21Calculating upgrade...
898c2925
DK
22The following packages will be REMOVED:
23 xserver-xorg-video-driver1 xserver-xorg-video-driver10
24 xserver-xorg-video-driver11 xserver-xorg-video-driver12
25 xserver-xorg-video-driver13 xserver-xorg-video-driver14
26 xserver-xorg-video-driver15 xserver-xorg-video-driver16
27 xserver-xorg-video-driver17 xserver-xorg-video-driver18
28 xserver-xorg-video-driver19 xserver-xorg-video-driver2
29 xserver-xorg-video-driver20 xserver-xorg-video-driver21
30 xserver-xorg-video-driver22 xserver-xorg-video-driver23
31 xserver-xorg-video-driver24 xserver-xorg-video-driver25
32 xserver-xorg-video-driver26 xserver-xorg-video-driver27
33 xserver-xorg-video-driver28 xserver-xorg-video-driver29
34 xserver-xorg-video-driver3 xserver-xorg-video-driver30
35 xserver-xorg-video-driver31 xserver-xorg-video-driver32
36 xserver-xorg-video-driver33 xserver-xorg-video-driver34
37 xserver-xorg-video-driver35 xserver-xorg-video-driver36
38 xserver-xorg-video-driver37 xserver-xorg-video-driver38
39 xserver-xorg-video-driver39 xserver-xorg-video-driver4
40 xserver-xorg-video-driver40 xserver-xorg-video-driver41
41 xserver-xorg-video-driver42 xserver-xorg-video-driver43
42 xserver-xorg-video-driver44 xserver-xorg-video-driver45
43 xserver-xorg-video-driver46 xserver-xorg-video-driver47
44 xserver-xorg-video-driver48 xserver-xorg-video-driver49
45 xserver-xorg-video-driver5 xserver-xorg-video-driver50
46 xserver-xorg-video-driver6 xserver-xorg-video-driver7
47 xserver-xorg-video-driver8 xserver-xorg-video-driver9
48The following packages will be upgraded:
49 xserver-xorg-core
501 upgraded, 0 newly installed, 50 to remove and 0 not upgraded.
51After this operation, 2150 kB disk space will be freed.
52E: Trivial Only specified but this is not a trivial operation.' aptget dist-upgrade --trivial-only