Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot install on Ubuntu 20.04 #465

Closed
Vinnl opened this issue Apr 25, 2020 · 10 comments
Closed

Cannot install on Ubuntu 20.04 #465

Vinnl opened this issue Apr 25, 2020 · 10 comments

Comments

@Vinnl
Copy link

Vinnl commented Apr 25, 2020

The latest Long-Term Support release of Ubuntu (20.04) was released this week, and the .deb package for v1.9.3 cannot be installed on it:

$ sudo dpkg -i ./prey_1.9.3_amd64.deb
[sudo] password for vincent: 
Selecting previously unselected package prey.
(Reading database ... 332240 files and directories currently installed.)
Preparing to unpack ./prey_1.9.3_amd64.deb ...
Unpacking prey (1.9.3) ...
dpkg: dependency problems prevent configuration of prey:
 prey depends on python-gtk2; however:
  Package python-gtk2 is not installed.
 prey depends on scrot; however:
  Package scrot is not installed.
 prey depends on streamer; however:
  Package streamer is not installed.
 prey depends on mpg123; however:
  Package mpg123 is not installed.

dpkg: error processing package prey (--install):
 dependency problems - leaving unconfigured
Errors were encountered while processing:
 prey
@sbmw
Copy link

sbmw commented Apr 28, 2020

Same error with v1.9.4


Selecting previously unselected package prey.
(Reading database ... 280949 files and directories currently installed.)
Preparing to unpack prey_1.9.4_amd64.deb ...
Unpacking prey (1.9.4) ...
dpkg: dependency problems prevent configuration of prey:
 prey depends on python; however:
  Package python is not installed.
 prey depends on python-gtk2; however:
  Package python-gtk2 is not installed.
 prey depends on scrot; however:
  Package scrot is not installed.
 prey depends on streamer; however:
  Package streamer is not installed.
 prey depends on mpg123; however:
  Package mpg123 is not installed.

dpkg: error processing package prey (--install):
 dependency problems - leaving unconfigured
Errors were encountered while processing:
 prey

@javo
Copy link
Contributor

javo commented Apr 30, 2020

Hi,

You can fix this using sudo apt-get install scrot streamer mpg123
Then download the Ubuntu 20 prey installer from https://www.dropbox.com/s/glpb50o33yzhfvr/prey_1.9.4_u20_amd64.deb?dl=1
(sorry the dropbox link, I just created a custom installer for Ubuntu 20)

Then install it using this command sudo dpkg -i prey_1.9.4_u20_amd64.deb

Let me know how it goes
Regards,
Javo

@darren12345
Copy link

@javo I came here to report the same error, but sorry, I'm not prepared to download and install a file from Dropbox provided by random Internet guy :)

@javo
Copy link
Contributor

javo commented May 29, 2020

Hi @darren12345, the fix is already available on the prey downloads site :)

Regards,
Random internet guy 😎

@javo javo closed this as completed May 29, 2020
@darren12345
Copy link

darren12345 commented May 29, 2020

@javo For Ubuntu 64-bit? Not when I happened to look earlier today.

@Vinnl
Copy link
Author

Vinnl commented May 29, 2020

Using v1.9.4 downloaded from https://preyproject.com/download/:

$ sudo dpkg -i ./prey_1.9.4_amd64.deb
[sudo] password for vincent: 
Selecting previously unselected package prey.
(Reading database ... 333299 files and directories currently installed.)
Preparing to unpack ./prey_1.9.4_amd64.deb ...
Unpacking prey (1.9.4) ...
dpkg: warning: unable to delete old directory '/usr/lib/prey/versions/1.9.3/lib/agent/actions/alarm': Directory not empty
dpkg: warning: unable to delete old directory '/usr/lib/prey/versions/1.9.3/lib/agent/actions/alert': Directory not empty
dpkg: warning: unable to delete old directory '/usr/lib/prey/versions/1.9.3/lib/agent/actions': Directory not empty
dpkg: warning: unable to delete old directory '/usr/lib/prey/versions/1.9.3/lib/agent/triggers/auto-connect': Directory not empty
dpkg: warning: unable to delete old directory '/usr/lib/prey/versions/1.9.3/lib/agent/triggers': Directory not empty
dpkg: warning: unable to delete old directory '/usr/lib/prey/versions/1.9.3/lib/agent': Directory not empty
dpkg: warning: unable to delete old directory '/usr/lib/prey/versions/1.9.3/lib': Directory not empty
dpkg: warning: unable to delete old directory '/usr/lib/prey/versions/1.9.3/node_modules/os-triggers': Directory not empty
dpkg: warning: unable to delete old directory '/usr/lib/prey/versions/1.9.3/node_modules/satan/node_modules': Directory not empty
dpkg: warning: unable to delete old directory '/usr/lib/prey/versions/1.9.3/node_modules/satan': Directory not empty
dpkg: warning: unable to delete old directory '/usr/lib/prey/versions/1.9.3/node_modules/node-pre-gyp/node_modules': Directory not empty
dpkg: warning: unable to delete old directory '/usr/lib/prey/versions/1.9.3/node_modules/node-pre-gyp': Directory not empty
dpkg: warning: unable to delete old directory '/usr/lib/prey/versions/1.9.3/node_modules/touch/node_modules': Directory not empty
dpkg: warning: unable to delete old directory '/usr/lib/prey/versions/1.9.3/node_modules/touch': Directory not empty
dpkg: warning: unable to delete old directory '/usr/lib/prey/versions/1.9.3/node_modules/network/node_modules': Directory not empty
dpkg: warning: unable to delete old directory '/usr/lib/prey/versions/1.9.3/node_modules/network': Directory not empty
dpkg: warning: unable to delete old directory '/usr/lib/prey/versions/1.9.3/node_modules/decompress-zip/node_modules': Directory not empty
dpkg: warning: unable to delete old directory '/usr/lib/prey/versions/1.9.3/node_modules/decompress-zip': Directory not empty
dpkg: warning: unable to delete old directory '/usr/lib/prey/versions/1.9.3/node_modules': Directory not empty
dpkg: warning: unable to delete old directory '/usr/lib/prey/versions/1.9.3': Directory not empty
dpkg: dependency problems prevent configuration of prey:
 prey depends on python-gtk2 | libgtk-3-dev; however:
  Package python-gtk2 is not installed.
  Package libgtk-3-dev is not installed.
 prey depends on scrot; however:
  Package scrot is not installed.
 prey depends on streamer; however:
  Package streamer is not installed.
 prey depends on mpg123; however:
  Package mpg123 is not installed.

dpkg: error processing package prey (--install):
 dependency problems - leaving unconfigured
Errors were encountered while processing:
 prey

Edit: Running sudo apt-get install --fix-broken fixed it!

@KairanD
Copy link

KairanD commented May 30, 2020

I have just downloaded the software from the official site and installed in 3 different computers running Ubuntu 20.04 LTS. It worked flawlessly!

Thanks for supporting GNU/Linux!

@darren12345
Copy link

@KairanD was it is the 32 bit or 64 bit version?

@KairanD
Copy link

KairanD commented May 30, 2020

@darren12345 64 bit version.

@darren12345
Copy link

OK, I just noticed the update to @Vinnl 's post about running apt --fix-broken. This worked on two machines (it wanted to install about 90 extra packages though). However, on one I couldn't get it to open the Firefox URL for linking the machine to Prey. It's not a device I actually want to link though so I'm not too worried about that. It's working on my laptop now which is the main thing. Thanks all.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants