리눅스 분류
yum으로 php 설치시 의존성 문제.
작성자 정보
- 레익휘 작성
- 작성일
컨텐츠 정보
- 8,686 조회
- 1 댓글
- 0 추천
- 목록
본문
안녕하세요
다름 아니라 yum을 통해서 php를 서버에 설치하려고 하는데
아래와 같은 메시지와 함께
설치가 되지 않습니다.
의존성이 문제가 되는 부분인 듯 한데
정확하게 알 수 있을까요??
[root@ggc26 /]# yum -y install php
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
Setting up Install Process
Resolving Dependencies
There are unfinished transactions remaining. You might consider running yum-complete-transaction first to finish them.
The program yum-complete-transaction is found in the yum-utils package.
--> Running transaction check
---> Package php.i386 0:5.1.6-27.el5_5.3 set to be updated
--> Processing Dependency: php-common = 5.1.6-27.el5_5.3 for package: php
--> Processing Dependency: php-cli = 5.1.6-27.el5_5.3 for package: php
--> Finished Dependency Resolution
php-5.1.6-27.el5_5.3.i386 from base has depsolving problems
--> Missing Dependency: php-common = 5.1.6-27.el5_5.3 is needed by package php-5.1.6-27.el5_5.3.i386 (base)
php-5.1.6-27.el5_5.3.i386 from base has depsolving problems
--> Missing Dependency: php-cli = 5.1.6-27.el5_5.3 is needed by package php-5.1.6-27.el5_5.3.i386 (base)
Error: Missing Dependency: php-common = 5.1.6-27.el5_5.3 is needed by package php-5.1.6-27.el5_5.3.i386 (base)
Error: Missing Dependency: php-cli = 5.1.6-27.el5_5.3 is needed by package php-5.1.6-27.el5_5.3.i386 (base)
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.
[root@ggc26 /]#
관련자료
-
이전
-
다음
댓글 1
데이브님의 댓글
- 데이브
- 작성일
만약 기존의 php 패키지를 지우고 설치하셔도 무방하다면, 기존에 설치된 패키지를 모두 지우시고 새로 깔아보시면
될듯하네요.
yum remove php*
yum install php*
정도 하시면 될듯하네요.
될듯하네요.
yum remove php*
yum install php*
정도 하시면 될듯하네요.