遇到libapache2-mod-php7.2 : Depends: apache2-api-20120211問題
在Ubuntu 16.04 升級 PHP5.6 to PHP7.2
安裝libapache2-mod-php7.2 時突然發生:
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:
The following packages have unmet dependencies:
libapache2-mod-php7.2 : Depends: apache2-api-20120211
我的解決方法:
安裝libapache2-mod-php7.2 時突然發生:
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:
The following packages have unmet dependencies:
libapache2-mod-php7.2 : Depends: apache2-api-20120211
我的解決方法:
# sudo apt-get remove apache2
# cd /var/cache/apt/archives/
# sudo rm apache2*
# sudo apt-get update
# sudo apt-get install apache2
# sudo apt-get install libapache2-mod-php7.2
即可順利安裝了
留言
張貼留言