2017년 4월 19일 수요일

sudo apt-get install 오류 발생

The following packages have unmet dependencies:
 mysql-server : Depends: mysql-server-5.5 but it is not going to be installed
 php5 : Depends: libapache2-mod-php5 (>= 5.6.30+dfsg-0+deb8u1~) but it is not going to be installed or
                 libapache2-mod-php5filter (>= 5.6.30+dfsg-0+deb8u1~) but it is not going to be installed or
                 php5-cgi (>= 5.6.30+dfsg-0+deb8u1~) but it is not going to be installed or
                 php5-fpm (>= 5.6.30+dfsg-0+deb8u1~) but it is not going to be installed
        Depends: php5-common (>= 5.6.30+dfsg-0+deb8u1~) but it is not going to be installed

E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).

$sudo apt-get install php5 시 위와 같은 떴을 때


sudo aptitude -f install

로 간단하게 해결됨.

as
출처
https://ubuntuforums.org/showthread.php?t=2314346

댓글 없음:

댓글 쓰기