无法将 bumblebee 安装到 Ubuntu 12.10?

无法将 bumblebee 安装到 Ubuntu 12.10?

如果我尝试使用以下命令安装 bumblebee:

sudo apt-get install bumblebee bumblebee-nvidia

我面临以下输出端出现双重错误

Need to get 0 B/60.7 kB of archives.
After this operation, 240 kB of additional disk space will be used.
Selecting previously unselected package bumblebee.
(Reading database ... 417120 files and directories currently installed.)
Unpacking bumblebee (from .../bumblebee_3.1-1~quantalppa1_amd64.deb) ...
Selecting previously unselected package bumblebee-nvidia.
Unpacking bumblebee-nvidia (from .../bumblebee-nvidia_3.1-1~quantalppa1_amd64.deb) ...
Processing triggers for man-db ...
Processing triggers for ureadahead ...
Setting up bumblebee (3.1-1~quantalppa1) ...
Adding members from group(s) 'adm sudo admin' to 'bumblebee':
erogol
Adding user erogol to group bumblebee
update-initramfs: deferring update (trigger activated)
FATAL: Module bbswitch not found.
invoke-rc.d: initscript bumblebeed, action "start" failed.
dpkg: error processing bumblebee (--configure):
 subprocess installed post-installation script returned error exit status 1
dpkg: dependency problems prevent configuration of bumblebee-nvidia:
 bumblebee-nvidia depends on bumblebee (= 3.1-1~quantalppa1); however:
  Package bumblebee is not configured yet.

dpkg: error processing bumblebee-nvidia (--configure):
 dependency problems - leaving unconfigured
No apport report written because the error message indicates its a followup error from a previous failure.
                                                                                                          Processing triggers for ureadahead ...
Processing triggers for initramfs-tools ...
update-initramfs: Generating /boot/initrd.img-3.5.0-24-generic
Errors were encountered while processing:
 bumblebee
 bumblebee-nvidia
E: Sub-process /usr/bin/dpkg returned an error code (1)

我无法找出原因。有什么针对该错误的建议吗?

答案1

请尝试按照顶部答案中的说明进行操作这个问题总结一下:

sudo apt-get update
sudo apt-get install bbswitch-dkms

如果这不管用,

sudo apt-get update
sudo apt-get install linux-headers
sudo apt-get dist-upgrade

最后,如果这还不起作用,请安装适合您的特定内核版本的标头:

sudo apt-get install linux-headers-$(uname -r)

让我知道这个是否奏效。

相关内容