← Back to team overview

group.of.nepali.translators team mailing list archive

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

 

This bug was fixed in the package ubuntu-release-upgrader - 1:18.04.41

---------------
ubuntu-release-upgrader (1:18.04.41) bionic; urgency=medium

  [ Kyle Fazzari ]
  * DistUpgrade/DistUpgradeQuirks.py: Add a check for ROS packages being
    installed and warn that upgrades with them installed are not likely to
    work. (LP: #1611737)

 -- Kyle Fazzari <kyle@xxxxxxxxxxxxx>  Mon, 26 Oct 2020 10:23:33 -0700

** Changed in: ubuntu-release-upgrader (Ubuntu Bionic)
       Status: Fix Committed => Fix Released

-- 
You received this bug notification because you are a member of नेपाली
भाषा समायोजकहरुको समूह, which is subscribed to Xenial.
Matching subscriptions: Ubuntu 16.04 Bugs
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:
  Won't Fix
Status in ubuntu-release-upgrader source package in Bionic:
  Fix Released
Status in ubuntu-release-upgrader source package in Focal:
  Fix Released
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