Results 1 to 9 of 9

Thread: Upgrade 14.04 to 16.04

  1. #1
    Join Date
    May 2015
    Beans
    140

    Upgrade 14.04 to 16.04

    I'm on a totally fresh 14.04, installed today and I've done update and upgrade

    I do:

    sudo do-release-upgrade -d

    ..and I get:

    Leser mellomlager






    Det oppstod en kritisk feil


    Error in sys.excepthook:
    Traceback (most recent call last):
    File "/tmp/ubuntu-release-upgrader-004nn0tc/DistUpgrade/DistUpgradeViewText.py", line 145, in _handleException
    "\n".join(lines))
    File "/tmp/ubuntu-release-upgrader-004nn0tc/DistUpgrade/DistUpgradeViewText.py", line 180, in error
    print(twrap(msg))
    UnicodeEncodeError: 'ascii' codec can't encode character '\xab' in position 170: ordinal not in range(128)


    Original exception was:
    Traceback (most recent call last):
    File "/tmp/ubuntu-release-upgrader-004nn0tc/xenial", line 8, in <module>
    sys.exit(main())
    File "/tmp/ubuntu-release-upgrader-004nn0tc/DistUpgrade/DistUpgradeMain.py", line 242, in main
    if app.run():
    File "/tmp/ubuntu-release-upgrader-004nn0tc/DistUpgrade/DistUpgradeController.py", line 1876, in run
    return self.fullUpgrade()
    File "/tmp/ubuntu-release-upgrader-004nn0tc/DistUpgrade/DistUpgradeController.py", line 1691, in fullUpgrade
    self._view.updateStatus(_("Checking package manager"))
    File "/tmp/ubuntu-release-upgrader-004nn0tc/DistUpgrade/DistUpgradeViewText.py", line 159, in updateStatus
    print(msg)
    UnicodeEncodeError: 'ascii' codec can't encode character '\xe5' in position 14: ordinal not in range(128)
    === Command terminated with exit status 1 (Thu Jun 23 20:29:20 2016) ===

  2. #2
    Join Date
    May 2015
    Beans
    140

    Re: Upgrade 14.04 to 16.04

    Ok, just did:

    Code:
    LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8 LANGUAGE=en_US.UTF-8 sudo do-release-upgrade -d
    ..and seems to be working now.
    Last edited by vasa1; June 24th, 2016 at 05:50 AM. Reason: Added code tags

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

    Re: Upgrade 14.04 to 16.04

    Do not be surprised if you end up not with 16.04 (xenial xerus) but with yakkety yak, the development version of 16.10. The -d switch in the command do-release-upgrade -d = development version.

    See the section Upgrading to development releases in this wiki page.

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

    If the upgrade is successful you will need to do regular updates over the coming months to get to 16.10 released version .

    Regards
    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


  4. #4
    Join Date
    Feb 2008
    Location
    Land of fire and drought
    Beans
    Hidden!
    Distro
    Xubuntu

    Re: Upgrade 14.04 to 16.04

    Couple of things: if you did a fresh install of 14.04 LTS, why didn't you install 16.04 LTS instead if that's where you wanted to be and could you mark the thread as solved if you require no further support. Thanks. (See green link in my signature.)

  5. #5
    Join Date
    Dec 2007
    Beans
    12,521

    Re: Upgrade 14.04 to 16.04

    Quote Originally Posted by grahammechanical View Post
    Do not be surprised if you end up not with 16.04 (xenial xerus) but with yakkety yak, the development version of 16.10. The -d switch in the command do-release-upgrade -d = development version.

    See the section Upgrading to development releases in this wiki page.

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

    If the upgrade is successful you will need to do regular updates over the coming months to get to 16.10 released version .

    Regards
    If OP wants to stay with 16.04 LTS, maybe choosing the appropriate settings in "Software Sources and Updates" would help?
    Attached Images Attached Images

  6. #6
    Join Date
    Jul 2007
    Location
    Magic City of the Plains
    Beans
    Hidden!
    Distro
    Xubuntu Development Release

    Re: Upgrade 14.04 to 16.04

    Quote Originally Posted by Jason_Hunter View Post
    Ok, just did:

    Code:
    LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8 LANGUAGE=en_US.UTF-8 sudo do-release-upgrade -d
    ..and seems to be working now.
    In addition to what grahammechanical said, if you're not interested in testing Yakkety you should do a clean install of 16.04.

    What does
    Code:
    lsb_release -a
    say?

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

    Re: Upgrade 14.04 to 16.04

    The official method for upgrading 14.04 to 16.04 will not be active until 16.04.1 is ready for release.

    14.04 LTS to LTS upgrades will be enabled with the 16.04.1 LTS point release, in approximately 3 months time.
    https://wiki.ubuntu.com/XenialXerus/ReleaseNotes

    This is why it is difficult to upgrade from 14.04 to 16.04. In fact it is easier to upgrade from 14.04 to 16.10 development version because 16.10 development version is available. Whereas, the LTS to LTS upgrade channel is not yet enabled.

    And yes, I agree, if 14.04 is a new install and the OP wants 16.04, then freshing installing 16.04 is the way to do it.
    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


  8. #8
    Join Date
    May 2015
    Beans
    140

    Re: Upgrade 14.04 to 16.04

    Well, this is the reason. I'm on a hosted ubuntu with sol VPS

    It offers 14.04 as an image and not 16.04. It does however also offer 15.04, but I thought I would have to go through 2 iterations to 15.10 and then to 16.04, instead of from 14.04 to 16.04

    It did however install 16.04 and not 16.10 with the -d switch

    I also found out that 16.04 is not supported on sol vps, so I'm just going to install 15.04 and be done with it. Ticket closed.

  9. #9
    Join Date
    Feb 2008
    Location
    Land of fire and drought
    Beans
    Hidden!
    Distro
    Xubuntu

    Re: Upgrade 14.04 to 16.04

    15.04 is well out of support. I wouldn't go there. Surprised they'd be offering such an obsolete release for install.

    Please mark the thread as 'solved' if you're done here. See green link in my signature. Thanks.

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
  •