AskOverflow.Dev

AskOverflow.Dev Logo AskOverflow.Dev Logo

AskOverflow.Dev Navigation

  • 主页
  • 系统&网络
  • Ubuntu
  • Unix
  • DBA
  • Computer
  • Coding
  • LangChain

Mobile menu

Close
  • 主页
  • 系统&网络
    • 最新
    • 热门
    • 标签
  • Ubuntu
    • 最新
    • 热门
    • 标签
  • Unix
    • 最新
    • 标签
  • DBA
    • 最新
    • 标签
  • Computer
    • 最新
    • 标签
  • Coding
    • 最新
    • 标签
主页 / ubuntu / 问题 / 1119177
Accepted
N0rbert
N0rbert
Asked: 2019-02-19 02:03:02 +0800 CST2019-02-19 02:03:02 +0800 CST 2019-02-19 02:03:02 +0800 CST

无法在带有 HWE 的 Ubuntu 18.04.2 LTS 上安装 VirtualBox 来宾添加 - 为什么?

  • 772

最近我在 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.

我应该怎么办?

virtualbox xorg apt guest-additions 18.04
  • 2 2 个回答
  • 5701 Views

2 个回答

  • Voted
  1. Best Answer
    N0rbert
    2019-02-19T02:46:42+08:002019-02-19T02:46:42+08:00

    更新:该错误已于 2019-03-08 修复,版本为virtualbox-guest-x11-hwe 5.2.18-dfsg-3~ubuntu18.04.3。


    这是依赖问题,所以我报告了两个错误:

    1. 错误 1816383 - 无法使用 HWE 在 18.04.2 LTS 上安装 virtualbox-guest-x11
    2. 错误 1816386 - 无法使用 HWE 在 18.04.2 LTS 上安装 virtualbox-guest-x11-hwe

    所以最直接的解决方案是安装普通内核和 Xorg,然后删除 HWE 包

    sudo apt-get install xserver-xorg linux-image-generic
    sudo apt-get purge xserver-xorg-hwe-18.04 linux-image-generic-hwe-18.04 xserver-xorg-legacy-hwe-18.04 xserver-xorg-core-hwe-18.04 xserver-xorg-video-intel-hwe-18.04
    sudo apt-get autoremove
    

    然后重新virtualbox-guest-x11安装

    sudo apt-get install virtualbox-guest-x11
    
    • 1
  2. Ubunter
    2019-02-19T02:23:18+08:002019-02-19T02:23:18+08:00

    你可以试试启动

    apt-get install --reinstall virtualbox-guest-x11-hwe
    
    • 0

相关问题

  • 如何重置我的键盘布局?

  • 是否可以说出我安装的哪些软件包不在原版安装中?

  • 如何删除 PPA?

  • 帮助让 Flash 播放器在第二个屏幕上工作?

  • 使用 apt-get upgrade 时如何强制安装内核更新?

Sidebar

Stats

  • 问题 205573
  • 回答 270741
  • 最佳答案 135370
  • 用户 68524
  • 热门
  • 回答
  • Marko Smith

    如何运行 .sh 脚本?

    • 16 个回答
  • Marko Smith

    如何安装 .tar.gz(或 .tar.bz2)文件?

    • 14 个回答
  • Marko Smith

    如何列出所有已安装的软件包

    • 24 个回答
  • Marko Smith

    无法锁定管理目录 (/var/lib/dpkg/) 是另一个进程在使用它吗?

    • 25 个回答
  • Martin Hope
    Flimm 如何在没有 sudo 的情况下使用 docker? 2014-06-07 00:17:43 +0800 CST
  • Martin Hope
    Ivan 如何列出所有已安装的软件包 2010-12-17 18:08:49 +0800 CST
  • Martin Hope
    La Ode Adam Saputra 无法锁定管理目录 (/var/lib/dpkg/) 是另一个进程在使用它吗? 2010-11-30 18:12:48 +0800 CST
  • Martin Hope
    David Barry 如何从命令行确定目录(文件夹)的总大小? 2010-08-06 10:20:23 +0800 CST
  • Martin Hope
    jfoucher “以下软件包已被保留:”为什么以及如何解决? 2010-08-01 13:59:22 +0800 CST
  • Martin Hope
    David Ashford 如何删除 PPA? 2010-07-30 01:09:42 +0800 CST

热门标签

10.10 10.04 gnome networking server command-line package-management software-recommendation sound xorg

Explore

  • 主页
  • 问题
    • 最新
    • 热门
  • 标签
  • 帮助

Footer

AskOverflow.Dev

关于我们

  • 关于我们
  • 联系我们

Legal Stuff

  • Privacy Policy

Language

  • Pt
  • Server
  • Unix

© 2023 AskOverflow.DEV All Rights Reserve