Debian 6, обновил php до версии 5.3.29, затем решил установить phpMyAdmin и по ошибке начал подсовывать разные репозитарии. В результате теперь при попытке переустановить php вываливается ошибка:
| Код | morbido:~# apt-get install php5-common php5 libapache2-mod-php5 php5-cli php5-cgi php5-mysql Reading package lists... Done Building dependency tree Reading state information... Done 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-php5 : Depends: libonig2 (>= 5.2.0) but it is not installable Depends: libqdbm14 (>= 1.8.74) but it is not installable php5-cgi : Depends: libonig2 (>= 5.2.0) but it is not installable Depends: libqdbm14 (>= 1.8.74) but it is not installable php5-cli : Depends: libonig2 (>= 5.2.0) but it is not installable Depends: libqdbm14 (>= 1.8.74) but it is not installable E: Broken packages
|
Как исправить эти зависимости ума не приложу. Сайты не работают. И еще в /etc/apt/preferences у меня указано: Pin: release n=lenny. Это верно? Вроде как у меня везде указано squeeze. Система говорит, что php не установлен, но скрипт phpinfo() выдает, что установлен php 5.2.6 |