Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have just installed Ubuntu 12.04 LTS and noticed that the battery life drastically lower than it was in Windows due to the fact that Optimus was disabled. After some search I have found the Bumblebee project, but I was not able to install it. The problem is as follows the command sudo apt-get install bumblebee bumblebee-nvidia does not work and the output is as follows:

Reading package lists... Done
Building dependency tree       
Reading state information... Done
E: Unable to locate package bumblebee
E: Unable to locate package bumblebee-nvidia

I have tried many things, but since I am a new user I might be missing a key point. Previous commands:

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

seem to work without any problems, but "sudo apt-get update" gives the following output,

W: Duplicate sources.list entry precise/partner i386 Packages (/var/lib/apt/lists/archive.canonical.com_ubuntu_dists_precise_partner_binary-i386_Packages)
W: You may want to run apt-get update to correct these problems

I am really confused about the situation and unable to take any action, help is greatly appreciated. Thanks

share|improve this question

Open a terminal and run the following command:

sudo rm -rf /var/lib/apt/lists/archive.canonical.com_ubuntu_dists_precise_partner_binary-i386_Packages

and then run:

sudo apt-get update

You can then try installing bumblebee:

sudo apt-get install bumblebee bumblebee-nvidia
share|improve this answer
Thanks for the advice, I have tried it yet it did not work. Do you have any other suggestions? – Vesnog Oct 11 '12 at 18:30

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.