因此,我目前正在运行Debian 9 64位LINUX构建(作为一些背景)。
我已经安装了unixODBC (编译为32位)和odbc-postgresql:i386,现在最后的部分应该是安装实际的postgresql-9.6 rdms。
我正试图通过一个简单的尝试和真正的调用来实现这一点.
sudo apt-get install postgresql-9.6:i386不幸的是,我得到了一些未满足的依赖关系,如下所示..。
root@linux2:/home/jeremyn/unixODBC-2.3.0# sudo apt-get install postgresql-
9.6:i386
Reading package lists... Done
Building dependency tree
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:
The following packages have unmet dependencies:
postgresql-9.6:i386 : Depends: locales:i386 but it is not installable
Depends: libsystemd0:i386 but it is not going to be installed
Recommends: postgresql-contrib-9.6:i386 but it is not going to be installed
Recommends: sysstat:i386 but it is not going to be installed
E: Unable to correct problems, you have held broken packages.通常,这是一个小问题,我只需要安装必要的依赖项,但是从这里开始,问题似乎层出不穷。
Package locales:i386 is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
However the following packages replace it:
libc-l10n
E: Package 'locales:i386' has no installation candidate我也尝试过安装libc-l10n,但它只会导致进一步的问题。有没有人遇到过这个问题,并找到了在Debian 9构建上安装PostgreSQL9.6:i 386的方法?
发布于 2018-08-18 10:17:38
我非常怀疑安装32位版本的PostgreSQL服务器会有什么不同。在任何情况下,由于涉及locales包的各种问题(有关详细信息,请参阅这只虫子 ),您将无法在amd64系统上安装postgresql-9.6:i386;除了在没有locales依赖项的情况下自己重新构建包之外,没有其他解决办法。
总之,请安装postgresql-9.6,或者在32位Debian安装上再试一次.
https://unix.stackexchange.com/questions/463262
复制相似问题