我无法安装 php5-apc。
我好像没有发现任何错误。
root@applications-server-1:~# aptitude install php5-apc
The following NEW packages will be installed:
php5-apc{b}
0 packages upgraded, 1 newly installed, 0 to remove and 57 not upgraded.
Need to get 64.6 kB of archives. After unpacking 168 kB will be used.
The following packages have unmet dependencies:
php5-apc : Depends: php5-common (= 5.3.22-1~dotdeb.0) but 5.4.6-1ubuntu1.1 is installed.
The following actions will resolve these dependencies:
Keep the following packages at their current version:
1) php5-apc [Not Installed]
Accept this solution? [Y/n/q/?] Y
No packages will be installed, upgraded, or removed.
0 packages upgraded, 0 newly installed, 0 to remove and 57 not upgraded.
Need to get 0 B of archives. After unpacking 0 B will be used.
root@applications-server-1:~# aptitude install php5-common
No packages will be installed, upgraded, or removed.
0 packages upgraded, 0 newly installed, 0 to remove and 57 not upgraded.
Need to get 0 B of archives. After unpacking 0 B will be used.
以下是有关我的操作系统的信息:
- 分销商 ID:Ubuntu
- 描述:Ubuntu 12.10
- 版本:12.10
- 代号:quantal
我正在使用 PHP-FPM(PHP 版本 5.4.6-1ubuntu1.1)。
那么我可以安装 PHP5-APC 吗?
答案1
从您的 apt 源中删除 dotdeb.org 存储库。此存储库专为 Debian 系统设计,不适用于(并且不能与)Ubuntu。