Chrome Version: ToT 11/27/2018, plus changes https://chromium-review.googlesource.com/c/chromium/src/+/1213519 and https://chromium-review.googlesource.com/c/chromium/src/+/1275292
OS: Chrome OS
What steps will reproduce the problem?
(1) Turn on Linux from settings
(2) In Linux terminal:
a. sudo apt-get install emacs eclipse gimp --yes
b. sudo touch /usr/share/applications/eclipse.desktop
(3) Fully open Launcher
(4) Right-click Emacs icon
(5) Select Uninstall
(6) Answer yes
(7) Wait for uninstall to complete
What is the expected result?
Emacs uninstalled from Linux, no Emacs icon
What happens instead?
Emacs is still installed. Emacs icon still visible.
Why?
Attempting to uninstall Emacs just causes a different version of Emacs
to be installed. (And attempting to uninstall that causes the original
version to be reinstalled.) This is because the package that owns the
desktop file ("emacs24-24.5+1-11+deb9u1.amd64 GNU Emacs editor (with GTK+ GUI support)") is required by emacs-46, the metapackage. But that dependency is also satisfied by "emacs24-lucid-24.5+1-11+deb9u1.amd64 GNU Emacs editor (with Lucid GUI support)" so when we uninstall emacs24, it thinks we want to install emacs24-lucid to satisfy the emacs metapackage.
Comment 1 by iby@chromium.org
, Nov 28