no snaps installed error

Bug #1607717 reported by Uros Jovanovic
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Snappy
Fix Committed
High
John Lenton

Bug Description

ubuntu:~$ snap list mongodb
No snaps are installed yet. Try 'snap install hello-world'.
ubuntu:~$ snap install hello-world
error: cannot install "hello-world": snap "hello-world" already installed
ubuntu:~$ snap list mongodb
No snaps are installed yet. Try 'snap install hello-world'.

ubuntu:~$ snap --version
snap 2.11+ppa174-1
snapd 2.11+ppa174-1
series 16
ubuntu 16.04

Revision history for this message
Oliver Grawert (ogra) wrote :

the error here is that the snap command does not tell you that "snap list" can not take arguments and then falls back to a confusing message instead ...

try just "snap list" that should show your installed mongodb ... (or did you mean to search for mongodb in the store ? that would be "snap find mongodb")

Changed in snapcraft:
status: New → Invalid
Revision history for this message
John Lenton (chipaca) wrote :

"snap list" can take arguments; the error message is wrong when you give it an argument that doesn't match an installed snap though:

$ snap list
Name Version Rev Developer Notes
http 4.6692016091 17 chipaca -
ubuntu-core 16.04+20160531.11-56 122 canonical -
$ snap list http
Name Version Rev Developer Notes
http 4.6692016091 17 chipaca -
$ snap list htto
No snaps are installed yet. Try 'snap install hello-world'.

Changed in snappy:
status: New → Confirmed
importance: Undecided → Critical
importance: Critical → High
assignee: nobody → John Lenton (chipaca)
John Lenton (chipaca)
Changed in snappy:
status: Confirmed → In Progress
Revision history for this message
John Lenton (chipaca) wrote :
no longer affects: snapcraft
John Lenton (chipaca)
Changed in snappy:
status: In Progress → Fix Committed
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.