Difference between revisions of "Sisters Upgrade to Ubuntu 18.04 202004"

From wikidb
Jump to: navigation, search
 
(12 intermediate revisions by the same user not shown)
Line 1: Line 1:
 +
= Note =
 +
 +
The 18.04 Ubuntu upgrade process was not compatible with ROS Kinetic and other software installed for Ubuntu 16.04. It took some hair pulling to get the install to work.
 +
Compare with the clean 18.04 install.
 +
 +
* [[Hood NUC Ubuntu 18.04]]
 +
** [https://ubuntu.com/tutorials/tutorial-install-ubuntu-desktop#1-overview Ubuntu Desktop Install]
 +
 
= References =
 
= References =
  
* [https://wiki.ubuntu.com/BionicBeaver/ReleaseNotes Ubuntu 18.04 Release Notes}
+
* [https://wiki.ubuntu.com/BionicBeaver/ReleaseNotes Ubuntu 18.04 Release Notes]
  
 
= Upgrade From Ubuntu 16.04 =
 
= Upgrade From Ubuntu 16.04 =
Line 8: Line 16:
  
 
To upgrade on a desktop system:
 
To upgrade on a desktop system:
 +
 +
==  Ubuntu Version Notify - Long Term Only ==
  
 
* Open the "Software & Updates" Setting in System Settings. "System Settings" is the gear icon. "Software & Updates" are in the "System" section.
 
* Open the "Software & Updates" Setting in System Settings. "System Settings" is the gear icon. "Software & Updates" are in the "System" section.
 
* Select the 3rd Tab called "Updates".
 
* Select the 3rd Tab called "Updates".
 
* Set the "Notify me of a new Ubuntu version" drop down menu to "For long-term support versions" if you are using 16.04 LTS; set it to "For any new version" if you are using 17.10. This was already set this way
 
* Set the "Notify me of a new Ubuntu version" drop down menu to "For long-term support versions" if you are using 16.04 LTS; set it to "For any new version" if you are using 17.10. This was already set this way
* Press Alt+F2 and type  update-manager -c  into the command box. Just open a terminal window. failed with
 
** connected wired
 
** https://askubuntu.com/questions/141512/how-to-resolve-failed-to-download-repository-information
 
** clean, update and upgrade did not owrk
 
** typed the update-manager -c command againg. in "Ubuntu Software" tabe "Download from other ..." "selct Best Server" choose server
 
** info was out of date so uploaded
 
** failed with the same error message
 
** let software updated run
 
** failed again
 
  
** rebooted
+
== Update Manager - part 1 upgrade 16.04 ==
** settings - the gear
+
 
** Wireless - turn it off
+
* Press Alt+F2 and type  update-manager -c  into the command box. Just open a terminal window.
 +
 
 +
  $ update-manager -c
 +
 
 +
These are the issues that had to be fixed before this would work
 +
 
 +
* '''Error''': "Failed to download repository information"
 +
* [https://itsfoss.com/failed-to-download-repository-information-ubuntu-13-04/ Failed To download Repository Information Ubuntu 13-04/]
  
** changed upload site manually
+
This is an issue with "Other Software" (third) party items in the repository list. I solved this problem by disabling all third party repositories, in particular: ROS Kinetic, Realsense and PPA. These package must have been incompatible. Now it let me upgrade the current 16.04 system.
** froom mirrors.accretive-neworks.net/ubuntu
+
** mirror.uoregon.edu/ubuntu
+
* Update Manager should open up and tell you that Ubuntu 18.04 LTS is now available.
+
* If not you can run  /usr/lib/ubuntu-release-upgrader/check-new-release-gtk
+
* Click Upgrade and follow the on-screen instructions.
+
  
 +
Follow this desktop link: Settings (gear icon) -> "Other Software" Tab. Uncheck all of them, authenticate, update and do anything else it requests.
  
* other references
+
== Upgrade Manager - part 2 upgrade to 18.04 ==
** https://askubuntu.com/questions/815461/failed-to-download-repository-information-software-updater
+
This did it.
+
now I ran update-manager -c
+
  
gave me the messge "The sortware on this computer is up todate. However . Ubuntuo 18.04 LTS is now afailabe (your have 16.04)
+
  $ update-manager -c
  
pressed "Upgrade" button
+
* This time the Update Manager should open up and tell me that "the software on this computer is up to date and Ubuntu 18.04 LTS is now available. I selected the button that says upgrade to 18.04. I got info measures about some third party software being disabled.
some third part entries in you sorrces.list disable - may enable them latter
+
* '''Error''': "Could Not Calculate the Upgrade"
 +
* [https://askubuntu.com/questions/360293/could-not-calculate-the-upgrade-what-happened Could Not Calculate the Upgrade]
  
could not calculate upgreade
+
  sudo apt-get remove ros-*
  
doesn like ros kenetic
+
== Follow 18.04 Install Instructions ==
 +
* Click Upgrade and follow the on-screen instructions
  
 +
  $ update-manager -c
 +
        ...
 +
        57 pacages not support
 +
        88 removed
 +
        1902 upgraded
 +
        ...
  
 +
= Disk Usage =
  
https://askubuntu.com/questions/360293/could-not-calculate-the-upgrade-what-happened
+
  $ df
 +
      Filesystem    1K-blocks    Used Available Use% Mounted on
 +
      udev            3994984        0  3994984  0% /dev
 +
      tmpfs            803476    2144    801332  1% /run
 +
      /dev/sda5      92535808 34010196  53801952  39% /
 +
      tmpfs            4017380    11700  4005680  1% /dev/shm
 +
      tmpfs              5120        4      5116  1% /run/lock
 +
      tmpfs            4017380        0  4017380  0% /sys/fs/cgroup
 +
      /dev/loop0        96128    96128        0 100% /snap/core/8935
 +
      /dev/loop2        15104    15104        0 100% /snap/gnome-characters/495
 +
      /dev/loop1          3840    3840        0 100% /snap/gnome-system-monitor/135
 +
      /dev/loop4        56320    56320        0 100% /snap/core18/1705
 +
      /dev/loop3          1024    1024        0 100% /snap/gnome-logs/93
 +
      /dev/loop5        164096  164096        0 100% /snap/gnome-3-28-1804/116
 +
      /dev/loop6        144128  144128        0 100% /snap/gnome-3-26-1604/98
 +
      /dev/loop7        56192    56192        0 100% /snap/gtk-common-themes/1502
 +
      /dev/loop8          4480    4480        0 100% /snap/gnome-calculator/704
 +
      /dev/sda1        507904    69760    438144  14% /boot/efi
 +
      tmpfs            803476      16    803460  1% /run/user/125
 +
      tmpfs            803476      28    803448  1% /run/user/1000

Latest revision as of 19:13, 28 April 2020

Note

The 18.04 Ubuntu upgrade process was not compatible with ROS Kinetic and other software installed for Ubuntu 16.04. It took some hair pulling to get the install to work. Compare with the clean 18.04 install.

References

Upgrade From Ubuntu 16.04

Instructions from 18.04 Release Notes referenced above

To upgrade on a desktop system:

Ubuntu Version Notify - Long Term Only

  • Open the "Software & Updates" Setting in System Settings. "System Settings" is the gear icon. "Software & Updates" are in the "System" section.
  • Select the 3rd Tab called "Updates".
  • Set the "Notify me of a new Ubuntu version" drop down menu to "For long-term support versions" if you are using 16.04 LTS; set it to "For any new version" if you are using 17.10. This was already set this way

Update Manager - part 1 upgrade 16.04

  • Press Alt+F2 and type update-manager -c into the command box. Just open a terminal window.
 $ update-manager -c

These are the issues that had to be fixed before this would work

This is an issue with "Other Software" (third) party items in the repository list. I solved this problem by disabling all third party repositories, in particular: ROS Kinetic, Realsense and PPA. These package must have been incompatible. Now it let me upgrade the current 16.04 system.

Follow this desktop link: Settings (gear icon) -> "Other Software" Tab. Uncheck all of them, authenticate, update and do anything else it requests.

Upgrade Manager - part 2 upgrade to 18.04

 $ update-manager -c
  • This time the Update Manager should open up and tell me that "the software on this computer is up to date and Ubuntu 18.04 LTS is now available. I selected the button that says upgrade to 18.04. I got info measures about some third party software being disabled.
  • Error: "Could Not Calculate the Upgrade"
  • Could Not Calculate the Upgrade
 sudo apt-get remove ros-*

Follow 18.04 Install Instructions

  • Click Upgrade and follow the on-screen instructions
 $ update-manager -c
       ...
       57 pacages not support
       88 removed
       1902 upgraded
       ...

Disk Usage

 $ df
     Filesystem     1K-blocks     Used Available Use% Mounted on
     udev             3994984        0   3994984   0% /dev
     tmpfs             803476     2144    801332   1% /run
     /dev/sda5       92535808 34010196  53801952  39% /
     tmpfs            4017380    11700   4005680   1% /dev/shm
     tmpfs               5120        4      5116   1% /run/lock
     tmpfs            4017380        0   4017380   0% /sys/fs/cgroup
     /dev/loop0         96128    96128         0 100% /snap/core/8935
     /dev/loop2         15104    15104         0 100% /snap/gnome-characters/495
     /dev/loop1          3840     3840         0 100% /snap/gnome-system-monitor/135
     /dev/loop4         56320    56320         0 100% /snap/core18/1705
     /dev/loop3          1024     1024         0 100% /snap/gnome-logs/93
     /dev/loop5        164096   164096         0 100% /snap/gnome-3-28-1804/116
     /dev/loop6        144128   144128         0 100% /snap/gnome-3-26-1604/98
     /dev/loop7         56192    56192         0 100% /snap/gtk-common-themes/1502
     /dev/loop8          4480     4480         0 100% /snap/gnome-calculator/704
     /dev/sda1         507904    69760    438144  14% /boot/efi
     tmpfs             803476       16    803460   1% /run/user/125
     tmpfs             803476       28    803448   1% /run/user/1000