Results 1 to 10 of 18

Thread: About LTS, upgrade, dist-upgrade, do-release-upgrade

Hybrid View

  1. #1
    Join Date
    Sep 2007
    Beans
    3

    Question About LTS, upgrade, dist-upgrade, do-release-upgrade

    Hi fellas!

    I've been looking for an answer to my questions but can't seem to find any, besides random thoughts and beliefs... So, I'll explain what I think I know and see if anyone can clarify me the rest.

    LTS is a special version released every 2 years offering 5 years of support, meaning the won't be any major or structural changes to the packages in the repositories for that release.

    apt-get upgrade installs new versions of already installed packages if they do not change dependencies, meaning it won't install new packages needed or remove unneeded packages.

    apt-get dist-upgrade will install new packages needed and remove packages that are not needed anymore.

    do-release-upgrade will upgrade to the immediate following version of the currently installed one.

    Questions:

    1. do-release-upgrade on LTS: How will do-release-upgrade behave in LTS versions? Will it upgrade to the next LTS version - i.e. 10.04 to 12.04?
    2. dist-upgrade compatibility with LTS: Will dist-upgrade'ing on an LTS version make it lose any of its LTS-fulness??
    3. Additional thoughts?


    Thanks in advance!

  2. #2
    ibjsb4 is offline Ubuntu addict and loving it
    Join Date
    Sep 2012
    Beans
    5,003

    Re: About LTS, upgrade, dist-upgrade, do-release-upgrade

    Want to see what's going to happen without making any changes? Just add a "-s" to the command.

    http://manpages.ubuntu.com/manpages/...upgrade.8.html

    http://manpages.ubuntu.com/manpages/...apt-get.8.html

  3. #3
    Join Date
    Jan 2008
    Beans
    7,749

    Re: About LTS, upgrade, dist-upgrade, do-release-upgrade

    1. From https://help.ubuntu.com/community/Upgrades

    Upgrade policy

    Check the file /etc/update-manager/release-upgrades. Prompt=normal is needed when upgrading from any version to a newer version, Prompt=never will never upgrade your OS. Prompt=lts will make sure you upgrade from LTS to LTS. You need to be root to edit this file.

    Via the GUI:

    On the Update manager, click on Settings...

    Select the Updates Tab

    Where it says Release Upgrade, Show new distribution releases choose Normal Releases or LTS Releases
    2. I personally only use and recommend 'dist-upgrade' which is also the same action as using the GUI Update Manager.

    For more info: https://help.ubuntu.com/community/UpgradeNotes

  4. #4
    Join Date
    Aug 2009
    Location
    Pair a dice
    Beans
    Hidden!
    Distro
    Xubuntu 16.04 Xenial Xerus

    Re: About LTS, upgrade, dist-upgrade, do-release-upgrade

    When I entered sudo do-release-upgrade -s

    I got this:
    Code:
    cavsfan@cavsfan-desktop:~$ sudo do-release-upgrade -s
    Checking for a new ubuntu release
    Done Upgrade tool signature
    Done Upgrade tool
    Done downloading            
    authenticate 'precise.tar.gz' against 'precise.tar.gz.gpg' 
    extracting 'precise.tar.gz'
    [screen is terminating]
    and then this:
    Code:
    Reading cache
    
    Checking package manager
    mount: wrong fs type, bad option, bad superblock on none,
           missing codepage or helper program, or other error
           (for several filesystems (e.g. nfs, cifs) you might
           need a /sbin/mount.<type> helper program)
           In some cases useful info is found in syslog - try
           dmesg | tail  or so
    
    
    Sandbox setup failed 
    
    It was not possible to create the sandbox environment. 
    
    
    Preparing the upgrade failed 
    
    Preparing the system for the upgrade failed so a bug reporting 
    process is being started. 
    === Command terminated with exit status 1 (Thu Feb  7 10:58:16 2013) ===
    Is this going to prevent me from upgrading from 10.04 to 12.04?
    Check Java Version | Install Java via WEB UPD8 PPA
    Creating a Custom Maintenance Free GRUB2 Screen Community Wiki
    Intel Core2 Quad CPU Q9550 @ 2.84Ghz. 4.0GB DDR2 RAM, NVIDIA Geforce 9800 GT

  5. #5
    ibjsb4 is offline Ubuntu addict and loving it
    Join Date
    Sep 2012
    Beans
    5,003

    Re: About LTS, upgrade, dist-upgrade, do-release-upgrade

    You can still go ahead and do-release-upgrade without upgrading.

    Go ahead and enter the command and it will stop at:

    Continue [yN] Details [d]

    You can either continue from there or see the details (d).

  6. #6
    Join Date
    Aug 2009
    Location
    Pair a dice
    Beans
    Hidden!
    Distro
    Xubuntu 16.04 Xenial Xerus

    Re: About LTS, upgrade, dist-upgrade, do-release-upgrade

    Quote Originally Posted by ibjsb4 View Post
    You can still go ahead and do-release-upgrade without upgrading.

    Go ahead and enter the command and it will stop at:

    Continue [yN] Details [d]

    You can either continue from there or see the details (d).
    ^^ That was bad advice. It did not give me any option to continue Y/n. It just changed all my software sources from lucid to precise and disabled others
    then paused and said press Enter to continue. I had to kill the terminal to prevent it from going ahead and doing the upgrade.
    And I most certainly do NOT want to upgrade at this time.
    Now I have to change the precise back to lucid, enable the sources it disabled and hope that is all it did.

    I hope no one else tries this.

    I'll post back my results.
    Check Java Version | Install Java via WEB UPD8 PPA
    Creating a Custom Maintenance Free GRUB2 Screen Community Wiki
    Intel Core2 Quad CPU Q9550 @ 2.84Ghz. 4.0GB DDR2 RAM, NVIDIA Geforce 9800 GT

  7. #7
    ibjsb4 is offline Ubuntu addict and loving it
    Join Date
    Sep 2012
    Beans
    5,003

    Re: About LTS, upgrade, dist-upgrade, do-release-upgrade

    I do not know why that happen, but I am sorry.

    I tried it myself before posting, that is why I knew exactly what it said.

    But again sorry

  8. #8
    Join Date
    Oct 2006
    Location
    Ayrshire.
    Beans
    46,317
    Distro
    Ubuntu Development Release

    Re: About LTS, upgrade, dist-upgrade, do-release-upgrade

    Quote Originally Posted by ast3citos View Post
    LTS is a special version released every 2 years offering 5 years of support, meaning the won't be any major or structural changes to the packages in the repositories for that release.
    Not strictly true, at least not any more.

    12.04.2 will see a backported Hardware Enablement stack. Mainly a new kernel and graphics subsystem.

  9. #9
    Join Date
    Jun 2010
    Location
    London, England
    Beans
    Hidden!
    Distro
    Ubuntu Development Release

    Re: About LTS, upgrade, dist-upgrade, do-release-upgrade

    LTS is a special version released every 2 years offering 5 years of support, meaning the won't be any major or structural changes to the packages in the repositories for that release.
    This statement is inaccurate. If you look at the LTS release schedule you will see that there are planned upgrades to 12.04 LTS other than security fixes. In fact 12.04 has already had one upgrade and is about to get another.

    https://wiki.ubuntu.com/PrecisePangolin/ReleaseSchedule

    Release date: 28th April 2012 Ubuntu 12.04 LTS
    Release date: 23rd August 2012 Ubuntu 12.04.1 LTS
    Release date: 14th February 2013 Ubuntu 12.04.2 LTS
    Release date: 15th August 2013 Ubuntu 12.04.3 LTS
    Release date: 24th January 2014 Ubuntu 12.04.4 LTS.

    Ubuntu 12.04 is no longer available. We now have Ubuntu 12.04.1 and in a few days we will get 12.04.2.

    This will bring a change from the Linux kernel 3.2.0 series currently in Ubuntu 12.04 to Linux kernel 3.5.0 series that is in Ubuntu 12.10. I have tested this ungrade.

    Ubuntu 12.04.2 will also change from Grub 1.99 to Grub 2.0. This will change the look of the boot loader menu. There will be sub-menu of Advanced Options that contain those earlier Linux kernels and Recovery Mode.

    You most likely will get later versions of application like Libreoffice and Firefox. Ubuntu 13.04 is about to gret Libreoffice 4. It already has Firefox 19. Should LTS users not also benefit from the latest applications?

    The promise of five support should not be taken to mean no improvements to the distribution. In fact, we should expect improvements over the five year period.

    Work is being done on the Ubuntu mobile phone OS to reduce memory usage. This will benefit the Ubuntu desktop version. In fact these benfits are already coming through.

    Memory usage on my machine with 12.04 is about 70% of 1GB but with 13.04 it is about 50% of 1GB. These improvements must be brought into the LTS release for the benefit of all users.

    At the moment Ubuntu 12.10 is the only Ubuntu that can install on a secure boot enabled computer. This means that anyone choosing to use LTS cannot install Ubuntu on the newest hardware. Should things stay that way until 14.04 LTS is released? So, expect Ubuntu 12.04 to get the signed kernel that 12.10 has and 13.04 will have.

    Also expect 12.04 to get the vastly improved Unity user interface that is now in 13.04 at some point in the future. I would not be surprised if Ubuntu 12.04.04 looks very similar to Ubuntu 13.10.

    Regards.
    Last edited by grahammechanical; February 8th, 2013 at 03:53 PM.
    It is a machine. It is more stupid than we are. It will not stop us from doing stupid things.
    Ubuntu user #33,200. Linux user #530,530


Tags for this Thread

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
  •