Difference between revisions of "Hood Upgrade to Ubuntu 20.04 20210311"
(→Upgrade Attempt) |
|||
(14 intermediate revisions by the same user not shown) | |||
Line 14: | Line 14: | ||
Codename: bionic | Codename: bionic | ||
− | = Remove = | + | = 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. | ||
+ | |||
+ | [[File: ShowApplicationsIcon.png | 100px]] | ||
+ | |||
+ | |||
+ | Performed a search for the "Software & Updates" application. See icon second from the left below. | ||
+ | |||
+ | [[File: SoftwareAndUpdatesIcon.png | 600px]] | ||
+ | |||
+ | |||
+ | 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. | ||
+ | |||
+ | [[File: CouldNotCalculateAgain.png | 900px]] | ||
+ | |||
+ | |||
+ | In the "Software & Updates" application select the "Other Software" tab. | ||
+ | |||
+ | [[File: SoftwareAndUpdates.png | 600px]] | ||
+ | |||
+ | |||
+ | 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. | ||
+ | |||
+ | [[File: SoftwareAndUpdatesOtherSoftware.png | 600px]] | ||
+ | |||
+ | |||
+ | 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. | ||
+ | |||
+ | [[File: ROSWarning.png | 600px]] | ||
+ | |||
+ | = 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 = | = Notes and Logs = | ||
* [[Ubuntu 20.04 Hood NUC Upgrade 20210311 Notes and Log]] | * [[Ubuntu 20.04 Hood NUC Upgrade 20210311 Notes and Log]] |
Latest revision as of 21:42, 28 June 2021
Contents
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.
Performed a search for the "Software & Updates" application. See icon second from the left below.
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.
In the "Software & Updates" application select the "Other Software" tab.
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.
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.
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