On Sat, Aug 16, 2025 at 23:00:29 -0700, David Christensen wrote:
# apt-get purge firefox-esr
Since the goal is to reinstall firefox-esr shortly afterward, we don't
really want to remove anything that depends on firefox-esr, such as
a desktop environment metapackage. Even worse, a metapackage that
has a line like "Depends: firefox-esr | other-browser" might bring in
some other browser we don't want. So, this command might be better:
dpkg --purge --force-depends firefox-esr
This will leave the system in a "broken" state, but it's only a teeny
weeny little bit broken, and we're going to repair it in a few moments.
It's similar to the state you experience briefly while doing a release
upgrade.
$ mv ~/.mozilla ~/.mozilla- old
There's an extra space in there which you don't want.