'snap install namewithCAPS' error message is confusing

Bug #1883786 reported by Jamie Strandboge
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
snapd
New
Undecided
Unassigned

Bug Description

Trying to install a snap that doesn't exist in the store provides a fine error message:

$ sudo snap install nonexistent
error: snap "nonexistent" not found
[1]

Trying to install a snap by specifying capital letter gives a different, somewhat confusing error:

$ sudo snap install namewithCAPS
error: cannot install "namewithCAPS": invalid instance name: invalid snap name:
       "namewithCAPS"
[1]

It is unclear why it is reporting about both an invalid instance name and snap name.

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.