not possible to use "Repair broken packages"
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
friendly-recovery (Ubuntu) |
Invalid
|
High
|
Unassigned | ||
Bionic |
Invalid
|
Undecided
|
Unassigned | ||
Cosmic |
Invalid
|
Undecided
|
Unassigned | ||
ubuntu-release-upgrader (Ubuntu) |
Fix Released
|
High
|
Brian Murray | ||
Bionic |
Fix Released
|
Undecided
|
Unassigned | ||
Cosmic |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
[Impact]
It is not possible to use "Repair broken packages" in friendly recovery as it calls dist-upgrade.py and that fails as it checks to see if the python symlink, not python3 symlink is good.
[Test Case]
Run the following as root:
env RELEASE_
With the version in the archive you'll receive an error regarding your python install being corrupted, with the version from --proposed you won't.
Also after installing the new version of python3-distupgrade the system should be booted into recovery mode and it confirmed that the "Repair broken packages" menu item works.
[Regression Potential]
The code is just being updated to use python3 instead of python so there isn't any change of a regression.
The menu item "Repair broken packages" calls the following command:
env RELEASE_
However, that fails with the following:
Your python install is corrupted. Please fix the '/usr/bin/python' symlink.
This is because of the _pythonSymlinkCheck function in DistUpgradeCont
Changed in friendly-recovery (Ubuntu): | |
status: | Triaged → Invalid |
Changed in friendly-recovery (Ubuntu): | |
status: | Invalid → Triaged |
description: | updated |
description: | updated |
Changed in ubuntu-release-upgrader (Ubuntu): | |
status: | Triaged → In Progress |
assignee: | nobody → Brian Murray (brian-murray) |
description: | updated |
Changed in friendly-recovery (Ubuntu): | |
status: | Triaged → Invalid |
Changed in friendly-recovery (Ubuntu Bionic): | |
status: | New → Invalid |
Changed in friendly-recovery (Ubuntu Cosmic): | |
status: | New → Invalid |
See also the following ubuntu- release- upgrader bug LP: #1798872.