最近我在 VirtualBox 中运行的 Ubuntu 18.04.2 LTS 上安装了 HWE。这是一个干净的安装,没有任何 PPA,也没有第三方存储库。一些信息如下:
$ head -n2 /etc/apt/sources.list #deb cdrom:[Ubuntu-MATE 18.04 LTS _Bionic Beaver_ - Release amd64 (20180426)]/ bionic main multiverse restricted universe $ hwe-support-status Your Hardware Enablement Stack (HWE) is supported until April 2023. $ dpkg -l | grep hwe ii linux-generic-hwe-18.04 4.18.0.15.65 amd64 Complete Generic Linux kernel and headers ii linux-headers-generic-hwe-18.04 4.18.0.15.65 amd64 Generic Linux kernel headers ii linux-image-generic-hwe-18.04 4.18.0.15.65 amd64 Generic Linux kernel image ii xserver-xorg-core-hwe-18.04 2:1.20.1-3ubuntu2.1~18.04.1 amd64 Xorg X server - core server ii xserver-xorg-hwe-18.04 1:7.7+19ubuntu8~18.04.2 amd64 X.Org X server ii xserver-xorg-input-all-hwe-18.04 1:7.7+19ubuntu8~18.04.2 amd64 X.Org X server -- input driver metapackage ii xserver-xorg-input-libinput-hwe-18.04 0.28.1-1~18.04.1 amd64 X.Org X server -- libinput input driver ii xserver-xorg-legacy-hwe-18.04 2:1.20.1-3ubuntu2.1~18.04.1 amd64 setuid root Xorg server wrapper ii xserver-xorg-video-all-hwe-18.04 1:7.7+19ubuntu8~18.04.2 amd64 X.Org X server -- output driver metapackage ii xserver-xorg-video-amdgpu-hwe-18.04 18.1.0-1~18.04.1 amd64 X.Org X server -- AMDGPU display driver ii xserver-xorg-video-ati-hwe-18.04 1:18.1.0-1~18.04.1 amd64 X.Org X server -- AMD/ATI display driver wrapper ii xserver-xorg-video-fbdev-hwe-18.04 1:0.5.0-1ubuntu1~18.04.1 amd64 X.Org X server -- fbdev display driver ii xserver-xorg-video-intel-hwe-18.04 2:2.99.917+git20171229-1ubuntu1~18.04.1 amd64 X.Org X server -- Intel i8xx, i9xx display driver ii xserver-xorg-video-nouveau-hwe-18.04 1:1.0.15-3~18.04.1 amd64 X.Org X server -- Nouveau display driver ii xserver-xorg-video-qxl-hwe-18.04 0.1.5-2build2~18.04.1 amd64 X.Org X server -- QXL display driver ii xserver-xorg-video-radeon-hwe-18.04 1:18.1.0-1~18.04.1 amd64 X.Org X server -- AMD/ATI Radeon display driver ii xserver-xorg-video-vesa-hwe-18.04 1:2.4.0-1~18.04.1 amd64 X.Org X server -- VESA display driver ii xserver-xorg-video-vmware-hwe-18.04 1:13.3.0-2build1~18.04.1 amd64 X.Org X server -- VMware display driver $ uname -r 4.18.0-15-generic
在 HWE 安装之前我已经安装了virtualbox-guest-x11
,但现在它被删除了。此外,我无法再次安装它:
$ sudo apt install virtualbox-guest-x11 Reading package lists... Done Building dependency tree Reading state information... Done 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: virtualbox-guest-x11 : Depends: xorg-video-abi-23 Depends: xserver-xorg-core (>= 2:1.18.99.901) E: Unable to correct problems, you have held broken packages.
和 HWE 命名的一个:
$ sudo apt install virtualbox-guest-x11-hwe Reading package lists... Done Building dependency tree Reading state information... Done 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: virtualbox-guest-x11-hwe : Depends: xorg-video-abi-23 Depends: xserver-xorg-core (>= 2:1.18.99.901) E: Unable to correct problems, you have held broken packages.
我应该怎么办?
更新:该错误已于 2019-03-08 修复,版本为
virtualbox-guest-x11-hwe
5.2.18-dfsg-3~ubuntu18.04.3。这是依赖问题,所以我报告了两个错误:
所以最直接的解决方案是安装普通内核和 Xorg,然后删除 HWE 包
然后重新
virtualbox-guest-x11
安装你可以试试启动