Misleading error message when trying to install unconfined snaps from the edge channel

Bug #1598886 reported by Simon Fels
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
snapd (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

When I try to install the TPM snap from the edge channel I get the following output:

$ snap install tpm --channel=edge

error: cannot perform the following tasks:
- Download snap "tpm" from channel "edge" (snap not found)

The mistake here is that I forgot --devmode as the snap is published with "confinement: devmode" but the error message is misleading here. For the filtering (channel==edge && confinement==struct) its ok to say "snap not found" but the user doesn't know he did wrong. We should extend this and say that he may want to add --devmode to install the snap if its only provided with "confinement: devmode".

Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in snapd (Ubuntu):
status: New → Confirmed
Revision history for this message
Mark Shuttleworth (sabdfl) wrote : Re: [Bug 1598886] Re: Misleading error message when trying to install unconfined snaps from the edge channel

May I suggest:

  $ snap install hotcakes --beta
  hotcakes is not fully confined, please acknowledge with --devmode.

... unless we already had language for this in the design document.

Mark

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.