環境:docker ubuntu 14.04
# apt-get install libssl-doc libssl-dev php-pear php5-dev
報錯:
...
The following packages have unmet dependencies:
libssl-dev : Depends: libssl1.0.0 (= 1.0.1f-1ubuntu2) but 1.0.1f-1ubuntu2.4 is to be installed
E: Unable to correct problems, you have held broken packages.
解法:
移除libssl1.0.0 重裝( apt-get upgrade 無效 )
# dpkg --purge --force-all libssl1.0.0
# apt-get install -f libssl1.0.0
沒有留言:
張貼留言