Traceback when attempting to uninstall a package that isn't installed
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Snappy |
Fix Released
|
Wishlist
|
Michael Vogt |
Bug Description
Attempting to uninstall a snappy package that isn't presently installed results in a traceback rather than a friendly error statement.
ubuntu@localhost:~$ snappy versions
Part Tag Installed Available Fingerprint Active
ubuntu-core edge 141 - 7f068cb4fa876c *
ubuntu@localhost:~$ snappy uninstall docker
Traceback (most recent call last):
File "/usr/bin/click", line 86, in <module>
sys.
File "/usr/bin/click", line 82, in main
return mod.run(args)
File "/usr/lib/
old_version = registry.
GLib.Error: click_user_
ubuntu@localhost:~$
affects: | snappy-ubuntu → snappy |
mvo: I think we should fold this in a more general "error cases should report cleanly for users what is going on" task...