Reply to topic

system won't update to 18.04

joemo
Registered Member
Posts
4
Karma
0

system won't update to 18.04

Mon Oct 29, 2018 2:41 pm
I think I received a notification to upgrade a few weeks ago but didn't want to do it at the time. Now I am ready but my system doesn't show an update available anymore. I've tried "apt update/upgrade" and do-release-upgrade and "apt dist-upgrade". None of which show any available upgrades. I accept that I could have caused the problem but cannot find a way to trigger the upgrade. Can anyone offer some suggestions?
User avatar fredhoud
Registered Member
Posts
97
Karma
1
OS

Re: system won't update to 18.04

Tue Oct 30, 2018 8:43 pm
You'd be better off to do a clean fresh install, as you'd get a much better result. Even though I was able to upgrade all my computers, I ended up reformatting one computer and saw a big difference. Then I ended up reformatting all of my computers, and it was worth it in my opinion! ;)
gfielding
Registered Member
Posts
106
Karma
0
OS

Re: system won't update to 18.04

Tue Oct 30, 2018 9:04 pm
I agree it is always worthwhile doing a fresh install.
joemo
Registered Member
Posts
4
Karma
0

Re: system won't update to 18.04

Wed Oct 31, 2018 6:13 pm
Agreed but I'm going to take my chances. I'm backed up. Any tips have to trigger the upgrade?
User avatar dbergstein
Registered Member
Posts
10
Karma
0
OS

Re: system won't update to 18.04

Wed Oct 31, 2018 8:42 pm
joemo wrote:Agreed but I'm going to take my chances. I'm backed up. Any tips have to trigger the upgrade?


You can try opening konsole and running the command do-release-upgrade. If it works you will be prompted for your password to run the update.
Amadeus_Rush
Registered Member
Posts
2
Karma
0
OS

Re: system won't update to 18.04

Thu Nov 01, 2018 2:22 am
Hello. I tried to run the do-release-upgrade command and get the error:
Code: Select all
Traceback (most recent call last):
  File "/usr/bin/do-release-upgrade", line 135, in <module>
    "%(url)s\n") % { 'url' : url })
ValueError: unsupported format character '?' (0xa) at index 55

What can you do about it?
Amadeus_Rush
Registered Member
Posts
2
Karma
0
OS

Re: system won't update to 18.04

Thu Nov 01, 2018 2:58 am
Amadeus_Rush wrote:What can you do about it?


I commented out the lines to check for support for this version and it worked.
joemo
Registered Member
Posts
4
Karma
0

Re: system won't update to 18.04

Thu Nov 01, 2018 12:26 pm
dbergstein wrote:
joemo wrote:Agreed but I'm going to take my chances. I'm backed up. Any tips have to trigger the upgrade?


You can try opening konsole and running the command do-release-upgrade. If it works you will be prompted for your password to run the update.


Right but per my original post I tried that and it doesn't find a new release.
joemo
Registered Member
Posts
4
Karma
0

Re: system won't update to 18.04

Thu Nov 01, 2018 12:44 pm
I followed the instructions here and it's working...
https://askubuntu.com/questions/1028949 ... 04-upgrade

Why I had to do it this way I don't know.

Code: Select all
If you've selected the traditional Debian path, you're going to need to change the /etc/apt/sources.list file and replace the name of your previous release with bionic. So, if you're on 16.04, replace every instance of xenial with bionic. If you currently have 17.10, replace artful with bionic.

    This process can be automated by using the following sed command:

    $ sudo sed -i 's/xenial/bionic/g' /etc/apt/sources.list

    Then, look in /etc/apt/sources.list.d/. Change any files in there the same way. If you end up getting an error when you try to update Ubuntu, use artful until those repositories are updated.

    Now, you can run the Ubuntu dist upgrade. First, update the Apt sources. Then, run the Ubuntu upgrade.

    $ sudo apt update && sudo apt -y dist-upgrade

    The upgrade should take a bit of time. Chances are, every package on the system will be upgraded. When the Ubuntu upgrade does finish, reboot the system. When the system comes back up, you'll be running Ubuntu 18.04 LTS Bionic Beaver!

 
Reply to topic

Bookmarks



Who is online

Registered users: alavarre, Baidu [Spider], Bing [Bot], dbergstein, Exabot [Bot], Google [Bot], Ico_dY, nboskov, thibautf, ToeiRei, vpinon, Windows User, Yahoo [Bot]