Could someone tell me how I would go about safely updating to the newest stable kernel in Ubuntu 12.04 LTS? Thanks!
Could someone tell me how I would go about safely updating to the newest stable kernel in Ubuntu 12.04 LTS? Thanks!
Mark in Cincinnati
"It's great to be free from *******...YIPPEE!!"
Enter this in the terminal:
That should do it.Code:sudo apt-get update && sudo apt-get upgrade && sudo apt-get dist-upgrade
In case you mean something else, namely the newest stable kernel from upstream (the kernel team), that's a no-no: expect frequent breakage and many unsolvable bugs, when using a kernel that's not part of a stable Ubuntu release.
In a sense, the kernel *is* the operating system. The rest is "just" a layer around it. This layer needs to be finely tuned and adjusted to the kernel, otherwise all kinds of things will go horribly wrong.
Last edited by Pjotr123; January 7th, 2013 at 12:15 AM.
install kernel
list your current kernelCode:sudo apt-get install linux-image-* sudo apt-get update && sudo apt-get upgrade
Code:uname -a
Last edited by fdrake; January 7th, 2013 at 12:50 AM.
i don't think the OP wants to upgrade the release version of ubuntu(from 12.04 to 12.10). S/He wants to use release 12.04 but with the lates kernel available for it. And since 12.04 is a long term release there is not need to upgrade the release in order to upgrade the kernel.
Last edited by fdrake; January 7th, 2013 at 12:44 AM. Reason: wrong/incorrect
dist-upgrade is not the command to upgrade to a newer release see:
Code:man apt-get
Castles Made of Sand,
Fall in the Sea,
Eventually!
you are right.. I always thought (since I use upgrade command) that it did upgrade the release version too
ps : I edited my post.upgrade
upgrade is used to install the newest versions of all packages currently installed on the
system from the sources enumerated in /etc/apt/sources.list. Packages currently installed
with new versions available are retrieved and upgraded; under no circumstances are
currently installed packages removed, or packages not already installed retrieved and
installed. New versions of currently installed packages that cannot be upgraded without
changing the install status of another package will be left at their current version. An
update must be performed first so that apt-get knows that new versions of packages are
available.
dist-upgrade
dist-upgrade in addition to performing the function of upgrade, also intelligently
handles changing dependencies with new versions of packages; apt-get has a "smart"
conflict resolution system, and it will attempt to upgrade the most important packages at
the expense of less important ones if necessary. The dist-upgrade command may therefore
remove some packages. The /etc/apt/sources.list file contains a list of locations from
which to retrieve desired package files. See also apt_preferences(5) for a mechanism for
overriding the general settings for individual packages.
This is the method that I used to Update to Linux Kernel 3.7.1...
http://www.upubuntu.com/2012/12/inst...on-ubuntu.html
I have been running it since it was first posted on December 18th 2012 and I have had no problems in that time.
No, I'm not wanting to upgrade to 12.10. I'm wanting to stick with 12.04 LTS, but have the latest stable kernel installed.
Mark in Cincinnati
"It's great to be free from *******...YIPPEE!!"
I would advise you to stick to the kernel that the version of Ubuntu you are using supplies. The update manager installs new kernels when they are available and have passed muster. If the repos don't have the absolutely latest kernel in them, there might be a very good reason for that.
Michael
Yeah I would not advise going to the newer kernel in LTS, stability overrules everything and the default kernel in 12.04 is pretty solid overall.
Bookmarks