14

When I do

apt-get install chromium-browser

it downloads some .deb file, and then installs a snap package:

Selecting previously unselected package chromium-browser.
(Reading database ... 227048 files and directories currently installed.)
Preparing to unpack .../chromium-browser_77.0.3865.120-0ubuntu1~snap1_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 78.0.3904.70 from Canonical✓ installed
=> Snap installation complete
Unpacking chromium-browser (77.0.3865.120-0ubuntu1~snap1) ...
Setting up chromium-browser (77.0.3865.120-0ubuntu1~snap1) ...
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) ...
(base) keddad@keddad:~$

But I didn't ask it to get me chromium via snap, I wanted to get a normal .deb package. It works, after all, but it just feels wrong. If I want to get a snap, I use snap, not apt. Why such behavior is considered normal?

3
9

For Ubuntu 19.10 it was a developer's decision. See cite from release notes:

Ubuntu 19.10 New Features

The Chromium browser is only available as a snap in 19.10. This blog post has more details.

It is normal and expected.

7
  • 2
    Is there a way to work around that? I tried adding the chromium PPA, but it still wants me to install snapd. – hiigaran Oct 31 '19 at 20:38
  • 1
    Quick search for PPAs using Y PPA Manager gives ppa:system76/proposed with Chromium deb package 76.0.3809.100-1pop1 which is now outdated (it means insecure). So I would recommend to run fresh installation of Ubuntu 18.04 LTS (will be supported until 2023). – N0rbert Oct 31 '19 at 21:00
  • Thanks. Was able to work around my original issue needing a chromium specific browser, but will keep it in mind for future use. – hiigaran Nov 6 '19 at 1:08
  • 1
    relevant as chromium snap version has a hardcoded whitelist for xdg-open-URLs, breaking nearly everything except "http", "https", "mailto", "snap", "help", "apt", "zoommtg". if you try to open a slack/notListed url it fails silently... see: bugs.launchpad.net/snapd/+bug/1776873 – Munchies May 6 '20 at 10:13
  • 2
    One of the new-and-improved features of the snap-based chromium is that it is unable to access anything on the separately mounted /opt partition that I created on my Ubuntu 20.04 system. Until and unless the snap-based chromium allows access to partitions other than the one on which it is running, I will stick with a non-snap-based version. – HippoMan Oct 24 '20 at 21:07
8

I had the same problem. I disabled/removed snap/snapd from my Ubuntu and didn't want to install it again because of Chromium. Since Ubuntu and Debian are usually compatible, I installed Chromium from the Debian repositories: https://askubuntu.com/a/1206153/1038363

2
  • 3
    This is probably the best solution on here seeing as Canonical is trying to force the use of snapd after originally stating that it would never replace apt. – Tmanok Jun 18 '20 at 2:41
  • I tried this for a while, but it's pretty unstable -- probably because of library differences. I gave up on Ubuntu on my workstation and laptop because of this (used it on and off since 2006) and I've switched to Manjaro. – lnostdal Nov 6 '20 at 11:42
6

I've had the same problem. Wanted Chromium, but no via Snap. Found Chromium Dev PPA, works stable so far: https://launchpad.net/~saiarcot895/+archive/ubuntu/chromium-dev

1
  • keep in mind that the API keys are missing and you have to add them yourself. Quoted from the repo: "Some Chromium features, including Sync, require an API key, which is not included with the packages below." – Munchies May 6 '20 at 10:10

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.