Any way to stop a hanging WPKG-GP?

361 views
Skip to first unread message

Jason Taylor

unread,
Apr 5, 2013, 9:46:22 AM4/5/13
to wpk...@googlegroups.com
Is there any way to cancel WPKG-GP when one of the programs it's running has froze? We're having some issues with older versions of Java hanging on uninstall, and we have to just pull the plug. During testing, we had similar issues when we didn't quite have a package properly set up. It's annoying to have to turn the system off when something goes wrong.

Carlos Pasqualini

unread,
Apr 5, 2013, 10:30:29 AM4/5/13
to wpk...@googlegroups.com
wpkg-gp doesn't have nay way to stop it....

what you could do is to set timeout on each command, by default that timeout is 3600seconds (1hour), but you can set the timeout you want on a per command basis

See: http://wpkg.org/Timeouts

On another thread on this same group: "Set a limit on WPKG run on startup...",  Marco Gaiarin documented a way to stop wpkg if it takes too long to run, but found that it works on the point that you get a login, but it keeps the hanging process running.
See: https://groups.google.com/d/msg/wpkg-gp/PMENkeCYzw8/cONPjIyGmjIJ

This issue has been discussed in the wpkg-users list, the final thought i get from that thread was that If you are having troubles with a package, the solution is to fix the package definition, not to set a timeout.

Another thing that was specified there was a way to check if there are updates, if positive then show a message to the logged on user and activate wpkg-gp on next boot; if there are not updates pending, then deacitvate wpkg-gp.
I'am testing that way right now, as we are having complaints from our users on the long startup time it takes sometimes...
It's not a solution, it's just a hack that get some better interaction with your users.

But if you have trouble with java, it's a sign that you did not tested every situation before getting your package definition to your users' computers. WPKG it's great, but you need to test a lot of scenarios before running it, even more if your installed base is so different.

Here, on my network we manually uninstalled any conflicting package before running wpkg for the first time, that was translated in eliminating the troubles with old jre, flash, and the like


I hope this helps



Jason Taylor

unread,
Apr 5, 2013, 11:03:34 AM4/5/13
to wpk...@googlegroups.com
Excellent! Thank you very much. The cscript timeout will work perfectly.

Stefan Pendl

unread,
Apr 6, 2013, 4:40:40 AM4/6/13
to wpk...@googlegroups.com
Am 05.04.2013 17:03, schrieb Jason Taylor:
> Excellent! Thank you very much. The cscript timeout will work perfectly.
>

Some Java update releases are not removed correctly, so I have stopped
removing old updates and just install the new ones.

It is a pity that Java has now turned into a problematic package, where
it was quite stable before.


--
Stefan P.

Top-posting:
A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing in e-mail?
Reply all
Reply to author
Forward
0 new messages