Решил я поставить php5. Он потребовал apache2. Я снёс apache, остался без веб сервера.
zeuhl:~# apt-get install apache
Чтение списков пакетов... Готово
Построение дерева зависимостей... Готово
Будут установлены следующие дополнительные пакеты:
apache-common
Настойчиво рекомендуемые пакеты:
apache-doc apache-ssl apache-perl
НОВЫЕ пакеты, которые будут установлены:
apache apache-common
обновлено 0, установлено 2 новых пакетов, для удаления отмечено 0 пакетов, и 119 пакетов не обновлено.
Необходимо скачать 0B/1239kB архивов.
После распаковки объем занятого дискового пространства возрастёт на 3916kB.
Хотите продолжить [Д/н]?
Предварительная настройка пакетов ...
Выбор ранее не выбранного пакета apache-common.
(Чтение базы данных... на данный момент установлено 54297 файлов и каталогов.)
Распаковывается пакет apache-common (из файла .../apache-common_1.3.34-4_i386.deb)...
Выбор ранее не выбранного пакета apache.
Распаковывается пакет apache (из файла .../apache_1.3.34-4_i386.deb)...
grep: /etc/apache/httpd.conf: No such file or directory
Stopping apache 1.3 web server...No process in pidfile `/var/run/apache.pid' found running; none killed.
Настраивается пакет apache-common (1.3.34-4) ...
Настраивается пакет apache (1.3.34-4) ...
Not replacing deleted config file /etc/apache/httpd.conf
Not replacing deleted config file /etc/apache/srm.conf
Not replacing deleted config file /etc/apache/access.conf
Not replacing deleted config file /etc/apache/modules.conf
Can't open config file /etc/apache/httpd.conf.
No such file or directory
Can't open config file /etc/apache/httpd.conf.
No such file or directory
/usr/share/apache/postinst.common: line 12: /etc/apache/httpd.conf: No such file or directory
/usr/share/apache/postinst.common: line 12: /etc/apache/httpd.conf: No such file or directory
/usr/share/apache/postinst.common: line 12: /etc/apache/httpd.conf: No such file or directory
/usr/share/apache/postinst.common: line 12: /etc/apache/httpd.conf: No such file or directory
grep: /etc/apache/httpd.conf: No such file or directory
Configuration syntax error detected, not starting/reloading...
fopen: No such file or directory
apache: could not open document config file /etc/apache/httpd.conf
failed!
invoke-rc.d: initscript apache, action "start" failed.
dpkg: не удалось обработать параметр apache (--configure):
подпроцесс post-installation script возвратил код ошибки 1
При обработке следующих пакетов произошли ошибки:
apache
E: Sub-process /usr/bin/dpkg returned an error code (1)
zeuhl:~# /etc/init.d/apache start
grep: /etc/apache/httpd.conf: No such file or directory
Configuration syntax error detected, not starting/reloading...
fopen: No such file or directory
apache: could not open document config file /etc/apache/httpd.conf
failed!
Короче я много чего пробовал (и apache2). Но никак не могу вернуться к предыдущему состоянию: все пакеты ломанные https://academ.club/html/emoticons/sad.gif(
Вот мой sources.list:
# This file was automatically generated by APTuner.
# http://debian.nsu.ru/aptuner/
# Base Debian distribution
deb http://debian.nsu.ru/debian sarge main non-free contrib
#deb-src http://debian.nsu.ru/debian sarge main non-free contrib
# Security updates
deb http://debian.nsu.ru/debian-security sarge/updates main non-free
#deb-src http://debian.nsu.ru/debian-security sarge/updates main non-
# Proposed updates
#deb http://debian.nsu.ru/debian sarge-proposed-updates main non-free
#deb-src http://debian.nsu.ru/debian sarge-proposed-updates main non-
# MPlayer and related stuff
deb http://debian.nsu.ru/debian-marillat stable main
#deb-src http://debian.nsu.ru/debian-marillat unstable main
# End of automatically generated section.
deb http://debian.nsu.ru/debian/ testing main
#deb-src http://debian.nsu.ru/debian/ unstable main
deb http://security.debian.org/ stable/updates main contrib non-free
Решил я поставить php5. Он потребовал apache2. Я снёс apache, остался без веб сервера.
Короче я много чего пробовал (и apache2). Но никак не могу вернуться к предыдущему состоянию: все пакеты ломанные https://academ.club/html/emoticons/sad.gif(
Вот мой sources.list:
Изменено пользователем Гость