App version & installed?

Ralf Mardorf silver.bullet at zoho.com
Sun Sep 23 11:13:08 UTC 2018


On Sun, 23 Sep 2018 12:58:03 +0200, Oliver Grawert wrote:
>hi,
>Am Sonntag, den 23.09.2018, 11:40 +0100 schrieb Grizzly via ubuntu-
>users:
>> Correction to my post re wine
>> 
>> :~$ apt-cache policy wine
>> 
>> 
>> :~$ dpkg -l |grep wine
>> 
>> ii  wine32        3.0-1ubuntu1  i386  Windows API implementation -
>> 32-bit binary loader  
>
>here you would want "apt-cache policy wine32", there is no "wine"
>package (package names often are not actually called like one of the
>binaries they ship (wine32 surely ships a lot more than just wine in
>/usr/bin))


Something I already pointed out earlier :).


On Thu, 20 Sep 2018 15:27:19 +0200, Ralf Mardorf wrote:
>$ apt list -qqa $(dpkg -S $(which dmesg)|cut -d: -f1)


[weremouse at moonstudio ~]$ apt-cache policy dmesg
N: Unable to locate package dmesg
[weremouse at moonstudio ~]$ apt-cache policy $(dpkg -S $(which dmesg)|cut -d: -f1)
util-linux:
  Installed: 2.27.1-6ubuntu3.6
  Candidate: 2.27.1-6ubuntu3.6
  Version table:
 *** 2.27.1-6ubuntu3.6 500
        500 http://de.archive.ubuntu.com/ubuntu xenial-updates/main amd64 Packages
        100 /var/lib/dpkg/status
     2.27.1-6ubuntu3 500
        500 http://de.archive.ubuntu.com/ubuntu xenial/main amd64 Packages
[weremouse at moonstudio ~]$ apt list -qqa $(dpkg -S $(which dmesg)|cut -d: -f1)
util-linux/xenial-updates,now 2.27.1-6ubuntu3.6 amd64 [installed]
util-linux/xenial 2.27.1-6ubuntu3 amd64

[weremouse at moonstudio ~]$ apt list -qq $(dpkg -S $(which dmesg)|cut -d: -f1)
util-linux/xenial-updates,now 2.27.1-6ubuntu3.6 amd64 [installed]
[weremouse at moonstudio ~]$


IOW

apt list -qq $(dpkg -S $(which dmesg)|cut -d: -f1)
                               ^^^^^
                               ^^^^^
                               replacing  dmesg  with  wine  should do
                               the job ;).

Regards,
Ralf







More information about the ubuntu-users mailing list