Can't upgrade from a release if ros packages are installed from ROS servers
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
ubuntu-release-upgrader (Ubuntu) |
Fix Released
|
Undecided
|
Kyle Fazzari | ||
Xenial |
Won't Fix
|
Undecided
|
Unassigned | ||
Bionic |
Fix Released
|
Undecided
|
Unassigned | ||
Focal |
Fix Released
|
Undecided
|
Brian Murray | ||
Groovy |
Fix Released
|
Undecided
|
Kyle Fazzari |
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:/
- Bionic: https:/
- Focal: https:/
* Now use ubuntu-
[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.
Related branches
- Brian Murray: Approve
-
Diff: 156 lines (+120/-0)2 files modifiedDistUpgrade/DistUpgradeQuirks.py (+50/-0)
tests/test_quirks.py (+70/-0)
summary: |
- Error message in the end of upgrade process + Can't upgrade from 14.04 to 16.04 if ros-indigo-desktop-full installed + from ROS servers |
summary: |
- Can't upgrade from 14.04 to 16.04 if ros-indigo-desktop-full installed - from ROS servers + Can't upgrade from 14.04 to 16.04 if ros-indigo-desktop-full or ros- + indigo-perception installed from ROS servers |
tags: | added: trusty2xenial |
tags: | added: bugpattern-written |
summary: |
- Can't upgrade from 14.04 to 16.04 if ros-indigo-desktop-full or ros- - indigo-perception installed from ROS servers + Can't upgrade from a release if ros packages are installed from ROS + servers |
Changed in ubuntu-release-upgrader (Ubuntu): | |
assignee: | nobody → Kyle Fazzari (kyrofa) |
Changed in ubuntu-release-upgrader (Ubuntu Groovy): | |
status: | In Progress → Fix Committed |
Changed in ubuntu-release-upgrader (Ubuntu Focal): | |
status: | Confirmed → In Progress |
assignee: | nobody → Brian Murray (brian-murray) |
description: | updated |
Status changed to 'Confirmed' because the bug affects multiple users.