如何安装 virtualbox-6.0.14-dfsg/src/VBox/Additions/x11/x11stubs

如何安装 virtualbox-6.0.14-dfsg/src/VBox/Additions/x11/x11stubs

在我的一台 Ubuntu 19.10 机器上,我从存储库安装的 VBox 非常不稳定——我的机器因神秘错误而冻结,而我在论坛上发帖求助却无人理睬。所以我尝试本地构建 VirtualBox。

成功配置后,apt source我开始构建,kmk但构建失败,并出现此问题主题行中的错误。

我尝试通过为 VBox 安装 x11 库来修复此问题,但遇到了以下问题。

怎么解决这个问题?

 kmk all
 /hd2/projects/virtualbox-6.0.14-dfsg/src/VBox/Additions/x11/Makefile.kmk:34: /hd2/projects/virtualbox-6.0.14-dfsg/src/VBox/Additions/x11/x11stubs/Makefile.kmk: No such file or directory
 kmk: *** No rule to make target '/hd2/projects/virtualbox-6.0.14-dfsg/src/VBox/Additions/x11/x11stubs/Makefile.kmk

apt search for virtualbox x11得到:

  virtualbox-guest-x11 - x86 virtualization solution - X11 guest utilities
  virtualbox-guest-x11-hwe - x86 virtualization solution - X11 guest utilities

但是,当我尝试安装时,virtualbox-guest-x11-hwe出现全彩色警告弹出窗口:

              You are running a kernel (version 5.3.0-19-generic) and attempting to remove the same version.                             │ 
            │                                                                                                                            │ 
            │ This can make the system unbootable as it will remove /boot/vmlinuz-5.3.0-19-generic and all modules under the directory   │ 
            │ /lib/modules/5.3.0-19-generic. This can only be fixed with a copy of the kernel image and the corresponding modules.       │ 
            │                                                                                                                            │ 
            │ It is highly recommended to abort the kernel removal unless you are prepared to fix the system after removal.              │ 
            │                                                                                                                            │ 
            │ Abort kernel removal?                                                                                                      │ 
            │                                                                                                                            │ 

相关内容