[Bug 1749777] Re: Syntax tweaks for snap-friendly output
Michael Vogt
michael.vogt at canonical.com
Wed Feb 28 07:25:23 UTC 2018
The current output (in lp:command-not-found) looks like this:
Mixed snaps/debs:
"""
$ jq
The command 'jq' can be installed as:
snap jq
deb jq (1.5+dfsg-2)
See 'snap info jq' for additional versions.
"""
Single snap:
"""
$ spotify
The command 'spotify' can be installed from the following snaps:
spotify
See 'snap info spotify' for additional versions.
"""
Sinle deb:
"""
The command 'konsole' can be intsalled by typing:
sudo apt install konsole
"""
Multiple debs:
"""
The command 'vim' can be installed from the following apt packages:
vim
vim-gtk3
vim-tiny
neovim
vim-athena
vim-gtk
vim-nox
Try: sudo apt install <selected package>
"""
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to command-not-found in Ubuntu.
https://bugs.launchpad.net/bugs/1749777
Title:
Syntax tweaks for snap-friendly output
Status in command-not-found:
In Progress
Status in command-not-found package in Ubuntu:
In Progress
Bug description:
Would it be possible to change 'found' to 'installed', and show
potential versions? For example:
$ aws
The program 'aws' can be installed as:
* snap 'aws-cli' (1.14.38)
* deb 'awscli' (1.14.36-1)
To manage notifications about this bug go to:
https://bugs.launchpad.net/command-not-found/+bug/1749777/+subscriptions
More information about the foundations-bugs
mailing list