Задать вопрос
@ValeriyaWork

Как разрешить проблему зависимостей в debian?

# apt-get -f install

Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following packages were automatically installed and are no longer required:
  libcurl3-nss libnspr4 libnspr4-dev libnss3 libnss3-dev
Use 'apt-get autoremove' to remove them.
0 upgraded, 0 newly installed, 0 to remove and 103 not upgraded.
3 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Setting up apache2.2-common (2.2.22-13+deb7u4) ...
insserv: warning: script 'celery' missing LSB tags and overrides
insserv: There is a loop between service monit and celery if stopped
insserv:  loop involving service celery at depth 2
insserv:  loop involving service monit at depth 1
insserv: Stopping celery depends on monit and therefore on system facility `$all' which can not be true!
insserv: exiting now without changing boot order!
update-rc.d: error: insserv rejected the script header
dpkg: error processing apache2.2-common (--configure):
 subprocess installed post-installation script returned error exit status 1
dpkg: dependency problems prevent configuration of apache2-mpm-itk:
 apache2-mpm-itk depends on apache2.2-common (= 2.2.22-13+deb7u4); however:
  Package apache2.2-common is not configured yet.

dpkg: error processing apache2-mpm-itk (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of apache2-threaded-dev:
 apache2-threaded-dev depends on apache2.2-common (= 2.2.22-13+deb7u4); however:
  Package apache2.2-common is not configured yet.

dpkg: error processing apache2-threaded-dev (--configure):
 dependency problems - leaving unconfigured
Errors were encountered while processing:
 apache2.2-common
 apache2-mpm-itk
 apache2-threaded-dev
E: Sub-process /usr/bin/dpkg returned an error code (1)


Началось как мне кажется это после неудачной установки redmine через команду
apt-get install redmine

Второй день не могу найти решения, в администрировании серверов новичек
Нужно доустановить пакеты apache, но не получается, например
# apt-get install libaprutil1-dev

Reading package lists... Done
Building dependency tree       
Reading state information... Done
libaprutil1-dev is already the newest version.
The following packages were automatically installed and are no longer required:
  libcurl3-nss libnspr4 libnspr4-dev libnss3 libnss3-dev
Use 'apt-get autoremove' to remove them.
0 upgraded, 0 newly installed, 0 to remove and 103 not upgraded.
3 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Do you want to continue [Y/n]? Y
Setting up apache2.2-common (2.2.22-13+deb7u4) ...
insserv: warning: script 'celery' missing LSB tags and overrides
insserv: There is a loop between service monit and celery if stopped
insserv:  loop involving service celery at depth 2
insserv:  loop involving service monit at depth 1
insserv: Stopping celery depends on monit and therefore on system facility `$all' which can not be true!
insserv: exiting now without changing boot order!
update-rc.d: error: insserv rejected the script header
dpkg: error processing apache2.2-common (--configure):
 subprocess installed post-installation script returned error exit status 1
dpkg: dependency problems prevent configuration of apache2-mpm-itk:
 apache2-mpm-itk depends on apache2.2-common (= 2.2.22-13+deb7u4); however:
  Package apache2.2-common is not configured yet.

dpkg: error processing apache2-mpm-itk (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of apache2-threaded-dev:
 apache2-threaded-dev depends on apache2.2-common (= 2.2.22-13+deb7u4); however:
  Package apache2.2-common is not configured yet.

dpkg: error processing apache2-threaded-dev (--configure):
 dependency problems - leaving unconfigured
Errors were encountered while processing:
 apache2.2-common
 apache2-mpm-itk
 apache2-threaded-dev
E: Sub-process /usr/bin/dpkg returned an error code (1)
  • Вопрос задан
  • 4382 просмотра
Подписаться 2 Оценить Комментировать
Пригласить эксперта
Ответы на вопрос 2
shaivam
@shaivam
обычно подобный пост нужно сопровождать sources.list.
Выложите, пожалуйста.

а что выдаст если:
dpkg-reconfigure apache2.2-common
или
apt-get purge apache2.2-common
apt-get install apache2.2-common
Ответ написан
@mureevms
Попробуйте это решение
Ответ написан
Комментировать
Ваш ответ на вопрос

Войдите, чтобы написать ответ

Похожие вопросы