I'm trying to launch pkg for updating my glassfish 4 in Kubuntu 14.04 x64
I get an error:
"There was an error running
/opt/glassfish4/pkg/bin/../python2.4-minimal/bin/python
You are running on a 64 bit Linux distribution and the 32 bit Linux
compatibility libraries do not appear to be installed. In order to use
the Update Center tools you must install the 32 bit compatibility libraries.
On Ubuntu (and possibly other Debian based systems) please install the
ia32-libs package. On RedHat 4 (and other RPM based systems), you may
need to add multiple 'compat' runtime library packages. Please see the
Update Center Release Notes for more information"
so far I found two approaches:
1) installing i386 libraries for the tool
2) replacing the original pkg script and _actions.so with the "right" ones
The first approach was executed as on https://wikis.oracle.com/display/updatecenter/Release+Notes+for+Update+C...
and the second inspired by https://blog.kumina.nl/2010/07/glassfish-3-0-1s-pkg-tool-using-debians-p...
But both were unsuccessfull :(
in the first we have libraries for Ubuntu 13 and it's not enough, the error is still reproduced
in the second I have a problem with _actions.c source file, cause the original link is broken, and google gives me only https://java.net/projects/ips/sources/pkg-gate/content/src/modules/actio...
and the file I think has changed significantly, cause I have an error "Key error: Action type class missing: signature"
I tried to comment initialization of signature action type, then I got another error something like can't find "_fromstr" import in __init.py__
I changed the _fromstr to fromstr as it is declared in _action.c
now it has no more errors, but can't parse subcommands in pkg command :)
! any ideas how to get it work in any of these directions?