[Bug 1611737] Re: Can't upgrade from a release if ros packages are installed from ROS servers

Kyle Fazzari 1611737 at bugs.launchpad.net
Wed Aug 26 17:41:21 UTC 2020


** Description changed:

- This message was appear when upgrade
+ [Impact]
  
- ProblemType: Bug
- DistroRelease: Ubuntu 14.04
- Package: ubuntu-release-upgrader-core 1:0.220.8
- ProcVersionSignature: Ubuntu 3.19.0-66.74~14.04.1-generic 3.19.8-ckt22
- Uname: Linux 3.19.0-66-generic x86_64
- NonfreeKernelModules: nvidia
- ApportVersion: 2.14.1-0ubuntu3.21
- Architecture: amd64
- CrashDB: ubuntu
- CurrentDesktop: Unity
- Date: Wed Aug 10 18:41:24 2016
- InstallationDate: Installed on 2015-09-08 (336 days ago)
- InstallationMedia: Ubuntu 14.04.3 LTS "Trusty Tahr" - Beta amd64 (20150805)
- PackageArchitecture: all
- SourcePackage: ubuntu-release-upgrader
- UpgradeStatus: Upgraded to trusty on 2016-08-10 (0 days ago)
+  * ROS releases are strict about the Ubuntu releases they support. These
+ days a given ROS release only supports one Ubuntu LTS.
+ 
+  * Attempting to upgrade Ubuntu beyond that supported release at best
+ results in an unsupported situation, and at worst is known to break the
+ upgrade process as it's possible to get apt into an unrecoverable
+ situation.
+ 
+  * The fix for this issue is to detect if ROS is installed and make sure
+ the user is aware that this may not succeed.
+ 
+ [Test Case]
+ 
+  * The dependency problems that lead to apt breakage is very deep and
+ hard to duplicate, but to paint with a broad brush: if a ROS package is
+ installed, extreme caution should be exercised when upgrading as it's
+ very likely that it's not supported.
+ 
+  * To install ROS, follow the proper tutorial for your Ubuntu version, and install the "ros-base" metapackage:
+    - Xenial: https://wiki.ros.org/kinetic/Installation/Ubuntu
+    - Bionic: https://wiki.ros.org/melodic/Installation/Ubuntu
+    - Focal: https://wiki.ros.org/noetic/Installation/Ubuntu
+ 
+  * Now use ubuntu-release-upgrader to upgrade to the next Ubuntu
+ release. Such a thing should not happen without prompting the user that
+ ROS is installed and that this may lead to problems.
+ 
+ [Regression Potential]
+ 
+  * Detecting that ROS is installed is done with a package name
+ heuristic, which isn't perfect. We look for a set of base ROS
+ dependencies using a pattern that is unlikely to clash with a non-ROS-
+ related package, but it's possible for this to result in a false
+ positive. Worst case, the user will be warned that ROS is installed when
+ in fact it isn't, but they'll still be able to continue the upgrade.

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to ubuntu-release-upgrader in
Ubuntu.
https://bugs.launchpad.net/bugs/1611737

Title:
  Can't upgrade from a release if ros packages are  installed from ROS
  servers

Status in ubuntu-release-upgrader package in Ubuntu:
  Fix Released
Status in ubuntu-release-upgrader source package in Xenial:
  Confirmed
Status in ubuntu-release-upgrader source package in Bionic:
  Confirmed
Status in ubuntu-release-upgrader source package in Focal:
  In Progress
Status in ubuntu-release-upgrader source package in Groovy:
  Fix Released

Bug description:
  [Impact]

   * ROS releases are strict about the Ubuntu releases they support.
  These days a given ROS release only supports one Ubuntu LTS.

   * Attempting to upgrade Ubuntu beyond that supported release at best
  results in an unsupported situation, and at worst is known to break
  the upgrade process as it's possible to get apt into an unrecoverable
  situation.

   * The fix for this issue is to detect if ROS is installed and make
  sure the user is aware that this may not succeed.

  [Test Case]

   * The dependency problems that lead to apt breakage is very deep and
  hard to duplicate, but to paint with a broad brush: if a ROS package
  is installed, extreme caution should be exercised when upgrading as
  it's very likely that it's not supported.

   * To install ROS, follow the proper tutorial for your Ubuntu version, and install the "ros-base" metapackage:
     - Xenial: https://wiki.ros.org/kinetic/Installation/Ubuntu
     - Bionic: https://wiki.ros.org/melodic/Installation/Ubuntu
     - Focal: https://wiki.ros.org/noetic/Installation/Ubuntu

   * Now use ubuntu-release-upgrader to upgrade to the next Ubuntu
  release. Such a thing should not happen without prompting the user
  that ROS is installed and that this may lead to problems.

  [Regression Potential]

   * Detecting that ROS is installed is done with a package name
  heuristic, which isn't perfect. We look for a set of base ROS
  dependencies using a pattern that is unlikely to clash with a non-ROS-
  related package, but it's possible for this to result in a false
  positive. Worst case, the user will be warned that ROS is installed
  when in fact it isn't, but they'll still be able to continue the
  upgrade.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ubuntu-release-upgrader/+bug/1611737/+subscriptions



More information about the foundations-bugs mailing list