How to tell which version of a application is running

Chris cpollock at embarqmail.com
Sun Apr 16 12:58:16 UTC 2017


On Sun, 2017-04-16 at 14:44 +0200, Xen wrote:
> Chris schreef op 16-04-2017 14:23:
> 
> > 
> > Please, only helpful replies.
> Which one takes precedence depends on your PATH.
> 
> However if it is getting loaded through (a systemd) service then it
> will 
> likely directly execute the old one.
> 
> Looking at the filelist
> 
> /etc/xdg/autostart/tracker-store.desktop
> /usr/lib/x86_64-linux-gnu/tracker-1.0/writeback-modules/libwriteback-
> taglib.so
> /usr/lib/x86_64-linux-gnu/tracker-1.0/writeback-modules/libwriteback-
> xmp.so
> /usr/share/dbus-1/services/org.freedesktop.Tracker1.Writeback.service
> /usr/share/dbus-1/services/org.freedesktop.Tracker1.service
> 
> There is not a lot that can automatically start it but I don't know
> how 
> this works.
> 
> But anyway; if all else is equivalent, you can just symlink the new
> one 
> to the old one:
> 
> # mv /usr/bin/tracker{,.backup}
> # ln -s /usr/local/bin/tracker /usr/bin/
> 
> And see what happens.
> 

Thanks for the reply Xen, what I want to be sure of is that 1.12.0 is
running vice 1.6.2. Both locations are in my path

echo $PATH
/home/chris/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin
:/bin:/usr/games:/usr/local/games:/snap/bin

I see what you mean by making the symlink, I'll give that a try. I see
that will make sure that no matter which one is called on the restart
it will always be the newest one.

Thanks, I'll get back with results.

Chris

-- 
Chris
KeyID 0xE372A7DA98E6705C
31.11972; -97.90167 (Elev. 1092 ft)
07:50:16 up 10:39, 1 user, load average: 0.73, 0.55, 0.47
Description:	Ubuntu 16.04.2 LTS, kernel 4.4.0-72-generic
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 181 bytes
Desc: This is a digitally signed message part
URL: <https://lists.ubuntu.com/archives/ubuntu-users/attachments/20170416/b3ef35c2/attachment.sig>


More information about the ubuntu-users mailing list