Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free.

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

So, I have problems with nouveau preventing from sleep. I decided to go with the newer kernel than officially available. Should I install kernel from Mainline PPA (I do know it's not real PPA)? If I do, will my kernel be replaced when matching (or newer) kernel is officially released? What is the way to get that effect (being in sync with official repos)?

UPDATE I would like not to go with completely automated newer kernel installation, like with ppa:kernel-ppa/ppa (I mean I don't want installed packages to be updated automatically).

share|improve this question
  1. Add PPA: sudo add-apt-repository ppa:kernel-ppa/ppa

  2. It will asks you for password, so type the password and hit Enter.

  3. Now you need to type the following command: sudo apt-get update.

  4. Type the following command to check did you add Kernel properly: apt-cache showpkg linux-headers and hit Enter.

  5. On the list in the Terminal will be appear latest kernel version if you have add the properly commands.

  6. Finally, type the following command to update your Kernel: sudo apt-get install (WRITE headers from step 5) --fix-missing .

  7. Reboot

share|improve this answer
I'm worried about my kittens... The quality of these packages is such that you had better know what you're doing. Don't come crying to the kernel team if it kills all of your kittens. – Andrew Zabavnikov Aug 16 '14 at 7:47

Okay, I think that if I install mainline kernel it will be "updated" once the newer official one gets released, but only because grub will be updated. So there always be one additional kernel in the system, but I can live with that for now.

share|improve this answer

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.