App version & installed?

Ralf Mardorf silver.bullet at zoho.com
Fri Sep 21 09:01:34 UTC 2018


On Fri, 21 Sep 2018 06:58:46 +0100, Grizzly via ubuntu-users wrote:
>I have Wine installed and working, but "all" the commands I know do
>not show it as such, the same for VLC and others
>
>they do show as Candidates "to be installed" 

This command does show that snapd 2.34.2 _is_ installed and that snapd
2.0.2 is available, but not installed:


  [weremouse at moonstudio ~]$ apt list -qqa 'snapd'
  snapd/xenial-updates,now 2.34.2 amd64 [installed]
  snapd/xenial 2.0.2 amd64



This command shows that snapd _is_ installed, without showing any other candidate:

  [weremouse at moonstudio ~]$ apt list -qq 'snapd'
  snapd/xenial-updates,now 2.34.2 amd64 [installed]



While a command's option to display the version, usually doesn't
display the package epoch and package release, apt list does:


  [weremouse at moonstudio ~]$ nano --version
   GNU nano, version 2.5.3
   [snip]            ^^^^^
                     ^^^^^

  [weremouse at moonstudio ~]$ apt list -qq 'nano'
  nano/xenial-updates,now 2.5.3-2ubuntu2 amd64 [installed]
                          ^^^^^^^^^^^^^^
                          ^^^^^^^^^^^^^^

Isn't this what you were asking for? What exactly are you missing?
Please provide an example of an output you want to get.





More information about the ubuntu-users mailing list