How to upgrade 18.04/19.04 to Ubuntu 19.10

You can use command line to upgrade Ubuntu server. If you use SSH to log into your Ubuntu server, it is a good idea to keep your OpenSSH session alive by adding the following line in /etc/ssh/sshd_config file on your server.

ClientAliveInterval 60

Save and close the file. Then restart SSH daemon.

sudo systemctl restart ssh

To upgrade to Ubuntu 19.10, run the following command to upgrade existing software. (Please note that if a new kernel is installed while running the following command, you need to reboot system in order to continue the upgrade process.)

sudo apt update && sudo apt dist-upgrade

Then make sure you have update-manager-core package installed.

sudo apt install update-manager-core

Next, edit a configuration file using nano or your preferred command line text editor.

sudo nano /etc/update-manager/release-upgrades

At the bottom of this file, change the value of Prompt from lts to normal.

Prompt=normal

To save a file in Nano text editor, press Ctrl+O, then press Enter to confirm. To exit, press Ctrl+X.

Next, run the following command to begin the upgrade process.

do-release-upgrade

Sample output:

Reading cache

Checking package manager

Continue running under SSH? 

This session appears to be running under ssh. It is not recommended 
to perform a upgrade over ssh currently because in case of failure it 
is harder to recover. 

If you continue, an additional ssh daemon will be started at port 
'1022'. 
Do you want to continue? 

Continue [yN] y

Starting additional sshd 

To make recovery in case of failure easier, an additional sshd will 
be started on port '1022'. If anything goes wrong with the running 
ssh you can still connect to the additional one. 
If you run a firewall, you may need to temporarily open this port. As 
this is potentially dangerous it's not done automatically. You can 
open the port with e.g.: 
'iptables -I INPUT -p tcp --dport 1022 -j ACCEPT' 

To continue please press [ENTER]

Checking package manager
Reading package lists... Done    
Building dependency tree          
Reading state information... Done

Calculating the changes

Calculating the changes
No candidate ver:  initscripts
No candidate ver:  insserv
No candidate ver:  libgdbm3
No candidate ver:  libjson-c2
No candidate ver:  libperl5.22
No candidate ver:  libpython3.5-minimal
No candidate ver:  linux-modules-4.15.0-20-generic
No candidate ver:  python3.5-minimal
No candidate ver:  sysv-rc

Do you want to start the upgrade? 


3 installed packages are no longer supported by Canonical. You can 
still get support from the community. 

55 new packages are going to be installed. 400 packages are going to 
be upgraded. 

You have to download a total of 308 M. This download will take about 
39 minutes with a 1Mbit DSL connection and about 11 hours with a 56k 
modem. 

Fetching and installing the upgrade can take several hours. Once the 
download has finished, the process cannot be canceled. 

 Continue [yN]  Details [d]y

If you are using Ubuntu 19.04, then follow the on-screen instruction to upgrade to Ubuntu 19.10.

If you are using Ubuntu 18.04, then follow the on-screen instruction to upgrade to Ubuntu 19.04 first. After that, follow the same steps to upgrade to Ubuntu 19.10.

Afterwards we must make sure that the GRUB2 bootloader is installed on hard drive /dev/sda:

grub-install /dev/sda

… and update our GRUB2 bootloader configuration:

update-grub
update-initramfs -u

Reboot your Ubuntu server.

reboot

To check your Ubuntu version, run:

lsb_release -a

Sample output:

No LSB modules are available.
Distributor ID:	Ubuntu
Description:	Ubuntu 19.10
Release:	19.10
Codename:	eoan

Should you use the -d option?
The update-manager and do-release-upgrade command come with a -d option, which will cause the system to upgrade to a development release.

Currently, Ubuntu 19.10 is still considered a development release in Ubuntu release cadence, because development of Ubuntu 20.04 isn’t started yet. It will happen one week after the release of Ubuntu 19.10 and we can use the -d option before that happens. When Ubuntu 20.04 enters development, you should not use the -d option.

Tested on these servers:
1. www.dedikuoti.lt – OpenVZ server error after attempt to upgrade “This version of the GNU libs requires kernel version 3.2 or later. No solution.
2. www.dedikuoti.lt – KVM server error after attempt to upgrade “grub2 – grub_file_filters not found after Ubuntu 19.10 upgrade”. Solution install or upgrade existing grub before reboot a server.
3. www.contabo.com – perfect no any errors.
4. www.digitalocean.com – perfect no any errors.
5. www.hostinger.lt – Ubuntu upgrade not possible.

Attention: this update will not work on dedikuoti.lt OpenVZ servers except KVM servers. OpenVZ container will return this message:

This version of the GNU libc requires kernel version 3.2 or later. Please upgrade your kernel before installing glibc.

Conclusion
I hope this tutorial helped you upgrade Ubuntu 18.04 or Ubuntu 19.04 to Ubuntu 19.10.

