App version & installed?

classic Classic list List threaded Threaded
23 messages Options
12
Reply | Threaded
Open this post in threaded view
|

App version & installed?

ubuntu-users mailing list
Hi

I have upgraded from ubuntu 16.04.5 to 18.04.1, everything seems to work

I had a few apps installed before the upgrade and wanted to check if there were
newer version(s) so top start I tried

apt-cache policy app-name

I got

installed none
candidate a_version_#&sub-version#

I know I have the app installed (via apt install) as I can run it

I tried app-name --version (also -version & -v)
and get -v is not valid

just

app-name
returns the main version but not any sub-version numbers

searching under "Activities" offers to install but does not show the installed
app(s)

this is on more than a few working apps

"IF" I (re)run
apt install app-name

will I just have two competing version of the same app(s)


--
ubuntu-users mailing list
[hidden email]
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
Reply | Threaded
Open this post in threaded view
|

Re: App version & installed?

Bret Busby-2
On 20/09/2018, Grizzly via ubuntu-users <[hidden email]> wrote:

> Hi
>
> I have upgraded from ubuntu 16.04.5 to 18.04.1, everything seems to work
>
> I had a few apps installed before the upgrade and wanted to check if there
> were
> newer version(s) so top start I tried
>
> apt-cache policy app-name
>
> I got
>
> installed none
> candidate a_version_#&sub-version#
>
> I know I have the app installed (via apt install) as I can run it
>
> I tried app-name --version (also -version & -v)
> and get -v is not valid
>
> just
>
> app-name
> returns the main version but not any sub-version numbers
>
> searching under "Activities" offers to install but does not show the
> installed
> app(s)
>
> this is on more than a few working apps
>
> "IF" I (re)run
> apt install app-name
>
> will I just have two competing version of the same app(s)
>
>
> Modify settings or unsubscribe at:
> https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
>

I may be wrong, but I believe that, if you run synaptic, and within
that, search for the package(s), their status and version numbers,
should be displayed.

Is synaptic (still, if it was previously) present?

--
Bret Busby
Armadale
West Australia
..............

"So once you do know what the question actually is,
 you'll know what the answer means."
- Deep Thought,
 Chapter 28 of Book 1 of
 "The Hitchhiker's Guide to the Galaxy:
 A Trilogy In Four Parts",
 written by Douglas Adams,
 published by Pan Books, 1992

....................................................

--
ubuntu-users mailing list
[hidden email]
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
Reply | Threaded
Open this post in threaded view
|

Re: App version & installed?

Ralf Mardorf-2
In reply to this post by ubuntu-users mailing list
First off all...

[weremouse@moonstudio src]$ apt list -qqa claws-mail-*
[weremouse@moonstudio src]$ apt list -qqa 'claws-mail-*'
claws-mail-acpi-notifier/xenial 3.13.2-1ubuntu1 amd64

claws-mail-address-keeper/xenial 3.13.2-1ubuntu1 amd64
[snip]

...it could make a big difference if you are using ' ' or not.

You could have a program installed, e.g. "dmesg", but no package
"dmesg".

[weremouse@moonstudio ~]$ dmesg -V
dmesg from util-linux 2.27.1

:D

[weremouse@moonstudio ~]$ apt list -qqa dmesg

No output ;).

Assuming it wouldn't show "from util-linux" you could workaround by e.g.

