I have successfully installed Glassfish 3.1.2 onto Ubuntu server 12.04.
However when I try to update the server using "sudo ./bin/pkg image-update" I am prompted to install the pkg package.
It attempts to use the system proxy settings and I get the following error:
GLib-GIO-ERROR **: Settings schema 'org.gnome.system.proxy' is not installed
Obviously as a server edition it will not have gnome installed.
I have also noticed that this screws up glassfish as it fails with the same error when started.
This only occurs when I try to update glassfish after running pkg. Also there is no .updatetool/init.cgf file created where the a proxy is set.
Even if I do a fresh install of glassfish the problem exists. The running or installation of pkg must set a system variable to look for the system.proxy.