-
Notifications
You must be signed in to change notification settings - Fork 76
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
Prey 1.5.1 deb install fails on Ubuntu 16.04 #201
Comments
Hey @kallisti5,
Then install the necessary dependencies
And finally reinstall prey. Try that and please let me know how it went, it would help us a lot to figure out what's happening Thanks! |
I'm having the same issue. However, those dependencies were already installed because when I run it I get the following: ~$ sudo apt-get install python-gtk2 scrot mpg123 streamer Something to note: I used gdebi to install it initially. I was able to sign in and I tested it on the site to make sure everything was working; it was fine. What made me notice there was an issue was when I installed an application via terminal, and I saw the same long list that @kallisti5 mentioned above. All the files were "chowning /path/to/file to uid 999 and gid 999". After which, the prey process stopped. |
Looks like the following line is failing causing the error code (1) Setting the shell(because prey's default is /bin/false) prevents the error but does not launch the gui For now I just commented out that line and ran How to edit a deb package: http://unix.stackexchange.com/questions/138188/easily-unpack-deb-edit-postinst-and-repack-deb/138190 |
Having recently given up on prey for Ubuntu, I continue to wonder at comments by the developers which suggest they've never actually installed prey on a native Ubuntu box (or VM) and tested it themselves. Having to continuously ask users to offer suggested solutions to the same problems repeatedly reported from version to version is odd enough. But even stranger is that fixes suggested to solve problems in the ever-broken post-install script obviously never make it into the most recent packages. So what exactly is the point of asking for fixes? |
The point is that those fixes should make it to the latest package. The real issue here, as I see it, is velocity. We are not being able to answer nor fix issues at the expectations that I think all of us share. I would like to see us, the core developers, answering and fixing things promptly, but I've to use the "we are small team" card as we are working on a lot of things at the same time. I can only assure that this will get fixed, and pretty soon. Our streak was amazingly good a few months ago, and I'm pretty sure we'll be able to get back on track, that's why it's so important for us that you guys keep posting issues and giving us feedback, it reminds us that we have to put focus on the community first, before our own internal things. We gather as a team every two weeks to discuss the top issues for the following two weeks of work. I'll put these issues first so that we can hopefully release version 1.6.1 by the end of this cycle. |
I really don't know why I keep fooling with this except it's frustrating that every version seems to break in just one slight way or another on recent ubuntu versions. Since I discovered there is now an "official" version of prey in the ubuntu repository, I decided to try that one. Hope springs eternal. I followed the instructions above to completely purge, reload dependencies, then reinstall prey, Amazingly enough, that all went flawlessly. Or so it seemed after running the setup script, but -- alas! -- it was not to be. This time, when running the prey.sh script, I get this output: ////////////////////// BEGIN OUTPUT///////////////// PREY 0.6.2 spreads its wings!Linux rex 4.4.0-22-generic #40-Ubuntu SMP Thu May 12 22:03:46 UTC 2016 x86_64 x86_64 x86_64 GNU/LinuxFri May 27 23:34:53 COT 2016-- Looking for connection...
-- Gathering system and hardware information... ///////////// END OUTPUT/////////// There were originally three devices registered to this account but I had to remove the entry for the Ubuntu laptop when I couldn't get a clean install of any prey version after upgrading to 16.04. Therefore only two devices are currently registered to that account. There are three slots. Reason would suggest the remaining one should be "available". But that's obviously wrong. I even removed an additional device from the control panel (leaving only one registered), but that made no difference. The laptop still wouldn't register. But the other device I removed (a smartphone) re-registered with no problem. So this round of failure apparently owes to something on the server side rather than on the client. So that's progress of a sort. But still no joy. |
New version 1.6.1 should fix this issue. We would really appreciate your test results with the new installer available at https://github.com/prey/prey-node-client/releases/tag/v1.6.1 |
Version 1.6.1 seems to work fine. Thanks. I'll report if I come across any issues. |
Hi, Rodrigo ...
OK, this version 1.6.1 appears to have installed on Ubuntu without
failure.
However, it's been awhile since I last installed this on Ubuntu and
there are no visible instructions how to actually get the setup
completed. I remain a bit astonished how much the Prey version for
Ubuntu seems like a kit car delivered without assembly instructions.
Generally they would be mentioned in the README file if nowhere
else. But there's not a word.
I have the API defined in the new prey.conf file but have no idea
what comes next to make connection and retrieve the device id. Can
you offer a hint?
Best,
Bud Hovell
|
@bhovell2 after the install process a GUI for configuration should pop up. If that wasn't the case you could try running |
Hi, Rodrigo ....
You might want to mention this in the README. I've never seen a pop Also, this is the ouput I get:
Is that what's expected? Also, there's nothing mentioned in the README about the necessity to Is that supposed to happen automagically also? I did add my API, so
I do not, of course, know what the device key is, so couldn't add that. Best, Bud |
You have to add the Also, it's not required for you to edit the prey.conf manually. Both the CLI and the GUI should update it for you. Please do let me know if you are able to run |
| Hi, Rodrigo ... |
That said, running the command you provided did get the device ||||However, when I tried to update the location of the device from So I ran the debug "prey -D" with this log output:
|
|So prey can locally discover the location coordinates but cannot Best, Bud Hovell | |
My mistake, Rodrigo ... I should have shown: [....]
|
Hi, Rodrigo ... After fussing around a bit with this installation, I put in a cron Good job! And thanks for getting that fix in place.Bud Hovell If you aren't taking flak, you aren't over the target. |
This issue is solved installing 1.6.1 client version. 😄 https://preyproject.com/download |
The text was updated successfully, but these errors were encountered: