Make it work with Ubuntu 20.04

It won’t install as it depends on python-gtk2 that was removed from the repos.

1 Like

Hi… Download the new version from https://downloads.preyproject.com/prey-client-releases/node-client/1.9.4/prey_1.9.4_amd64.deb
And install it using this command:
sudo dpkg --ignore-depends=python,python-gtk2 -i prey_1.9.4_amd64.deb

Regads
Javo

I’ve installed it, but at the next apt update / upgrade I get:

$ sudo apt upgrade
Lettura elenco dei pacchetti… Fatto
Generazione albero delle dipendenze
Lettura informazioni sullo stato… Fatto
È utile eseguire “apt --fix-broken install” per correggere ciò.
I seguenti pacchetti hanno dipendenze non soddisfatte:
prey : Dipende: python-gtk2 ma non è installabile
E: Dipendenze non soddisfatte. Provare “apt --fix-broken install” senza pacchetti (o specificare una soluzione).

And I can’t upgrade anything on my system.
You should remove the dependency in the package for 20.04

I had to remove prey.

Hi,
I checked this and you’re right… I just created another installer that you can download from here: https://www.dropbox.com/s/glpb50o33yzhfvr/prey_1.9.4_u20_amd64.deb?dl=1
Then run sudo apt --fix-broken install and uninstall prey completely.
After you download the package install it again with sudo dpkg -i prey_1.9.4_u20_amd64.deb

That should work fine.
Let me know if that works well so I can formalize this solution.

Kind regards,
Javo

Same problem, here. Installed the version uploaded to dropbox. Installed with no problems, but on triggering gui config, it crashes.

Hi @lcv,

Could you please tell me how does it crashes? Also paste the terminal output here so I can see the error.

Regards,
Javo

uh, wrong installer. With the dropbox one has worked again.
Thank you.

Dear Staff Member

If this method - the dpkg method - is the one to use, at least on certain popular distributions - then had you better not make that clear somewhere other than in this forum? Compare my unanswered post of two weeks ago, here.

Hi! I also have issues on Ubuntu 20.04… Using the package from Dropbox, installer runs ok with sudo dpkg --ignore-depends=python,python-gtk2 -i prey_1.9.4_u20_amd64.deb, but when I try to connect it, I get an error:

[email protected]:~/Downloads$ sudo /usr/lib/prey/current/bin/prey config panel
Firing up config panel!
A browser tab will now open and direct you to the device link process. If you encounter any issue please visit:
https://help.preyproject.com/article/257-how-to-troubleshoot-a-desktop-prey-configuration

[email protected]:~/Downloads$ sudo /usr/lib/prey/current/bin/prey config gui
EXCEPTION! system is not defined
ReferenceError: system is not defined
    at show_and_exit (/usr/lib/prey/versions/1.9.4/lib/conf/gui/index.js:27:19)
    at /usr/lib/prey/versions/1.9.4/lib/conf/gui/index.js:64:7
    at Object.exports.verify_current (/usr/lib/prey/versions/1.9.4/lib/conf/shared/keys.js:62:12)
    at show (/usr/lib/prey/versions/1.9.4/lib/conf/gui/index.js:51:17)
    at exports.check_and_show (/usr/lib/prey/versions/1.9.4/lib/conf/gui/index.js:69:12)
    at /usr/lib/prey/versions/1.9.4/lib/conf/cli.js:54:7
    at Operetta.parse (/usr/lib/prey/versions/1.9.4/lib/conf/utils/operetta.js:124:7)
    at Operetta.start (/usr/lib/prey/versions/1.9.4/lib/conf/utils/operetta.js:165:14)
    at run (/usr/lib/prey/versions/1.9.4/lib/conf/cli.js:53:11)
    at /usr/lib/prey/versions/1.9.4/lib/conf/cli.js:62:7

No browser tab or GUI opens… Any assistance appreciated, thanks!