[weremouse@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

If you don't remember the exact name, you also could use a wildcard or
wildcards first...

[weremouse@moonstudio ~]$ apt list -qqa 'linux-low*'
linux-lowlatency/xenial-updates,now 4.4.0.135.141 amd64 [installed]
linux-lowlatency/xenial-security 4.4.0.134.140 amd64
linux-lowlatency/xenial 4.4.0.21.22 amd64

linux-lowlatency-hwe-16.04/xenial-updates,xenial-security 4.15.0.34.56 amd64

linux-lowlatency-hwe-16.04-edge/xenial-updates,xenial-security 4.15.0.34.55 amd64

linux-lowlatency-lts-utopic/xenial-updates 4.4.0.135.141 amd64
linux-lowlatency-lts-utopic/xenial-security 4.4.0.134.140 amd64
linux-lowlatency-lts-utopic/xenial 4.4.0.21.22 amd64

linux-lowlatency-lts-vivid/xenial-updates 4.4.0.135.141 amd64
linux-lowlatency-lts-vivid/xenial-security 4.4.0.134.140 amd64
linux-lowlatency-lts-vivid/xenial 4.4.0.21.22 amd64

linux-lowlatency-lts-wily/xenial-updates 4.4.0.135.141 amd64
linux-lowlatency-lts-wily/xenial-security 4.4.0.134.140 amd64
linux-lowlatency-lts-wily/xenial 4.4.0.21.22 amd64

linux-lowlatency-lts-xenial/xenial-updates 4.4.0.135.141 amd64
linux-lowlatency-lts-xenial/xenial-security 4.4.0.134.140 amd64
linux-lowlatency-lts-xenial/xenial 4.4.0.21.22 amd64

[weremouse@moonstudio ~]$ apt list -qqa 'linux-lowlatency'
linux-lowlatency/xenial-updates,now 4.4.0.135.141 amd64 [installed]
linux-lowlatency/xenial-security 4.4.0.134.140 amd64
linux-lowlatency/xenial 4.4.0.21.22 amd64

...and continue without a wildcard.

[weremouse@moonstudio ~]$ apt show -a 'linux-lowlatency'
Package: linux-lowlatency
Version: 4.4.0.135.141
Priority: optional
Section: kernel
Source: linux-meta
Origin: Ubuntu
Maintainer: Ubuntu Kernel Team <[hidden email]>
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 14.3 kB
Depends: linux-image-lowlatency (= 4.4.0.135.141), linux-headers-lowlatency (= 4.4.0.135.141)
Supported: 5y
Download-Size: 1,790 B
APT-Manual-Installed: yes
APT-Sources: http://de.archive.ubuntu.com/ubuntu xenial-updates/main amd64 Packages
Description: Complete lowlatency Linux kernel
 This package will always depend on the latest complete lowlatency Linux kernel
 available.

Package: linux-lowlatency
Version: 4.4.0.134.140
Priority: optional
Section: kernel
Source: linux-meta
Origin: Ubuntu
Maintainer: Ubuntu Kernel Team <[hidden email]>
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 14.3 kB
Depends: linux-image-lowlatency (= 4.4.0.134.140), linux-headers-lowlatency (= 4.4.0.134.140)
Supported: 5y
Download-Size: 1,786 B
APT-Sources: http://security.ubuntu.com/ubuntu xenial-security/main amd64 Packages
Description: Complete lowlatency Linux kernel
 This package will always depend on the latest complete lowlatency Linux kernel
 available.

Package: linux-lowlatency
Version: 4.4.0.21.22
Priority: optional
Section: kernel
Source: linux-meta
Origin: Ubuntu
Maintainer: Ubuntu Kernel Team <[hidden email]>
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 11.3 kB
Depends: linux-image-lowlatency (= 4.4.0.21.22), linux-headers-lowlatency (= 4.4.0.21.22)
Supported: 5y
Download-Size: 1,788 B
APT-Sources: http://de.archive.ubuntu.com/ubuntu xenial/main amd64 Packages
Description: Complete lowlatency Linux kernel
 This package will always depend on the latest complete lowlatency Linux kernel
 available.


--
ubuntu-users mailing list
[hidden email]
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
Reply | Threaded
Open this post in threaded view
|

Re: App version & installed?

ubuntu-users mailing list
20 September 2018  at 15:27, Ralf Mardorf wrote:
Re: App version & installed? (at least in part)

>First off all...
>
>[weremouse@moonstudio src]$ apt list -qqa claws-mail-*
>[weremouse@moonstudio src]$ apt list -qqa 'claws-mail-*'
>claws-mail-acpi-notifier/xenial 3.13.2-1ubuntu1 amd64
>
>claws-mail-address-keeper/xenial 3.13.2-1ubuntu1 amd64

Does this show apps I have installed or that are in the latest (updated)
repository, that "could" be installed (with apt install ...)

--
ubuntu-users mailing list
[hidden email]
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
Reply | Threaded
Open this post in threaded view
|

Re: App version & installed?

Ralf Mardorf-2
On Thu, 20 Sep 2018 19:08:59 +0100, Grizzly via ubuntu-users wrote:
>Does this show apps I have installed or that are in the latest
>(updated) repository, that "could" be installed (with apt install ...)

One of the examples I already provided:

On Thu, 20 Sep 2018 15:27:19 +0200, Ralf Mardorf wrote:
>[weremouse@moonstudio ~]$ apt list -qqa 'linux-lowlatency'
>linux-lowlatency/xenial-updates,now 4.4.0.135.141 amd64 [installed]
>linux-lowlatency/xenial-security 4.4.0.134.140 amd64
>linux-lowlatency/xenial 4.4.0.21.22 amd64

A few new examples of installed and not installed packages from
repositories and a self build package:

[weremouse@moonstudio ~]$ apt list -qqa 'pluma'
pluma/xenial,now 1.12.2-2 amd64 [installed]

[weremouse@moonstudio ~]$ apt list -qqa 'firefox'
firefox/xenial-updates,xenial-security 62.0+build2-0ubuntu0.16.04.5 amd64
firefox/xenial 45.0.2+build1-0ubuntu1 amd64

[weremouse@moonstudio ~]$ apt list -qqa 'roxterm'
roxterm/xenial,now 3.3.2-1 amd64 [installed,automatic]

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


Compared with the online package search:
https://packages.ubuntu.com/xenial/snapd         snapd (2.0.2)
https://packages.ubuntu.com/xenial-updates/snapd snapd (2.34.2)



[weremouse@moonstudio ~]$ apt list -qqa 'claws-mail'
claws-mail/xenial 3.13.2-1ubuntu1 amd64

[weremouse@moonstudio ~]$ apt list -qqa 'claws-mail-git'
claws-mail-git/now 3.17.0-1 amd64 [installed,local]


IOW if it's installed, it's marked as being installed.


--
ubuntu-users mailing list
[hidden email]
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
Reply | Threaded
Open this post in threaded view
|

Re: App version & installed?

Colin Law
In reply to this post by ubuntu-users mailing list


On Thu, 20 Sep 2018, 14:54 Grizzly via ubuntu-users, <[hidden email]> wrote:
Hi

I have upgraded from ubuntu 16.04.5 to 18.04.1, everything seems to work

I had a few apps installed before the upgrade and wanted to check if there were
newer version(s) so top start I tried

apt-cache policy app-name

I got

installed none
candidate a_version_#&sub-version#


Give us an example of an app that shows this and also tell what happens if you run

Which appcommand

Where appcommand is the command you run to start it in the terminal.

Colin


I know I have the app installed (via apt install) as I can run it

I tried app-name --version (also -version & -v)
and get -v is not valid

just

app-name
returns the main version but not any sub-version numbers

searching under "Activities" offers to install but does not show the installed
app(s)

this is on more than a few working apps

"IF" I (re)run
apt install app-name

will I just have two competing version of the same app(s)


--
ubuntu-users mailing list
[hidden email]
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users

--
ubuntu-users mailing list
[hidden email]
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
Reply | Threaded
Open this post in threaded view
|

Re: App version & installed?

ubuntu-users mailing list
In reply to this post by Ralf Mardorf-2
20 September 2018  at 22:53, Ralf Mardorf wrote:
Re: App version & installed? (at least in part)

>On Thu, 20 Sep 2018 19:08:59 +0100, Grizzly via ubuntu-users wrote:
>>Does this show apps I have installed or that are in the latest
>>(updated) repository, that "could" be installed (with apt install ...)
>
>One of the examples I already provided:

Thanks, I had missed that, so I still have the same issue,

i.e.
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"



--
ubuntu-users mailing list
[hidden email]
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
Reply | Threaded
Open this post in threaded view
|

Re: App version & installed?

Ralf Mardorf-2
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@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@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@moonstudio ~]$ nano --version
   GNU nano, version 2.5.3
   [snip]            ^^^^^
                     ^^^^^

  [weremouse@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.


--
ubuntu-users mailing list
[hidden email]
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
Reply | Threaded
Open this post in threaded view
|

Re: App version & installed?

Oliver Grawert
In reply to this post by ubuntu-users mailing list
hi,
Am Freitag, den 21.09.2018, 06:58 +0100 schrieb Grizzly via ubuntu-
users:

> i.e.
> 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" 

what does:

dpkg -l | grep wine

show ? 

(this queries the local dpkg package database directly instead of using
the higher level apt one)

ciao
        oli
--
ubuntu-users mailing list
[hidden email]
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users

signature.asc (188 bytes) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: App version & installed?

Ralf Mardorf-2
On Fri, 21 Sep 2018 11:01:41 +0200, Oliver Grawert wrote:

>hi,
>Am Freitag, den 21.09.2018, 06:58 +0100 schrieb Grizzly via ubuntu-
>users:
>> 
>> i.e.
>> 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"   
>
>what does:
>
>dpkg -l | grep wine
>
>show ? 
>
>(this queries the local dpkg package database directly instead of using
>the higher level apt one)

What ever command we will use, to display only the installed package
and under now condition another package or a package that isn't
installed, we need to grep, but not as you did, see:

[weremouse@moonstudio ~]$ dpkg -l | grep 'snapd'
rc  snap-confine                         2.23.1                                     amd64        Transitional package for snapd
ii  snapd                                2.34.2                                     amd64        Daemon and tooling that enable snap packages
[weremouse@moonstudio ~]$ dpkg -l 'snapd' | grep "ii  "
ii  snapd          2.34.2       amd64        Daemon and tooling that enable snap packages

Still tricky, if the description should contain ii. We could handle this, too,
but apt seems to be better:

[weremouse@moonstudio ~]$ apt list -qq 'snapd'
snapd/xenial-updates,now 2.34.2 amd64 [installed]
[weremouse@moonstudio ~]$
[weremouse@moonstudio ~]$
[weremouse@moonstudio ~]$
[weremouse@moonstudio ~]$ apt list -qq 'firefox'
firefox/xenial-updates,xenial-security 62.0+build2-0ubuntu0.16.04.5 amd64
[weremouse@moonstudio ~]$ apt list 'firefox' 2>/dev/null | grep '\[installed\]'
[weremouse@moonstudio ~]$ apt list 'snapd' 2>/dev/null | grep '\[installed\]'
snapd/xenial-updates,now 2.34.2 amd64 [installed]
[weremouse@moonstudio ~]$


--
ubuntu-users mailing list
[hidden email]
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
Reply | Threaded
Open this post in threaded view
|

Re: App version & installed?

Oliver Grawert
hi,
Am Freitag, den 21.09.2018, 11:22 +0200 schrieb Ralf Mardorf:
> >
> > (this queries the local dpkg package database directly instead of
> > using
> > the higher level apt one)
> What ever command we will use, to display only the installed package
> and under now condition another package or a package that isn't
> installed, we need to grep, but not as you did, see:

you dont need to grep if you know the actual package name ...

$ dpkg -l snapd
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-
aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/
Name                              Version               Architecture   
       Description
+++-=================================-=====================-
=====================-
=======================================================================
ii  snapd                             2.34.2                amd64      
           Daemon and tooling that enable snap packages


there is a difference between the two databases (/var/lib/apt/lists vs.
/var/lib/dpkg/info/), apt is a high level management tool for packages
with its own database while dpkg is a low level package tool only
operating with locally installed deb's (or previously installed ones
that kept files around (i.e. "rc" status).

if someone is confused by the apt output (since this inludes remote
info beyond the local one) and wants to just see if something is
locally installed dpkg might be the better tool, which i tried to point
out here.

ciao
        oli
--
ubuntu-users mailing list
[hidden email]
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users

signature.asc (188 bytes) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: App version & installed?

ubuntu-users mailing list
In reply to this post by ubuntu-users mailing list
21 September 2018  at 7:54, Colin Law wrote:
Re: App version & installed? (at least in part)

>On Thu, 20 Sep 2018, 14:54 Grizzly via ubuntu-users, <
>[hidden email]> wrote:

>> Hi
>>
>> I have upgraded from ubuntu 16.04.5 to 18.04.1, everything seems to work
>>
>> I had a few apps installed before the upgrade and wanted to check if there
>> were newer version(s) so top start I tried

>Give us an example of an app that shows this and also tell what happens if
>you run

Correction to my post re wine

:~$ apt-cache policy wine
wine:
  Installed: (none)
  Candidate: (none)
  Version table:

:~$ dpkg -l |grep wine
ii  fonts-wine    3.0-1ubuntu1  all   Windows API implementation - fonts
ii  libwine:i386  3.0-1ubuntu1  i386  Windows API implementation - library
ii  wine-stable   3.0-1ubuntu1  all   Windows API implementation - standard suite
ii  wine32        3.0-1ubuntu1  i386  Windows API implementation - 32-bit binary loader

:~$ which wine
/usr/bin/wine

>Which appcommand

>Where appcommand is the command you run to start it in the terminal.

:~$ apt-cache policy aircrack-ng
aircrack-ng:
  Installed: (none)
  Candidate: 1:1.2-0~rc4-4
  Version table:
     1:1.2-0~rc4-4 500
        500 http://gb.archive.ubuntu.com/ubuntu bionic/universe i386 Packages

:~$ dpkg -l|grep aircrack-ng

:~$ which aircrack-ng
/usr/local/bin/aircrack-ng


--
ubuntu-users mailing list
[hidden email]
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
Reply | Threaded
Open this post in threaded view
|

Re: App version & installed?

Oliver Grawert
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))

