[Bug 1893724] Re: safe-rm breaks upgrades from 18.04 to 20.04
Brian Murray
1893724 at bugs.launchpad.net
Mon Sep 14 16:46:44 UTC 2020
** Changed in: ubuntu-release-upgrader (Ubuntu)
Status: New => Confirmed
** Changed in: ubuntu-release-upgrader (Ubuntu)
Importance: Undecided => High
--
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/1893724
Title:
safe-rm breaks upgrades from 18.04 to 20.04
Status in ubuntu-release-upgrader package in Ubuntu:
Confirmed
Bug description:
I upgraded from bionic to focal this weekend and discovered that one
of my packages (safe-rm) can totally break the 20.04 upgrade. Not sure
how reproducible it is (I only upgraded once), but I had to remove
safe-rm before manually restarting the failed upgrade.
It comes down to the fact that safe-rm takes over the rm command and
unfortunately is written in Perl so while Perl isn't quite working
(e.g. while it's being upgraded), the rm command is broken :/
I just pushed out a fix to limit the takeover to interactive shells
only (https://salsa.debian.org/debian/safe-
rm/-/commit/6dbe2adaed423f61464c343f8b9a1b1f42f721f4), but the real
fix which I'm hoping to get to in the next few weeks is to rewrite the
tool in Rust (https://bugs.launchpad.net/safe-rm/+bug/1854103) to
avoid depending on an interpreter.
That said, it's a pretty serious issue so probably the best thing for
20.04 might be to conflict on the package somehow to make sure it's
uninstalled prior to the upgrade.
I wasn't sure which package to file this bug against so please re-
assign if needed.
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ubuntu-release-upgrader/+bug/1893724/+subscriptions
More information about the foundations-bugs
mailing list