snap "chromium" has bad plugs or slots: system-packages-doc

Bug #1887795 reported by Alan Pope 🍺🐧🐱 🦄
92
This bug affects 19 people
Affects Status Importance Assigned to Milestone
chromium-browser (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

I just installed chromium on my 20.04 machine. I've not used chromium on this system before. It installed but I get this warning:

snap "chromium" has bad plugs or slots: system-packages-doc

$ snap install chromium
2020-07-16T11:52:42+01:00 INFO snap "chromium" has bad plugs or slots: system-packages-doc (unknown interface "system-packages-doc")
2020-07-16T11:52:45+01:00 INFO snap "chromium" has bad plugs or slots: system-packages-doc (unknown interface "system-packages-doc")
chromium 84.0.4147.89 from Canonical✓ installed
WARNING: There is 1 new warning. See 'snap warnings'.

$ snap version
snap 2.45.1+20.04.2
snapd 2.45.1+20.04.2
series 16
ubuntu 20.04
kernel 5.4.0-40-generic

According to the documentation for system-packages-doc, this isn't available until snapd 2.46+, which isn't available in any channel. https://snapcraft.io/docs/the-system-package-doc-interface

channels:
  latest/stable: 2.45.2 2020-07-15 (8542) 31MB -
  latest/candidate: 2.45.2 2020-07-15 (8542) 31MB -
  latest/beta: 2.45.1 2020-06-05 (8140) 31MB -
  latest/edge: 2.45.2+git2005.gfdaa74a 2020-07-16 (8596) 31MB -
installed: 2.45.1 (8140) 31MB snapd

Perhaps we shouldn't use interfaces which aren't available yet?

Tags: snap
description: updated
Revision history for this message
Olivier Tilloy (osomon) wrote :

When I added that plug I was told by the snapd team that unknown/not-available-yet interfaces would be silently ignored.

It turns out silence is a loud and scary warning.

I'll revert the addition of the plug for now, until snapd 2.46 is available.

Revision history for this message
Olivier Tilloy (osomon) wrote :

(note that snapd in the edge channel does have the interface)

Revision history for this message
Olivier Tilloy (osomon) wrote :
Changed in chromium-browser (Ubuntu):
status: New → Fix Committed
Levi Zombori (levi-z)
Changed in chromium-browser (Ubuntu):
status: Fix Committed → Fix Released
Revision history for this message
Olivier Tilloy (osomon) wrote :

Not released until in the stable channel.

Changed in chromium-browser (Ubuntu):
status: Fix Released → Fix Committed
tags: added: snap
Revision history for this message
Ishrak (irik77587) wrote :

To silence the warning run the command
`snap okay`
If you are concerned, you may uninstall chromium from snap
`snap remove --purge chromium`
and instead install using apt
`sudo apt install chromium-browser`

Changed in chromium-browser (Ubuntu):
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.