依赖项失败:POSTGIS RHEL6


1

我正在尝试在RHEL6.3x64上安装POSTGIS。
为此,我使用了以下步骤

  • 已安装epel-release-6-7.noarch.rpm
  • 百胜安装postgis

存在依赖性问题,无法安装。

 Loaded plugins: product-id, security, subscription-manager
 Updating certificate-based repositories.
 Unable to read consumer identity
 Setting up Install Process
 Resolving Dependencies
   --> Running transaction check
  ---> Package postgis.x86_64 0:1.5.3-1.el6 will be installed
   --> Processing Dependency: /usr/bin/rebuild-gcj-db for package: postgis-1.5.3-1.el6.x86_64
   --> Processing Dependency: proj for package: postgis-1.5.3-1.el6.x86_64
   --> Processing Dependency: /usr/bin/rebuild-gcj-db for package: postgis-1.5.3-1.el6.x86_64
  --> Processing Dependency: libproj.so.0()(64bit) for package: postgis-1.5.3-1.el6.x86_64 
  --> Running transaction check
  ---> Package postgis.x86_64 0:1.5.3-1.el6 will be installed
  --> Processing Dependency: /usr/bin/rebuild-gcj-db for package: postgis-1.5.3-1.el6.x86_64
  --> Processing Dependency: /usr/bin/rebuild-gcj-db for package: postgis-1.5.3-1.el6.x86_64
  ---> Package proj.x86_64 0:4.7.0-1.rhel6 will be installed
  --> Processing Dependency: /usr/bin/rebuild-gcj-db for package: postgis-1.5.3-1.el6.x86_64
  --> Processing Dependency: /usr/bin/rebuild-gcj-db for package: postgis-1.5.3-1.el6.x86_64
  --> Finished Dependency Resolution
  Error: Package: postgis-1.5.3-1.el6.x86_64 (epel)
           Requires: /usr/bin/rebuild-gcj-db
   You could try using --skip-broken to work around the problem
   You could try running: rpm -Va --nofiles --nodigest

有什么想法可以完成postgis的安装,似乎无法摆脱依赖关系吗?

Answers:


0

该文件/usr/bin/rebuild-gcj-db位于java-1.5.0-gcj软件包中,位于Red Hat系统存储库中。

您找不到它的事实意味着您对该机器的Red Hat订阅未激活。为机器授予订阅权利,然后重试。

或者,将系统转换为CentOS。


感谢您的快速回复。激活订阅和所有设置。
戴夫

@Dave如果答案解决了您的问题,请记住单击其旁边的复选标记的轮廓。这会将问题标记为已解决,以造福他人,并提高了您的声誉。欢迎来到服务器故障!
迈克尔·汉普顿
By using our site, you acknowledge that you have read and understand our Cookie Policy and Privacy Policy.
Licensed under cc by-sa 3.0 with attribution required.