This is the first post about Ubuntu written in English by me, so I would like suggestions that can help me to make it better.
This procedure can damage your system, so make sure you understand the risks.
First step is authenticate at Terminal like root:
$ sudo -i
After this we need to add Oneiric repository with Natty repositories using the following command:
# echo "deb http://br.archive.ubuntu.com/ubuntu/ oneiric main" >> /etc/apt/sources.list
Now is needed to create an APT rule that say to application: just update kernel packages using Oneiric repository keeping other packages with Natty repositories.
# touch /etc/apt/preferences.d/30-oneiric # echo "Package: * Pin: release n=natty Pin-Priority: 900 Package: * Pin: release n=oneiric Pin-Priority: 800 Package: linux-image-generic Pin: release n=oneiric Pin-Priority: 900 Package: linux-headers-generic Pin: release n=oneiric Pin-Priority: 900 Package: linux-libc-dev Pin: release n=oneiric Pin-Priority: 900 Package: module-init-tools Pin: release n=oneiric Pin-Priority: 900 Package: procps Pin: release n=oneiric Pin-Priority: 900 Package: nvidia-common Pin: release n=oneiric Pin-Priority: 900" > /etc/apt/preferences.d/30-oneiric
Finally you need to upgrade the system normally:
# apt-get update; apt-get dist-upgrade -y
Just the Kernel 3.0 packages will be installed through Oneiric repository. That’s it!
References
http://marcin.juszkiewicz.com.pl/2011/06/20/linux-3-0-under-ubuntu-natty-11-04/
Follow me on Twitter: @tiagoscd!
All the best,
Tiago Hillebrandt