snappy should not claim to install/remove before validating provided package name
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Snappy |
Fix Released
|
Low
|
Unassigned |
Bug Description
ubuntu@localhost:~$ sudo snappy install moo
Installing moo
No package '' for ubuntu-
ubuntu@localhost:~$ sudo snappy remove moo
Removing moo
snappy package not found
The current behaviour is misleading since the user -- fleetingly -- believes the operation will progress. I think we should change the behaviour to only emit the "Installing" / "Removing" message once the package has been validated:
ubuntu@localhost:~$ sudo snappy install moo
No package '' for ubuntu-
ubuntu@localhost:~$ sudo snappy install docker
Installing docker
ubuntu@localhost:~$ sudo snappy remove moo
snappy package not found
ubuntu@localhost:~$ sudo snappy remove docker
Removing docker
_____
(Note the "No package ''..." is fixed by https:/
Changed in snappy-ubuntu: | |
status: | New → Confirmed |
importance: | Undecided → Low |
affects: | snappy-ubuntu → snappy |
Changed in snappy: | |
status: | Confirmed → Triaged |
This is no longer printed in the snappy 16 series.