简体   繁体   English

在Debian中执行更新工具Glassfish的问题

[英]Issue executing updatetool glassfish in Debian

I have installed glassfish 4 and it works pretty well but few minutes ago I tried to execute updatetool but I get this error: 我已经安装了glassfish 4,并且运行良好,但是几分钟前我尝试执行updatetool但出现此错误:

./updatetool: 283: ./updatetool: /home/mazzy/glassfish4/updatetool/bin/../../pkg/python2.4-minimal/bin/python: not found
---------------------------------------------------------------
There was an error running

/home/mazzy/glassfish4/updatetool/bin/../../pkg/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
---------------------------------------------------------------

My system is Debian 7.1.0 Wheezy 64 bit. 我的系统是Debian 7.1.0 Wheezy 64位。

What do you suggest to do? 您建议做什么? Please don't say to install ia32-libs package because I have already tried to install it bit it could not be installed in my sistem. 请不要说要安装ia32-libs软件包,因为我已经尝试安装它了,无法在我的系统中安装它。

EDIT 编辑

This is the next error I get after having installed ia32-libs for i386 architecture: 这是为i386体系结构安装ia32-libs之后出现的下一个错误:

GlassFish Update Tool does not support running in "it_IT.utf" locale.
Attempting to use English locale.
WX import error.  Verify the WX widgets are in the PYTHONPATH.
The following can be reported to GlassFish Update Tool 2.3.5 Development Team <dev@updatecenter.java.net>.

Traceback (innermost last):
  File "/home/mazzy/glassfish4/updatetool/vendor-packages/updatetool/common/boot.py", line 283, in init_app_locale
    import wx
  File "wx/__init__.py", line 45, in ?
  File "wx/_core.py", line 4, in ?
 ImportError: libgtk-x11-2.0.so.0: impossibile aprire il file oggetto condiviso: File o directory non esistente

我刚刚写了关于在glassfish 4上安装updatetool的参考, https: //stackoverflow.com/questions/21060532/how-to-install-updatetool-on-glassfish-4-64bit-reference我还没有遇到问题使用您提到的库(而不是其他库),因此可以随时完成。

In Debian 7 the you will need to indicate to dpkg the additional architecture to be able to install 32 bit libraries. 在Debian 7中,您将需要指示dpkg附加体系结构以便能够安装32位库。 Use: 采用:

dpkg --add-architecture i386

Then update the repository cache and install the desired packages indicating the i386 architecture. 然后更新存储库缓存并安装指示i386体系结构的所需软件包。

aptitude update

aptitude install libgtk2.0-0:i386

Doing this for each library indicated in the error messages. 对错误消息中指示的每个库执行此操作。 In my experiencie: libpangoxft-1.0-0:i386, libidn11:i386, libjpeg62:i386, libsm6:i386, libpangox-1.0-0:i386 以我的经验:libpangoxft-1.0-0:i386,libidn11:i386,libjpeg62:i386,libsm6:i386,libpangox-1.0-0:i386

I have: Linux version 3.10-2-amd64 (debian-kernel@lists.debian.org) (gcc version 4.7.3 (Debian 4.7.3-6) ) #1 SMP Debian 3.10.5-1 (2013-08-07) 我有: Linux版本3.10-2-amd64(debian-kernel@lists.debian.org)(gcc版本4.7.3(Debian 4.7.3-6))#1 SMP Debian 3.10.5-1(2013-08- 07)

and I couldn't update any lib related to "i386" because it a testing source, but! 而且我无法更新与“ i386”相关的任何库,因为它是测试源,但是! I have Glassfish (very updated) on my Windows so I stop the domain on Debian and copy/paste the whole folder /modules and done! 我的Windows上有Glassfish(已更新),因此我在Debian上停止了该域,然后复制/粘贴了整个文件夹/ modules,然后完成!

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM