我正在尝试在RHEL6.3×64上安装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,似乎无法通过依赖?
/usr/bin/rebuild-gcj-db文件位于Red Hat系统存储库中的java-1.5.0-gcj软件包中。
事实上,你找不到它最有可能意味着你的红帽订阅这台机器不活跃。 给机器订购权利,然后再试一次。
或者,将系统转换为CentOS。