我需要在 CentOS6 中安装 pgAdmin3,但出现了依赖项错误。
[root@andre tmp]# rpm -ivh --aid pgadmin3-1.12.2-2.el6.x86_64.rpm
warning: pgadmin3-1.12.2-2.el6.x86_64.rpm: Header V3 RSA/SHA256 Signature, key ID 0608b895: NOKEY
error: Failed dependencies:
libwx_baseu-2.8.so.0()(64bit) is needed by pgadmin3-1.12.2-2.el6.x86_64
libwx_baseu-2.8.so.0(WXU_2.8)(64bit) is needed by pgadmin3-1.12.2-2.el6.x86_64
libwx_baseu-2.8.so.0(WXU_2.8.5)(64bit) is needed by pgadmin3-1.12.2-2.el6.x86_64
libwx_baseu_net-2.8.so.0()(64bit) is needed by pgadmin3-1.12.2-2.el6.x86_64
libwx_baseu_net-2.8.so.0(WXU_2.8)(64bit) is needed by pgadmin3-1.12.2-2.el6.x86_64
libwx_baseu_xml-2.8.so.0()(64bit) is needed by pgadmin3-1.12.2-2.el6.x86_64
libwx_baseu_xml-2.8.so.0(WXU_2.8)(64bit) is needed by pgadmin3-1.12.2-2.el6.x86_64
libwx_gtk2u_adv-2.8.so.0()(64bit) is needed by pgadmin3-1.12.2-2.el6.x86_64
libwx_gtk2u_adv-2.8.so.0(WXU_2.8)(64bit) is needed by pgadmin3-1.12.2-2.el6.x86_64
libwx_gtk2u_aui-2.8.so.0()(64bit) is needed by pgadmin3-1.12.2-2.el6.x86_64
libwx_gtk2u_aui-2.8.so.0(WXU_2.8)(64bit) is needed by pgadmin3-1.12.2-2.el6.x86_64
libwx_gtk2u_core-2.8.so.0()(64bit) is needed by pgadmin3-1.12.2-2.el6.x86_64
libwx_gtk2u_core-2.8.so.0(WXU_2.8)(64bit) is needed by pgadmin3-1.12.2-2.el6.x86_64
libwx_gtk2u_html-2.8.so.0()(64bit) is needed by pgadmin3-1.12.2-2.el6.x86_64
libwx_gtk2u_html-2.8.so.0(WXU_2.8)(64bit) is needed by pgadmin3-1.12.2-2.el6.x86_64
libwx_gtk2u_ogl-2.8.so.0()(64bit) is needed by pgadmin3-1.12.2-2.el6.x86_64
libwx_gtk2u_ogl-2.8.so.0(WXU_2.8)(64bit) is needed by pgadmin3-1.12.2-2.el6.x86_64
libwx_gtk2u_qa-2.8.so.0()(64bit) is needed by pgadmin3-1.12.2-2.el6.x86_64
libwx_gtk2u_richtext-2.8.so.0()(64bit) is needed by pgadmin3-1.12.2-2.el6.x86_64
libwx_gtk2u_stc-2.8.so.0()(64bit) is needed by pgadmin3-1.12.2-2.el6.x86_64
libwx_gtk2u_stc-2.8.so.0(WXU_2.8)(64bit) is needed by pgadmin3-1.12.2-2.el6.x86_64
libwx_gtk2u_xrc-2.8.so.0()(64bit) is needed by pgadmin3-1.12.2-2.el6.x86_64
libwx_gtk2u_xrc-2.8.so.0(WXU_2.8)(64bit) is needed by pgadmin3-1.12.2-2.el6.x86_64
wxGTK is needed by pgadmin3-1.12.2-2.el6.x86_64
有没有办法安装这个带有依赖项的 RPM,或者我必须手动一个一个地安装这些依赖项?
此致,
答案1
订阅你的 CentOSPostgreSQL yum 存储库,其中也有适用于 pgAdmin3 的软件包。然后,您可以安装 pgAdmin 并通过 yum 接收更新,就像您通常在 CentOS 上所做的那样。