summaryrefslogtreecommitdiffstats
path: root/test/integration/test-bug-657695-resolver-breaks-on-virtuals
blob: 42b85218b1a8253ee629607582dc2e21b19ff093 (plain)
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
#!/bin/sh
set -e

TESTDIR="$(readlink -f "$(dirname "$0")")"
. "$TESTDIR/framework"
setupenvironment
configarchitecture 'amd64'

insertinstalledpackage 'xserver-xorg-core' 'amd64' '2:1.7.6-2ubuntu7.10'
for i in $(seq 1 50); do
	insertinstalledpackage "xserver-xorg-video-driver$i" 'amd64' '1.0' 'Provides: xserver-xorg-video-6'
done

insertpackage 'unstable' 'xserver-xorg-core' 'amd64' '2:1.11.3-0ubuntu9' 'Breaks: xserver-xorg-video-6'


setupaptarchive

testfailureequal 'Reading package lists...
Building dependency tree...
Calculating upgrade...
The following packages will be REMOVED:
  xserver-xorg-video-driver1 xserver-xorg-video-driver10
  xserver-xorg-video-driver11 xserver-xorg-video-driver12
  xserver-xorg-video-driver13 xserver-xorg-video-driver14
  xserver-xorg-video-driver15 xserver-xorg-video-driver16
  xserver-xorg-video-driver17 xserver-xorg-video-driver18
  xserver-xorg-video-driver19 xserver-xorg-video-driver2
  xserver-xorg-video-driver20 xserver-xorg-video-driver21
  xserver-xorg-video-driver22 xserver-xorg-video-driver23
  xserver-xorg-video-driver24 xserver-xorg-video-driver25
  xserver-xorg-video-driver26 xserver-xorg-video-driver27
  xserver-xorg-video-driver28 xserver-xorg-video-driver29
  xserver-xorg-video-driver3 xserver-xorg-video-driver30
  xserver-xorg-video-driver31 xserver-xorg-video-driver32
  xserver-xorg-video-driver33 xserver-xorg-video-driver34
  xserver-xorg-video-driver35 xserver-xorg-video-driver36
  xserver-xorg-video-driver37 xserver-xorg-video-driver38
  xserver-xorg-video-driver39 xserver-xorg-video-driver4
  xserver-xorg-video-driver40 xserver-xorg-video-driver41
  xserver-xorg-video-driver42 xserver-xorg-video-driver43
  xserver-xorg-video-driver44 xserver-xorg-video-driver45
  xserver-xorg-video-driver46 xserver-xorg-video-driver47
  xserver-xorg-video-driver48 xserver-xorg-video-driver49
  xserver-xorg-video-driver5 xserver-xorg-video-driver50
  xserver-xorg-video-driver6 xserver-xorg-video-driver7
  xserver-xorg-video-driver8 xserver-xorg-video-driver9
The following packages will be upgraded:
  xserver-xorg-core
1 upgraded, 0 newly installed, 50 to remove and 0 not upgraded.
Need to get 0 B/42 B of archives.
After this operation, 2150 kB disk space will be freed.
E: Trivial Only specified but this is not a trivial operation.' aptget dist-upgrade --trivial-only