Page 1 of 2 12 LastLast
Results 1 to 10 of 15

Thread: Updating to the latest stable kernel in Ubuntu 12.04 LTS

  1. #1
    Join Date
    Aug 2011
    Location
    United States of America
    Beans
    183
    Distro
    Ubuntu 14.04 Trusty Tahr

    Question Updating to the latest stable kernel in Ubuntu 12.04 LTS

    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!!"

  2. #2
    Join Date
    Jul 2006
    Location
    Castrum, Germania Secunda
    Beans
    1,071

    Re: Updating to the latest stable kernel in Ubuntu 12.04 LTS

    Quote Originally Posted by mdavis1231 View Post
    Could someone tell me how I would go about safely updating to the newest stable kernel in Ubuntu 12.04 LTS? Thanks!
    Enter this in the terminal:
    Code:
    sudo apt-get update && sudo apt-get upgrade && sudo apt-get dist-upgrade
    That should do it.

    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.

  3. #3
    Join Date
    May 2006
    Location
    Boston
    Beans
    1,918
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: Updating to the latest stable kernel in Ubuntu 12.04 LTS

    install kernel
    Code:
    sudo apt-get install linux-image-*
    sudo apt-get update && sudo apt-get upgrade
    list your current kernel
    Code:
    uname -a
    Last edited by fdrake; January 7th, 2013 at 12:50 AM.

    blog
    Donations BTC : 12FwoB7uAM5FnweykpR1AEEDVFaTLTYFkS
    DOUBLEPLUSGOOD!!

  4. #4
    Join Date
    May 2006
    Location
    Boston
    Beans
    1,918
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: Updating to the latest stable kernel in Ubuntu 12.04 LTS

    Quote Originally Posted by Pjotr123 View Post
    Enter this in the terminal:
    Code:
    sudo apt-get update && sudo apt-get upgrade && sudo apt-get dist-upgrade
    That should do it.

    In case you mean something else, namely the newest stable kernel from the kernel team:
    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.

    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

    blog
    Donations BTC : 12FwoB7uAM5FnweykpR1AEEDVFaTLTYFkS
    DOUBLEPLUSGOOD!!

  5. #5
    Join Date
    Oct 2005
    Location
    INDY
    Beans
    Hidden!
    Distro
    Ubuntu Development Release

    Re: Updating to the latest stable kernel in Ubuntu 12.04 LTS

    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!

  6. #6
    Join Date
    May 2006
    Location
    Boston
    Beans
    1,918
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: Updating to the latest stable kernel in Ubuntu 12.04 LTS

    Quote Originally Posted by arpanaut View Post
    dist-upgrade is not the command to upgrade to a newer release see:
    Code:
    man apt-get
    you are right.. I always thought (since I use upgrade command) that it did upgrade the release version too
    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.
    ps : I edited my post.

    blog
    Donations BTC : 12FwoB7uAM5FnweykpR1AEEDVFaTLTYFkS
    DOUBLEPLUSGOOD!!

  7. #7
    Join Date
    Dec 2012
    Location
    USA
    Beans
    185
    Distro
    Ubuntu 14.04 Trusty Tahr

    Re: Updating to the latest stable kernel in Ubuntu 12.04 LTS

    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.

  8. #8
    Join Date
    Aug 2011
    Location
    United States of America
    Beans
    183
    Distro
    Ubuntu 14.04 Trusty Tahr

    Exclamation Re: Updating to the latest stable kernel in Ubuntu 12.04 LTS

    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!!"

  9. #9
    Join Date
    Apr 2008
    Location
    Australian in Germany
    Beans
    4,010
    Distro
    Ubuntu 10.10 Maverick Meerkat

    Re: Updating to the latest stable kernel in Ubuntu 12.04 LTS

    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

  10. #10
    Join Date
    May 2012
    Beans
    277

    Re: Updating to the latest stable kernel in Ubuntu 12.04 LTS

    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.

Page 1 of 2 12 LastLast

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •