安装 TeamPostgreSQL 时出现“bin/unpack200: not found”

com*_*eck 2 postgresql ubuntu

运行 Ubuntu 14.04 64 位。我从项目网站下载了 68MB .sh 文件。当我使用 sudo 运行文件时,我得到以下输出:

ben@tardis:~$ sudo ./teampostgresql_ubuntu.sh 
Unpacking JRE ...
Preparing JRE ...
./teampostgresql_ubuntu.sh: 256: ./teampostgresql_ubuntu.sh: bin/unpack200: not found
Error unpacking jar files. Aborting.
You might need administrative priviledges for this operation.
Run Code Online (Sandbox Code Playgroud)

我试过安装,openjdk-7-jre-headless但这没有帮助。项目页面没有列出任何依赖项,所以我不确定从这里开始做什么。我也试过在 root shell 中运行,没有区别。

cho*_*o99 7

那是 32 位系统的包

如果您使用 64 位系统,则安装 32 位库

在 ubuntu 13.10 之前

sudo apt-get install ia32-libs

在 Ubuntu 14.04 之后

sudo dpkg --add-architecture i386
sudo apt-get 更新
sudo apt-get 安装 libc6:i386 libncurses5:i386 libstdc++6:i386

用于控制台模式

teampostgresql_ubuntu.sh -c