"snap aliases" claims no aliases for uninstalled snap with aliases

Bug #2028055 reported by Robert P. J. Day
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
snapd
Triaged
Low
Unassigned

Bug Description

It's a bit misleading for "snap aliases" to claim no aliases for an uninstalled snap that actually has some aliases. Example:

rpjday@jammy:~$ snap aliases microceph
No aliases are currently defined for snap "microceph".

Use 'snap help alias' to learn how to create aliases manually.
rpjday@jammy:~$ snap install microceph
microceph 0+git.fdf6d5e from Canonical✓ installed
rpjday@jammy:~$ snap aliases microceph
Command Alias Notes
microceph.ceph ceph -
microceph.rados rados -
microceph.radosgw-admin radosgw-admin -
microceph.rbd rbd -
rpjday@jammy:~$

It would make more sense to just say:

"snap microceph not installed" or something similar.

Changed in snapd:
importance: Undecided → Low
status: New → Triaged
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.