![无法在 Ubuntu 14.04 上安装 Virtual Box](https://linux22.com/image/1056319/%E6%97%A0%E6%B3%95%E5%9C%A8%20Ubuntu%2014.04%20%E4%B8%8A%E5%AE%89%E8%A3%85%20Virtual%20Box.png)
我正在尝试在我的 Ubuntu 14.04 Box 中安装 Virtual Box。我从官方网站下载了软件包文件这里
我尝试安装此包,但出现错误。以下是终端中报告的信息-
ravi@Dell:~$ sudo dpkg -i Downloads/virtualbox-5.1_5.1.0-108711-Ubuntu-trusty_amd64.deb
[sudo] password for ravi:
Selecting previously unselected package virtualbox-5.1.
(Reading database ... 440671 files and directories currently installed.)
Preparing to unpack .../virtualbox-5.1_5.1.0-108711-Ubuntu-trusty_amd64.deb ...
Unpacking virtualbox-5.1 (5.1.0-108711~Ubuntu~trusty) ...
Setting up virtualbox-5.1 (5.1.0-108711~Ubuntu~trusty) ...
Adding group `vboxusers' (GID 125) ...
Done.
vboxdrv.sh: failed: modprobe vboxdrv failed. Please use 'dmesg' to find out why.
There were problems setting up VirtualBox. To re-start the set-up process, run
/sbin/vboxconfig
as root.
vboxdrv.sh: failed: modprobe vboxdrv failed. Please use 'dmesg' to find out why.
Processing triggers for ureadahead (0.100.0-16) ...
Processing triggers for hicolor-icon-theme (0.13-1) ...
dmesg
下面是命令行底部的几行:
[ 85.053851] wlan0: AP advertised VHT without HT, disabling both
[ 85.060656] wlan0: send auth to 18:64:72:1d:51:50 (try 1/3)
[ 85.061293] wlan0: authenticated
[ 85.064889] wlan0: associate with 18:64:72:1d:51:50 (try 1/3)
[ 85.065625] wlan0: RX AssocResp from 18:64:72:1d:51:50 (capab=0x11 status=0 aid=5)
[ 85.067183] wlan0: associated
[ 85.071714] cfg80211: Regulatory domain changed to country: JP
[ 85.071723] cfg80211: DFS Master region: unset
[ 85.071725] cfg80211: (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp), (dfs_cac_time)
[ 85.071729] cfg80211: (2402000 KHz - 2482000 KHz @ 40000 KHz), (N/A, 2000 mBm), (N/A)
[ 85.071731] cfg80211: (2474000 KHz - 2494000 KHz @ 20000 KHz), (N/A, 2000 mBm), (N/A)
[ 85.071734] cfg80211: (4910000 KHz - 4990000 KHz @ 40000 KHz), (N/A, 2300 mBm), (N/A)
[ 85.071736] cfg80211: (5030000 KHz - 5090000 KHz @ 40000 KHz), (N/A, 2300 mBm), (N/A)
[ 85.071739] cfg80211: (5170000 KHz - 5250000 KHz @ 40000 KHz), (N/A, 2000 mBm), (N/A)
[ 85.071742] cfg80211: (5250000 KHz - 5330000 KHz @ 40000 KHz), (N/A, 2000 mBm), (0 s)
[ 85.071744] cfg80211: (5490000 KHz - 5710000 KHz @ 40000 KHz), (N/A, 2300 mBm), (0 s)
[ 85.165436] wlan0: Limiting TX power to 23 (23 - 0) dBm as advertised by 18:64:72:1d:51:50
[ 372.263572] capability: warning: `VirtualBox' uses 32-bit capabilities (legacy support in use)
[ 702.263467] systemd-hostnamed[9090]: Warning: nss-myhostname is not installed. Changing the local hostname might make it unresolveable. Please install nss-myhostname!
[ 852.612307] perf interrupt took too long (2510 > 2500), lowering kernel.perf_event_max_sample_rate to 50000
答案1
答案2
你应该选择由 Ubuntu 维护的版本易于除非你有特殊需要。使用 APT 安装 VirtualBox:
sudo apt-get install virtualbox