]> git.saurik.com Git - apt.git/blob - test/integration/test-ubuntu-bug-614993
pass --force-remove-essential to dpkg only if needed
[apt.git] / test / integration / test-ubuntu-bug-614993
1 #!/bin/sh
2 set -e
3
4 TESTDIR="$(readlink -f "$(dirname "$0")")"
5 . "$TESTDIR/framework"
6 setupenvironment
7 configarchitecture "amd64"
8 setupaptarchive
9
10 # test success
11 UPGRADE="Reading package lists...
12 Building dependency tree...
13 The following additional packages will be installed:
14 libdrm-intel1 libdrm-nouveau1 libmtdev1 libutouch-grail1 libx11-xcb1
15 libxcb-aux0 libxcb-dri2-0 libxfont1 xserver-common xserver-xorg-core
16 xserver-xorg-input-evdev xserver-xorg-input-mouse
17 xserver-xorg-input-synaptics xserver-xorg-input-vmmouse
18 xserver-xorg-input-wacom xserver-xorg-video-all xserver-xorg-video-apm
19 xserver-xorg-video-ark xserver-xorg-video-ati xserver-xorg-video-chips
20 xserver-xorg-video-cirrus xserver-xorg-video-fbdev xserver-xorg-video-i128
21 xserver-xorg-video-intel xserver-xorg-video-mach64 xserver-xorg-video-mga
22 xserver-xorg-video-neomagic xserver-xorg-video-nouveau xserver-xorg-video-nv
23 xserver-xorg-video-openchrome xserver-xorg-video-r128
24 xserver-xorg-video-radeon xserver-xorg-video-rendition xserver-xorg-video-s3
25 xserver-xorg-video-s3virge xserver-xorg-video-savage
26 xserver-xorg-video-siliconmotion xserver-xorg-video-sis
27 xserver-xorg-video-sisusb xserver-xorg-video-tdfx xserver-xorg-video-trident
28 xserver-xorg-video-tseng xserver-xorg-video-vesa xserver-xorg-video-vmware
29 xserver-xorg-video-voodoo
30 Suggested packages:
31 xfonts-scalable gpointing-device-settings touchfreeze firmware-linux
32 Recommended packages:
33 xauth intel-gpu-tools
34 The following packages will be REMOVED:
35 xserver-xorg-video-v4l
36 The following NEW packages will be installed:
37 libmtdev1 libutouch-grail1 libx11-xcb1 libxcb-aux0 libxcb-dri2-0
38 The following packages will be upgraded:
39 libdrm-intel1 libdrm-nouveau1 libxfont1 xserver-common xserver-xorg
40 xserver-xorg-core xserver-xorg-input-evdev xserver-xorg-input-mouse
41 xserver-xorg-input-synaptics xserver-xorg-input-vmmouse
42 xserver-xorg-input-wacom xserver-xorg-video-all xserver-xorg-video-apm
43 xserver-xorg-video-ark xserver-xorg-video-ati xserver-xorg-video-chips
44 xserver-xorg-video-cirrus xserver-xorg-video-fbdev xserver-xorg-video-i128
45 xserver-xorg-video-intel xserver-xorg-video-mach64 xserver-xorg-video-mga
46 xserver-xorg-video-neomagic xserver-xorg-video-nouveau xserver-xorg-video-nv
47 xserver-xorg-video-openchrome xserver-xorg-video-r128
48 xserver-xorg-video-radeon xserver-xorg-video-rendition xserver-xorg-video-s3
49 xserver-xorg-video-s3virge xserver-xorg-video-savage
50 xserver-xorg-video-siliconmotion xserver-xorg-video-sis
51 xserver-xorg-video-sisusb xserver-xorg-video-tdfx xserver-xorg-video-trident
52 xserver-xorg-video-tseng xserver-xorg-video-vesa xserver-xorg-video-vmware
53 xserver-xorg-video-voodoo
54 41 upgraded, 5 newly installed, 1 to remove and 3 not upgraded.
55 Need to get 0 B/5505 kB of archives.
56 After this operation, 2294 kB disk space will be freed.
57 E: Trivial Only specified but this is not a trivial operation."
58 testfailureequal "$UPGRADE" aptget install xserver-xorg --trivial-only
59