Originally Posted by
mörgæs
installs snapd without asking for permission (!) and installs at the same time chromium as a snap package.
Both were simple to remove so no harm done but still I would like to receive a clear warning from apt.
Sure snapd wasn't already installed ?
Installing with snapd already installed
Code:
hugh@eoan:~$ sudo apt install chromium-browser
[sudo] password for hugh:
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following NEW packages will be installed
chromium-browser
0 to upgrade, 1 to newly install, 0 to remove and 0 not to upgrade.
Need to get 48.7 kB of archives.
After this operation, 163 kB of additional disk space will be used.
Get:1 http://gb.archive.ubuntu.com/ubuntu eoan-updates/universe amd64 chromium-browser amd64 77.0.3865.120-0ubuntu1.19.10.1 [48.7 kB]
Fetched 48.7 kB in 5s (9,446 B/s)
Preconfiguring packages ...
Selecting previously unselected package chromium-browser.
(Reading database ... 182581 files and directories currently installed.)
Preparing to unpack .../chromium-browser_77.0.3865.120-0ubuntu1.19.10.1_amd64.deb ...
=> Installing the chromium snap
==> Checking connectivity with the snap store
==> Installing the chromium snap
Warning: /snap/bin was not found in your $PATH. If you've not restarted your session since you
installed snapd, try doing that. Please see https://forum.snapcraft.io/t/9469 for more
details.
chromium 79.0.3945.79 from Canonical✓ installed
=> Snap installation complete
Unpacking chromium-browser (77.0.3865.120-0ubuntu1.19.10.1) ...
Setting up chromium-browser (77.0.3865.120-0ubuntu1.19.10.1) ...
Processing triggers for mime-support (3.63ubuntu1) ...
Processing triggers for hicolor-icon-theme (0.17-2) ...
Processing triggers for gnome-menus (3.32.0-1ubuntu1) ...
Processing triggers for desktop-file-utils (0.24-1ubuntu1) ...
And without snapd already installed, there is a clear warning as is usually the case when apt wants to install packages other than those explicitly asked for.
Code:
hugh@eoan:~$ sudo apt install chromium-browser
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following additional packages will be installed:
snapd
The following NEW packages will be installed
chromium-browser snapd
0 to upgrade, 2 to newly install, 0 to remove and 0 not to upgrade.
Need to get 18.8 MB of archives.
After this operation, 80.5 MB of additional disk space will be used.
Do you want to continue? [Y/n] n
Abort.
hugh@eoan:~$
This is vanilla Ubuntu, not Xubuntu but I believe snapd is present in a default Xubuntu installation.
Bookmarks