116 Replies to “How to upgrade 18.04/19.04 to Ubuntu 19.10”

  1. Woah! I’m really loving the template/theme of this site.
    It’s simple, yet effective. A lot of times it’s challenging to get that “perfect balance” between usability and visual appeal.
    I must say you have done a great job with this. Additionally, the blog loads
    very fast for me on Chrome. Outstanding Blog!

  2. I have been browsing online greater thsn three hoirs ass of late, yyet I never discovered any fascinating article like
    yours. It is eautiful price sufficient forr me.
    In my opinion, if all web ownerrs and bloggers made excellent content as you probably did, thee internet can be
    much more helpful than ever before.

  3. Hey just wanted to give you a quick heads up. The words in your post seem to be running off the screen in Opera.

    I’m not sure if this is a formatting issue or something to do with internet browser compatibility but I thought I’d post to let you know.
    The style and design look great though! Hope you get the problem fixed soon. Cheers

  4. Do you have a spam issue on this site; I also am a blogger,
    and I was curious about your situation; many of us have developed some nice practices and we are
    looking to trade techniques with other folks,
    be sure to shoot me an email if interested.

  5. I am really impressed with your writing skills and
    also with the layout on your weblog. Is this a paid theme or did you customize it yourself?
    Anyway keep up the nice quality writing, it is rare to see a
    nice blog like this one these days.

  6. Hi! This is kind of off topic but I need some help from an established blog.
    Is it tough to set up your own blog? I’m not very techincal but I can figure things
    out pretty quick. I’m thinking about making my own but I’m not sure where to
    start. Do you have any tips or suggestions? Many thanks

  7. Wow, amazing weblog structure! How lengthy have you ever
    been running a blog for? you make running a blog glance easy.
    The full look of your site is fantastic, let alone the Heavy Duty Truck content!

    Excellent post. I will immediately bookmark your blog for future reference.

  8. My coder is trying to persuade me to move to .net from
    PHP. I have always disliked the idea because of the expenses.

    But he’s tryiong none the less. I’ve been using Movable-type on various websites for about a year
    and am worried about switching to another platform. I have heard fantastic things about
    blogengine.net. Is there a way I can transfer all my wordpress content into it?

    Any help would be really appreciated!

  9. An outstanding share! I’ve just forwarded this onto a friend who was conducting a little research
    on this. And he in fact bought me lunch simply because I found
    it for him… lol. So allow me to reword this….
    Thank YOU for the meal!! But yeah, thanks for spending some time to talk about this issue here on your site.

  10. iPhone 11 Giveaway – Chance tto Wiin ɑ Free iPhone 11 Ⲣro.
    Whү ɑre wе ցiving away Apple’ѕ smartest flagship phones tο date for free, үou
    asқ? Our Team is elated and deeply humbled ƅy the love and support our readers haᴠe showered ⲟn us
    in all tһese years. We starteԀ witһ practiclly nothing.

  11. Hello, i read your blog from time to time and i own a similar one and i was just wondering if you get a
    lot of spam responses? If so how do you prevent it, any plugin or anything you can suggest?

    I get so much lately it’s driving me insane so any assistance is very much appreciated.

  12. I bought n95 masks at https://www.maskawesome.com/
    Just delivered by DHL very quick while I
    am in isolation at home.  Recommended!

    Hello fantastic website! Does running a blog like this take a great deal of work?
    I have no understanding of computer programming but I was hoping to start my own blog in the near future.

    Anyhow, should you have any ideas or tips for new blog owners please share.
    I understand this is off subject nevertheless I simply
    needed to ask. Thanks!

  13. whoah this blog is excellent i like studying your articles.
    Stay up the great work! You realize, a lot of individuals are looking round for this info, you could help them greatly.

  14. Thank you, I have just been looking for information approximately this subject for a
    long time and yours is the best I’ve discovered till now.
    But, what concerning the bottom line? Are you certain about the source?

  15. I feel this is one of the so much important info for me.

    And i’m happy reading your article. But wanna commentary on some normal things, The web site style is great, the articles is in reality great : D.
    Good process, cheers

  16. First of all I want to say great blog! I had
    a quick question that I’d like to ask if you don’t mind.
    I was interested to know how you center
    yourself and clear your thoughts before writing. I’ve had a difficult time clearing my mind in getting my ideas out
    there. I truly do enjoy writing however it just seems like the first 10 to 15 minutes tend to be wasted just trying to figure out how
    to begin. Any suggestions or tips? Cheers!

  17. I’m truly enjoying the design and layout of your site. It’s a
    very easy on the eyes which makes it much more
    pleasant for me to come here and visit more often. Did
    you hire out a developer to create your theme? Outstanding work!

  18. I’ve been exploring for a bit for any high quality articles or weblog posts on this
    sort of space . Exploring in Yahoo I finally stumbled upon this site.
    Studying this information So i’m satisfied to show that I have an incredibly
    just right uncanny feeling I came upon just what I needed.

    I such a lot unquestionably will make sure to do not omit this website and provides it
    a glance on a relentless basis. http://bigapple.idv.tw/discuz/home.php?mod=space&uid=660611

Leave a Reply

Your email address will not be published. Required fields are marked *