web-dev-qa-db-ja.com

Ubuntu 12.10にbumblebeeをインストールできませんか?

次のコマンドで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
erogol

この質問 の一番上の回答の指示に従ってみてください。要約する:

行う

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)

これが機能するかどうか教えてください。

1
strugee