> . 
> :~$ apt-cache policy aircrack-ng
> aircrack-ng:
>   Installed: (none)
>   Candidate: 1:1.2-0~rc4-4
>   Version table:
>      1:1.2-0~rc4-4 500
>         500 http://gb.archive.ubuntu.com/ubuntu bionic/universe i386
> Packages
>
> :~$ dpkg -l|grep aircrack-ng
>
> :~$ which aircrack-ng
> /usr/local/bin/aircrack-ng
>
files in /usr/local are never coming from packages, /usr/local is
reserved for the administrator to put locally built binaries and their
files there. this is something you must at some point have built from
source.

ciao
        oli
--
ubuntu-users mailing list
[hidden email]
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users

signature.asc (188 bytes) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: App version & installed?

Ralf Mardorf-2
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@moonstudio ~]$ apt-cache policy dmesg
N: Unable to locate package dmesg
[weremouse@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@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@moonstudio ~]$ apt list -qq $(dpkg -S $(which dmesg)|cut -d: -f1)
util-linux/xenial-updates,now 2.27.1-6ubuntu3.6 amd64 [installed]
[weremouse@moonstudio ~]$


IOW

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

Regards,
Ralf




--
ubuntu-users mailing list
[hidden email]
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
Reply | Threaded
Open this post in threaded view
|

