The steps below show you how to upgrade today to Ubuntu 18.10 server [BETA]…. Our previous post showed you how to do the same with Ubuntu desktop… you can find it here...
For students and new users looking for help upgrading to Ubuntu 18.10 (Cosmic Cuttlefish) [BETA] today, the steps below should be a great place to start…. Cosmic Cuttlefish will be released on Octerber 18th, 2018… so if you’re upgrading today, you’ll be upgrading to the [BETA] version…. as the final version isn’t yet available…
The steps below show you how to upgrade from previous versions, Ubuntu 16.04 / 18.04 LTS… this may be an easy way to test the upcoming version against your environment and other application settings…
Remember that 18.10 is still in beta and not ready to be used in production… however you can upgrade to begin testing new features that are coming soon… In most cases, installing a new desktop on your machine might be the best way to go… but some users aren’t that technical.. so they may choose to upgrade instead…
If you’re in the mood to upgrade your Ubuntu desktop today, follow the steps below to get it done… new users and students should find the steps below useful when deciding to upgrade Ubuntu 16.04 / 18.04 LTS…
Step 1: Setup Ubuntu Desktop for Upgrade
Before upgrading Ubuntu server, make sure to update your current installed packages…. This can easily done via the command by runnging the commands below:…
sudo apt update && sudo apt dist-upgrade && sudo apt autoremove
After running the above commands, it’s good to restart your server… this will remove absoletes kernel headers and other packages…
Step 2: Upgrade to Ubuntu 18.10 from 16.04 / 18.04 LTS
Now that your current server is updated, you can now continue to upgrading to Ubuntu 18.10…. Follow the steps below to get it done..
If you’re upgrading over SSH it’s a good idea to edit your SSH configuration file and make sure not to lose your SSH session while upgrading… It may be a bad thing if you to and your system may become currupt… Run the commands below to open SSH server configuration file…
sudo nano /etc/ssh/sshd_config
Then edit the line below to update the ClientAliveIntervar to 90 or more…
Save the file and exit….. then restart SSH server…
sudo systemctl restart ssh
After that, run the commands below to install Ubuntu update-manager-core package if it’s not already installed….
sudo apt install update-manager-core
After that, run the commands below to open update-manager-core configuration file…
sudo nano /etc/update-manager/release-upgrades
Then change the Prompt line from lts to normal
[DEFAULT] # Default prompting behavior, valid options: # # never - Never check for a new release. # normal - Check to see if a new release is available. If more than one new # release is found, the release upgrader will attempt to upgrade to # the release that immediately succeeds the currently-running # release. # lts - Check to see if a new LTS release is available. The upgrader # will attempt to upgrade to the first LTS release available after # the currently-running one. Note that this option should not be # used if the currently-running release is not itself an LTS # release, since in that case the upgrader won't be able to # determine if a newer release is available. Prompt=normal
Save the file and exit
After changing Ubuntu upgrade notification settings, run the commands below to begin upgrading to Ubuntu 18.10 version…..
sudo do-release-upgrade -d
Follow the on-screen instructions…. y = yes and N= No. When prompted whether you wish to upgrade type y for yes.
Do you want to start the upgrade? 1 installed package is no longer supported by Canonical. You can still get support from the community. 2 packages are going to be removed. 64 new packages are going to be installed. 394 packages are going to be upgraded. You have to download a total of 234 M. This download will take about 1 minute with your connection. Installing the upgrade can take several hours. Once the download has finished, the process cannot be canceled. Continue [yN] Details [d] y
Wait for all the newer packages to be downloaded… this may take a while depending on your internet connection speed. After all packages are downloaded, your system will begin upgrading immediately….
Once new packages have finished installing, you’ll be asked whether to remove obsolete packages. Type y here. If you have a system that you have customized, you may wish to enter d to view the list… just in case you may need to reinstall..
Remove obsolete packages? 53 packages are going to be removed. Continue [yN] Details [d]y
Wait for the process to complete, the reboot to finish.. you’ll be notify to reboot.
Restart required To finish the upgrade, a restart is required. If you select 'y' the system will be restarted. Continue [yN] y
When everything is setup correctly, you system should be upgraded to the latest Ubuntu release.
Welcome to Ubuntu 18.10 (GNU/Linux 4.15.0-19-generic x86_64)
Depending on the speed of your Internet, this process may take few minutes to a couple of hours….. after Ubuntu desktop is upgraded, you should be able to restart and start using the new Ubuntu!
You may also like the post below: