How to tell which version of a application is running

Ralf Mardorf silver.bullet at zoho.com
Mon Apr 17 23:13:49 UTC 2017


>On Mon, 17 Apr 2017 17:55:33 -0500, Chris wrote:
>>On Sun, 2017-04-16 at 23:24 +1000, Karl Auer wrote:
>>> On Sun, 2017-04-16 at 07:23 -0500, Chris wrote:   
>>>> Question is, which version of tracker is running?  
>>> Rename the Ubuntu version to tracker.org and reboot (or restart
>>> tracker if it's a systemd-type thing). That way it has to be your
>>> version or none. But read the rest of this message first.  
>>Karl, that worked perfectly! I renamed tracker as you suggested,
>>logged out and back in. The re-indexing started but only ran a few
>>minutes, and finished.

If you run what I wrote on Sun, 2017-04-16 at 17:37 +0200...
> sudo dpkg-divert --add --rename --divert /usr/bin/tracker.backup /usr/bin/tracker
... you prevent /usr/bin/tracker to get reinstalled by an upgrade.

You also could use "org" or anything else instead of "backup", e.g.

  sudo dpkg-divert --add --rename --divert /usr/bin/tracker.org /usr/bin/tracker

If you can't uninstall the package containing /usr/bin/tracker and you shouldn't
use a workaround like dpkg-divert, the next upgrade of the package containing
/usr/bin/tracker will reinstall /usr/bin/tracker.

Regards,
Ralf





More information about the ubuntu-users mailing list