在安装 ambari 服务器时,出现以下错误,并且在安装 python 2.6 并形成软链接(soft link) yum 后停止工作。
请找出错误:--
yum install -y ambari-server
Loaded plugins: fastestmirror, security
Loading mirror speeds from cached hostfile * base: centos.aol.com * epel: ftp.wallawalla.edu * extras: ftp.usf.edu * updates: ftp.ussg.iu.edu Setting up Install Process Resolving Dependencies
--> Running transaction check ---> Package ambari-server.noarch 0:1.7.0-169 set to be updated --> Processing Dependency: postgresql-server >= 8.1 for package: ambari-server --> Processing Dependency: python >= 2.6 for package: ambari-server --> Running transaction check ---> Package ambari-server.noarch 0:1.7.0-169 set to be updated --> Processing Dependency: python >= 2.6 for package: ambari-server ---> Package postgresql-server.x86_64 0:8.1.23-10.el5_10 set to be updated --> Processing Dependency: postgresql = 8.1.23-10.el5_10 for package: postgresql-server --> Running transaction check ---> Package ambari-server.noarch 0:1.7.0-169 set to be updated --> Processing Dependency: python >= 2.6 for package: ambari-server ---> Package postgresql.x86_64 0:8.1.23-10.el5_10 set to be updated --> Finished Dependency Resolution ambari-server-1.7.0-169.noarch from
Updates-ambari-1.7.0 has depsolving problems --> Missing Dependency: python >= 2.6 is needed by package ambari-server-1.7.0-169.noarch (Updates-ambari-1.7.0) Error: Missing Dependency: python >= 2.6 is needed by package ambari-server-1.7.0-169.noarch
(Updates-ambari-1.7.0) You could try using --skip-broken to work around the problem You could try running: package-cleanup --problems package-cleanup --dupes rpm -Va --nofiles --nodigest The program package-cleanup is found in the yum-utils package.
最佳答案
CentOS 5 附带 Python 2.4。重建您尝试安装的软件包或使用该版本 CentOS 的存储库。
关于linux - ambari-server-1.7.0-169.noarch 包需要错误 : Missing Dependency: python >= 2. 6,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/34251391/