由于postgresql函数中使用了一些遗留的32位库,我需要在64位本机系统上安装32位Postgresql。但是,似乎存在这样一个问题,即多重结构没有将all.debs视为令人满意的依赖项。
uname -a:
3.8.0-29-generic #42-precise-Ubuntu SMP x86_64dpkg --print-architecture:
amd64dpkg --print-foreign-architecture:
i386apt-get install postgresql-9.1:
返回
postgresql : Depends: postgresql-9.1 but it is nto going to be installed
postgresql-9.1:i386 : Depends: postgresql-common:i386 but it is not installable
Depends: ssl-cert:i386 but it is not installable
Depends: locales:i386 but it is not installable等等。
但是我已经安装了ssl-cert_1.0.28ubuntu0.1_all.deb和locales_..._all.deb,postgresql-common是一个all.deb
是否有人有在64位系统上安装32位包的经验,这些系统依赖于all.debs的包。
或者有人在64位上安装了32位postgres?任何帮助都很感激。
发布于 2013-10-22 00:56:18
要在64位上安装32位包,您需要运行以下命令:sudo apt-get install ia32-libs -y。在Ubuntu 13.10中,不再需要这样做。
发布于 2013-10-22 02:54:23
无法帮助安装i386 postgresql (尝试更低级别的包例程),但是仍然需要添加3个未包含在ia32库中的库:
$ ldd /mnt/sda1/usr/lib/postgresql/9.1/bin/* | fgrep found |sort -u
libedit.so.2 => not found
libpam.so.0 => not found
libpq.so.5 => not found(从一个12.04 64位系统的ia32libs和多弓,看看安装的32位12.04根分区)。
https://askubuntu.com/questions/363430
复制相似问题