Re: App version & installed?

ubuntu-users mailing list
In reply to this post by Oliver Grawert
23 September 2018  at 12:58, Oliver Grawert wrote:
Re: App version & installed? (at least in part)

>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))

I "think" that as far as my question goes (or went) wine-stable is the package
I would install via apt install

>> :~$ apt-cache policy aircrack-ng
>> aircrack-ng:
>>   Installed: (none)
>>   Candidate: 1:1.2-0~rc4-4
>>   Version table:
>>      1:1.2-0~rc4-4 500
>>         500 http://gb.archive.ubuntu.com/ubuntu bionic/universe i386 Packages

>> :~$ dpkg -l|grep aircrack-ng
>>
>> :~$ which aircrack-ng
>> /usr/local/bin/aircrack-ng
>>
>files in /usr/local are never coming from packages, /usr/local is
>reserved for the administrator to put locally built binaries and their
>files there. this is something you must at some point have built from
>source.

No, it was installed via "apt install" before I upgraded from 16.04.5 to
18.04.1, as it was (and is) in the repository there was no reason to install
any other way

as the versions seem to be the same is there a "safe" way to insure that future
updates are installed in the normal way:-

apt update && apt dist-upgrade



--
ubuntu-users mailing list
[hidden email]
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
Reply | Threaded
Open this post in threaded view
|

Re: App version & installed?

Oliver Grawert
Am Sonntag, den 23.09.2018, 12:41 +0100 schrieb Grizzly via ubuntu-
users:


> > files in /usr/local are never coming from packages, /usr/local is
> > reserved for the administrator to put locally built binaries and
> > their
> > files there. this is something you must at some point have built
> > from
> > source.
> No, it was installed via "apt install" before I upgraded from 16.04.5
> to 
> 18.04.1, as it was (and is) in the repository there was no reason to
> install 
> any other way
>
well, i still highly doubt that this binary comes from an archive
package, the archive upload checks would have refused to let such a
package in and looking at the archive package (in either 16.04 or
18.04) i get:

$ dpkg -L aircrack-ng|grep bin/aircrack
/usr/bin/aircrack-ng

note that /usr/local/bin comes before /usr/bin in the PATH variable for
the above reasons (to allow the admin to override packaged binaries
with local builds from source). so even if you would install the
archive package the binary from /usr/local will still be used until you
completely remove it there ...

ciao
        oli
--
ubuntu-users mailing list
[hidden email]
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users

signature.asc (188 bytes) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: App version & installed?

ubuntu-users mailing list
23 September 2018  at 14:14, Oliver Grawert wrote:
Re: App version & installed? (at least in part)

>Am Sonntag, den 23.09.2018, 12:41 +0100 schrieb Grizzly via ubuntu-
 
>well, i still highly doubt that this binary comes from an archive
>package, the archive upload checks would have refused to let such a
>package in and looking at the archive package (in either 16.04 or
>18.04) i get:
>
>$ dpkg -L aircrack-ng|grep bin/aircrack
>/usr/bin/aircrack-ng

>note that /usr/local/bin comes before /usr/bin in the PATH variable for
>the above reasons (to allow the admin to override packaged binaries
>with local builds from source). so even if you would install the
>archive package the binary from /usr/local will still be used until you
>completely remove it there ...

I assume that

apt --purge remove aircrack-ng

will not help or even work, and

rm /usr/local/bin//aircrack*

is going cause problems?


--
ubuntu-users mailing list
[hidden email]
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
Reply | Threaded
Open this post in threaded view
|

Re: App version & installed?

Ralf Mardorf-2
On Sun, 2018-09-23 at 14:38 +0100, Grizzly via ubuntu-users wrote:
> I assume that
>
> apt --purge remove aircrack-ng
>
> will not help or even work, and

If there should be a package


apt list -qq $(dpkg -S /usr/local/bin/aircrack-ng | cut -d: -f1)

should show it.

If not, you might have a build tree somewhere, maybe in /usr/src or
/home. Since it's build with  make  it might provide
make uninstall  , so in the build tree try running

sudo make uninstall


> rm /usr/local/bin//aircrack*
>
> is going cause problems?

What kind of problems should it cause? It shouldn't cause any problems,
but also won't gain much, there are likely more related files installed
to /usr/local/*, take a look at the package for Xenial, which at least
does use a different prefix

https://packages.ubuntu.com/xenial/amd64/aircrack-ng/filelist

Let alone that you perhaps build airgraph-ng, too.







--
ubuntu-users mailing list
[hidden email]
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
Reply | Threaded
Open this post in threaded view
|

Re: App version & installed?

ubuntu-users mailing list
23 September 2018  at 16:44, Ralf Mardorf wrote:
Re: App version & installed? (at least in part)

>On Sun, 2018-09-23 at 14:38 +0100, Grizzly via ubuntu-users wrote:

>> rm /usr/local/bin//aircrack*
 
>> is going cause problems?

>What kind of problems should it cause?

Well you never know what may happen if you remove a dir/folder  

>It shouldn't cause any problems, but also won't gain much, there are likely
>more related files installed to /usr/local/*, take a look at the package for
>Xenial, which at least does use a different prefix

I do now have most of the apps work
show up on apt-cache policy and
which shows them in usr/bin (after I cleared out the same files from
usr/local/bin)

there are a few files/dirs below /usr/local/ can they also go?

--
ubuntu-users mailing list
[hidden email]
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
Reply | Threaded
Open this post in threaded view
|

Re: App version & installed?

Oliver Grawert
hi,
Am Montag, den 24.09.2018, 11:07 +0100 schrieb Grizzly via ubuntu-
users:

> there are a few files/dirs below /usr/local/ can they also go?
>
there is a default directory structure in place... on a system that has
never installed anything from source in /usr/local it looks like:

$ find /usr/local
/usr/local
/usr/local/sbin
/usr/local/share
/usr/local/share/fonts
/usr/local/share/sgml
/usr/local/share/sgml/stylesheet
/usr/local/share/sgml/declaration
/usr/local/share/sgml/dtd
/usr/local/share/sgml/entities
/usr/local/share/sgml/misc
/usr/local/share/xml
/usr/local/share/xml/declaration
/usr/local/share/xml/schema
/usr/local/share/xml/entities
/usr/local/share/xml/misc
/usr/local/share/ca-certificates
/usr/local/share/emacs
/usr/local/share/emacs/site-lisp
/usr/local/share/man
/usr/local/etc
/usr/local/games
/usr/local/src
/usr/local/include
/usr/local/bin
/usr/local/man
/usr/local/lib
/usr/local/lib/python3.5
/usr/local/lib/python3.5/dist-packages
/usr/local/lib/python2.7
/usr/local/lib/python2.7/dist-packages
/usr/local/lib/python2.7/site-packages

you might want to keep these dirs around but clean up any additional
content in them...

ciao
        oli
--
ubuntu-users mailing list
[hidden email]
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users

signature.asc (188 bytes) Download Attachment
12