依赖项失败:POSTGIS RHEL6

依赖项失败:POSTGIS RHEL6

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

  • 安装了 epel-release-6-7.noarch.rpm
  • yum 安装 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 的安装,有什么想法吗?似乎无法克服依赖关系?

答案1

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

您找不到它很可能意味着您为这台机器订阅的 Red Hat 权限未激活。请为这台机器授予订阅权限,然后重试。

或者,将系统转换为 CentOS。

相关内容