uninstalling chromium-browser package does not uninstall chromium snap

Asked by Zachary Sample

The chromium-browser package currently just installs the chromium snap in its preinst script, but it does not remove the snap in its prerm or postrm scripts. Is this intentional behavior? The preinst script installs the chromium snap, so it seems that the postrm script or prerm script should remove it.

Ubuntu version: Xubuntu 20.04.3 LTS

Package version: chromium-browser 1:85.0.4183.83-0ubuntu0.20.04.2

What I expected to happen: Uninstalling the chromium-browser package would uninstall the Chromium Browser.

What actually happened: Uninstalling the chromium-browser package did not uninstall the chromium snap, which was installed by the chromium-browser package's preinst script.

Question information

Language:
English Edit question
Status:
Answered
For:
Ubuntu Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Manfred Hampl (m-hampl) said :
#1

If you look at https://launchpad.net/ubuntu/+source/chromium-browser you will see that the current chromium-browser packages are marked as "chromium-browser: Transitional package - chromium-browser -> chromium snap".

It is standard practice in Ubuntu that uninstalling transitional packages does not have any effect on something else.

Can you help with this problem?

Provide an answer of your own, or ask Zachary Sample for more information if necessary.

To post a message you must log in.