Hood Upgrade to Ubuntu 20.04 20210311

From wikidb
Jump to: navigation, search

References

Sanity Check

Make sure I really know what I have installed

 $ lsb_release -a
       No LSB modules are available.
       Distributor ID:	Ubuntu
       Description:	Ubuntu 18.04.5 LTS
       Release:	18.04
       Codename:	bionic

Upgrade Attempt

Note: All the windows and icons in this section are captured from Ubuntu 20.04.

In the lower left corner on the Ubuntu desktop I selected the "Show Applications" icon.

ShowApplicationsIcon.png


Performed a search for the "Software & Updates" application. See icon second from the left below.

SoftwareAndUpdatesIcon.png


Do an install updates. An upgrade to 20.04 results in an error. Received a "Could not calculate upgrade" message. The process of doing an Ubuntu upgrade is finicky.

CouldNotCalculateAgain.png


In the "Software & Updates" application select the "Other Software" tab.

SoftwareAndUpdates.png


The updater may not know how to upgrade this software so deselect all other software, for example, the RealSeanse packages. Deselect all other software and close. Go back to the main window.

SoftwareAndUpdatesOtherSoftware.png


This is another clue along the way that appeared someplace during one of the upgrades. I also remove ROS 2 Dashing with an explicit command. See next section.

ROSWarning.png

Remove Potential Problem Software

Removing potential software in hopes that the upgrade will go well. See Notes and Log line at the bottom of this page.

 $ sudo apt remove ros-dashing-* && sudo apt autoremove
       [sudo] password for eepp: 
       Reading package lists... Done
       Building dependency tree       
       Reading state information... Done
       Note, selecting 'ros-dashing-rosidl-typesupport-fastrtps-cpp' for glob 'ros-dashing-*'
       Note, selecting 'ros-dashing-urdfdom-headers' for glob 'ros-dashing-*'

Another Upgrade Attempt

  • This time it calculated an upgrade
  • OK upgrade
  • Say yest to remove some stuff
  • Replace customized configurations
  • May have to repeat some of these steps.
  • This was not a smooth process because of the other software that was installed. Cleaning that up was a trial and error process. They may not have all been recorded.

Another Sanity Check

Looks like the upgrade completed successfully

$ lsb_release -a
       No LSB modules are available.
       Distributor ID:	Ubuntu
       Description:	Ubuntu 20.04.2 LTS
       Release:	        20.04
       Codename:	focal

Looks like we are using about 16% of the file system.

$df
       Filesystem     1K-blocks     Used Available Use% Mounted on
       udev             8134052        0   8134052   0% /dev
       tmpfs            1632496     1644   1630852   1% /run
       /dev/sda1      114854020 16868608  92108064  16% /
       ...
       ...

Looks like there is no optional software installed - i.e. ROS 2 Dashing is no longer there.

$ ls /opt
       ls: cannot access '/opt': No such file or directory

Notes and Logs