Upgrading Ubuntu

During my saga to upgrade my computing, I lost access to my desktop server. IT Services confirmed that I had an old version of openssh, so I upgraded it. Unfortunately, my Ubuntu OS was from 2016 and its build of openssh cannot be upgraded to the newest one, so I have to upgrade.

I have to upgrade three times to go from my version of Ubuntu to the most current one, it’s just how Ubuntu works. The first upgrade went fine, but the second gave me trouble. After running sudo apt update and sudo apt upgrade, sudo do-release-upgrade refused to execute because packages needed updating. Of course that did not make sense because the previous two commands ran, and when rerun I was told everything is up to date and nothing was held back. Computers are fun!

From this StackExchange question, I discovered sudo apt-list --upgradable. Its output told me that 3 packages, all related to r-cran, needed updating. Passing those names to sudo apt upgrade generated error messages about dependencies. So, I used sudo remove to remove them. After removing them, the upgrade process is running smoothly.

Leave a comment

This site uses Akismet to reduce spam. Learn how your comment data is processed.