I posted about this a couple of days ago… upgrading your kernel to version 2.6.39. Because upgrading your kernel to version 2.6.39 with ati video cards is a bit tricky we decided to create a script for it. With the help of nightfly for the coding and some help of me and my laptop for script testing we created 2 scripts. One script for upgrading the kernel for those who have an nvidia graphic card and one script for those with an ati graphic card. Using the scripts is very easy.. download it, make it executable and run it from a terminal window and let the script do the rest. When the script is finished all there is to do is to restart your computer and run a system update to finish the installation of the new kernel.
Download the patch you need and when downloaded go to your Downloads folder and click with your right mouse on the patch file. Now select Properties and click on the Permissions tab and mark Allow executing file as a program. When done click on the close button and open a terminal window (press Ctrl+Alt+T) then copy+paste one of the following lines:
./Downloads/kernel-2.6.39-upgrade-ati-driver-install-and-fglrx-fix-patch.sh
or
./Downloads/kernel-2.6.39-upgrade-nvidia-patch.sh
Download the script you need here:
Download patch for ATI
Download patch for Nvidia
Please note that during the installation using the ati script you will get some error messages just click on the close and the cancel buttons if/when they appear.
E: Unable to locate package linux-headers-2.6.39-0
E: Couldn’t find any package by regex ‘linux-headers-2.6.39-0’
E: Unable to locate package linux-headers-2.6.39-0-generic
E: Couldn’t find any package by regex ‘linux-headers-2.6.39-0-generic’
E: Unable to locate package linux-image-2.6.39-0-generic
E: Couldn’t find any package by regex ‘linux-image-2.6.39-0-generic’
Please restart your computer
I get this error even though I follow your steps. Any idea what I’m doing wrong here
What Ubuntu version are you using? We tested it extensively on Ubuntu 11.04. And my buddy Nutellajunkie tried to install them on Ubuntu 10.10 and got the same messages as you did.
I meant to reply, but ended up posting a new one.
ubuntu 11.04 Now I’m wondering if it has anything to do with me doing the whole unity workaround to have the cube effect you know where you where you do the whole disabling the desktop wall feature in compiz. Other than that I haven’t done any other changes. My kernel at this moment is 2.6.38.10-generic I did go from 2.6.38.10 a couple of days ago. When I do the check headers thing it only goes up to the one I’m using right now. The one I’m trying to install doesn’t appear on the list (2.6.39.0)
I went from 2.6.38. something to 2.6.38.10 it’s what I meant. Mind you everything runs smooth for me at the moment it’s just one of those things that just bothers me ’cause I’m not able to do the way it’s explained all over the net.
try adding the ppa and installing the kernel manually…
copy+paste the following lines in your terminal window:
sudo add-apt-repository ppa:kernel-ppa/ppa
sudo apt-get update && sudo apt-get install linux-headers-2.6.39-0 linux-headers-2.6.39-0-generic linux-image-2.6.39-0-generic –fix-missing
But before you do i would like to know what video card you have.. ati or nvidia. if you have an ati card then you will need to install a new ati driver..
here is a link to my page that will show you how to upgrade the kernel yourself instead of using our script. it shows you how to install the ati driver yourself:
http://www.n00bsonubuntu.net/content/upgrade-your-linux-kernel-to-2-6-39-0-on-ubuntu-11-04-natty-narwhal/
Nvidia video card, I’ll try what you’re telling me and I’ll let you know how it went in a few. I appreciate your time and help.
Nvidia video card
Cool … then i will go get me some coffee… want some too?
Reverse Depends:
nvidia-current,linux-headers
fglrx,linux-headers
oss4-dkms,linux-headers
lirc-modules-source,linux-headers
xtables-addons-dkms,linux-headers
oss4-dkms,linux-headers
openswan-modules-source,linux-headers
lirc-modules-source,linux-headers
blcr-dkms,linux-headers
alsa-source,linux-headers
nvidia-current,linux-headers
nvidia-96,linux-headers
nvidia-173,linux-headers
fglrx,linux-headers
bcmwl-kernel-source,linux-headers
dkms,linux-headers
Dependencies:
Provides:
Reverse Provides:
linux-headers-2.6.38-9-virtual 2.6.38-9.43
linux-headers-2.6.38-9-server 2.6.38-9.43
linux-headers-2.6.38-9-generic 2.6.38-9.43
linux-headers-2.6.38-9 2.6.38-9.43
linux-headers-2.6.38-10-virtual 2.6.38-10.46
linux-headers-2.6.38-10-server 2.6.38-10.46
linux-headers-2.6.38-10-generic 2.6.38-10.46
linux-headers-2.6.38-10 2.6.38-10.46
linux-headers-2.6.38-8-virtual 2.6.38-8.42
linux-headers-2.6.38-8-server 2.6.38-8.42
linux-headers-2.6.38-8-generic 2.6.38-8.42
linux-headers-2.6.38-8 2.6.38-8.42
This is what I get.
Does it add the ppa? when you enter the first line (sudo add-apt-repository ppa:kernel-ppa/ppa) in your terminal window what is the result? it should look like this: tinuz@PC1-1104-64b:~$ sudo add-apt-repository ppa:kernel-ppa/ppa Executing: gpg –ignore-time-conflict –no-options –no-default-keyring –secret-keyring /etc/apt/secring.gpg –trustdb-name /etc/apt/trustdb.gpg –keyring /etc/apt/trusted.gpg –primary-keyring /etc/apt/trusted.gpg –keyserver hkp://keyserver.ubuntu.com:80/ –recv 800AA67AE64A6D9E1859C561A8267963484B044F gpg: requesting key 484B044F from hkp server keyserver.ubuntu.com gpg: key 484B044F: public key “Launchpad PPA for Ubuntu Kernel PPA” imported gpg: no ultimately trusted keys found gpg: Total number processed: 1 gpg: imported: 1 (RSA: 1) tinuz@PC1-1104-64b:~$ Or if you have added the ppa more then once the end looks like this:… Read more »
I got the second one you posted, but have decided to stay with 2.6.38.10 and try later on as it isn’t happening for me now.
I tried replying to your post, kept getting a message about how I’m looking for something that’s not here. 404 error
I do appreciate your help. So thanks for your time. I find this site very useful.
I had the same problem with leaving a comment, sorry that it’s not working like it’s supposed to…