Having trouble installing Bumblebee on Ubuntu 12.04

Asked by Andrew Cleland

I'm trying to install Bumblebee on my Dell XPS L502X laptop. I have followed the instructions given here: http://bumblebee-project.org/install.html and https://wiki.ubuntu.com/Bumblebee#Installation , but I'm getting the following error when I try to complete the last step.

andrew@Jeffrey:~$ sudo apt-get install bumblebee bumblebee-nvidia
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package bumblebee
E: Unable to locate package bumblebee-nvidia

Can anyone help me? Thanks!

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu Edit question
Assignee:
No assignee Edit question
Solved by:
Jason
Solved:
Last query:
Last reply:
Revision history for this message
actionparsnip (andrew-woodhead666) said :
#1

What is the output of:

uname -a; lsb_release -a; hostory | grep add-apt

Thanks

Revision history for this message
Andrew Cleland (alcleland) said :
#2

This is what I get:

Linux Jeffrey 3.2.0-38-generic #61-Ubuntu SMP Tue Feb 19 12:18:21 UTC 2013 x86_64 x86_64 x86_64 GNU/Linux
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 12.04.2 LTS
Release: 12.04
Codename: precise
hostory: command not found

Revision history for this message
Best Jason (zzs) said :
#3

Please run
    sudo add-apt-repository ppa:bumblebee/stable

    sudo add-apt-repository ppa:ubuntu-x-swat/x-updates

    sudo apt-get update

then
    sudo apt-get install bumblebee bumblebee-nvidia linux-headers-generic

and
    Reboot or re-login

if you still cannot install, please post the output of
sudo apt-cache search bumblebee

Revision history for this message
Andrew Cleland (alcleland) said :
#4

Thanks Jason Zhang, that solved my question.

Revision history for this message
actionparsnip (andrew-woodhead666) said :
#5

Then you didn't follow the instructions like you said you did in the initial question. Read your second link you gave. The commands will look familiar......... *shrug*

Revision history for this message
Andrew Cleland (alcleland) said :
#6

Well I am a bit puzzled why it didn't work the first and second time I tried! The only difference is that I restarted between the "get update command" and the install bumblebee command. I don't know why that would affect it. But then, I am a complete noob in linux.

Thanks to both of you for your help! It's working great now.