無法在 Ubuntu 全新 VBox 安裝中安裝來賓新增項

無法在 Ubuntu 全新 VBox 安裝中安裝來賓新增項

我在 virtualbox 中建立了全新安裝的 Ubuntu 12.10-desktop-i386。主機是Windows 7。

我試圖讓 VBGuestAdditions 工作,但出現錯誤

Building the main Guest Additions module... fail!
(Look at /var/log/vboxadd-install.log to find out what went wrong)
Installing the Windows System drivers
Warning: unknown version of the X Windows System installed, Not installing X Windows system drivers.

在建議的日誌檔案中

ERROR: Kernel configuration is invalid.
include/generated/autoconf.h or include/config/auto.conf are missing
Run 'make oldconfig && make prepare' on kernel src to fix it

我不明白這一點,但在日誌文件中搜索錯誤,我發現運行之類的東西apt-get install linux-source可以修復它......不幸的是我收到錯誤

Unable to locate package linux-source

(我通過轉到不同的存儲庫修復了這個問題)

此時我不知道如何繼續安裝來賓新增項目。

答案1

我編輯了/etc/apt/sources.list要使用的http://old-releases.ubuntu.com/ubuntu/,然後我可以使用以下命令安裝所有軟體包apt-get install

相關內容