Не может установить openssh-сервер

Извините за вопрос о дампе, но действительно трудно выяснить что не так. Я пытаюсь установить openssh-сервер:

sudo apt-get install openssh-server

Я получаю очень странный журнал, я не знаю, как tomcat включенный в эту проблему:

Reading package lists... Done
Building dependency tree       
Reading state information... Done
openssh-server is already the newest version.
The following packages were automatically installed and are no longer required:
  libntdb1 linux-headers-4.2.0-16 linux-headers-4.2.0-16-generic
  linux-headers-4.2.0-34 linux-headers-4.2.0-34-generic linux-headers-4.2.0-35
  linux-headers-4.2.0-35-generic linux-headers-4.2.0-36
  linux-headers-4.2.0-36-generic linux-headers-4.2.0-38
  linux-headers-4.2.0-38-generic linux-image-4.2.0-16-generic
  linux-image-4.2.0-34-generic linux-image-4.2.0-35-generic
  linux-image-4.2.0-36-generic linux-image-4.2.0-38-generic
  linux-image-extra-4.2.0-16-generic linux-image-extra-4.2.0-34-generic
  linux-image-extra-4.2.0-35-generic linux-image-extra-4.2.0-36-generic
  linux-image-extra-4.2.0-38-generic python-ntdb
Use 'apt-get autoremove' to remove them.
0 upgraded, 0 newly installed, 0 to remove and 1 not upgraded.
2 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 openssh-server (1:6.9p1-2ubuntu0.2) ...
insserv: warning: script 'K99tomcat' missing LSB tags and overrides
insserv: warning: script 'tomcat8' missing LSB tags and overrides
insserv: There is a loop at service rc.local if started
insserv: There is a loop between service rc.local and procps if started
insserv:  loop involving service procps at depth 2
insserv:  loop involving service udev at depth 1
insserv: Starting tomcat8 depends on rc.local and therefore on system facility `$all' which can not be true!
insserv: Starting tomcat8 depends on rc.local and therefore on system facility `$all' which can not be true!
insserv: Starting tomcat8 depends on rc.local and therefore on system facility `$all' which can not be true!
insserv: Starting tomcat8 depends on rc.local and therefore on system facility `$all' which can not be true!
insserv: Starting tomcat8 depends on rc.local and therefore on system facility `$all' which can not be true!
insserv: Starting tomcat8 depends on rc.local and therefore on system facility `$all' which can not be true!
insserv: Max recursions depth 99 reached
insserv:  loop involving service bluetooth at depth 2
insserv: There is a loop at service tomcat if started
insserv: There is a loop between service tomcat and hwclock if started
insserv:  loop involving service hwclock at depth 1
insserv:  loop involving service checkroot at depth 3
insserv:  loop involving service mountdevsubfs at depth 1
insserv:  loop involving service networking at depth 4
insserv:  loop involving service tomcat at depth 1
insserv: There is a loop between service tomcat and dns-clean if started
insserv:  loop involving service dns-clean at depth 1
insserv: exiting now without changing boot order!
update-rc.d: error: insserv rejected the script header
dpkg: error processing package openssh-server (--configure):
 subprocess installed post-installation script returned error exit status 1
Setting up thermald (1.4.3-5ubuntu3) ...
insserv: warning: script 'K99tomcat' missing LSB tags and overrides
insserv: warning: script 'tomcat8' missing LSB tags and overrides
insserv: There is a loop at service rc.local if started
insserv: There is a loop between service rc.local and procps if started
insserv:  loop involving service procps at depth 2
insserv:  loop involving service udev at depth 1
insserv: Starting tomcat8 depends on rc.local and therefore on system facility `$all' which can not be true!
insserv: Starting tomcat8 depends on rc.local and therefore on system facility `$all' which can not be true!
insserv: Starting tomcat8 depends on rc.local and therefore on system facility `$all' which can not be true!
insserv: Starting tomcat8 depends on rc.local and therefore on system facility `$all' which can not be true!
insserv: Starting tomcat8 depends on rc.local and therefore on system facility `$all' which can not be true!
insserv: Starting tomcat8 depends on rc.local and therefore on system facility `$all' which can not be true!
insserv: Starting tomcat8 depends on rc.local and therefore on system facility `$all' which can not be true!
insserv: Starting tomcat8 depends on rc.local and therefore on system facility `$all' which can not be true!
insserv: Starting tomcat8 depends on rc.local and therefore on system facility `$all' which can not be true!
insserv: Max recursions depth 99 reached
insserv:  loop involving service bluetooth at depth 2
insserv: There is a loop at service tomcat if started
insserv: There is a loop between service tomcat and hwclock if started
insserv:  loop involving service hwclock at depth 1
insserv:  loop involving service checkroot at depth 3
insserv:  loop involving service mountdevsubfs at depth 1
insserv:  loop involving service networking at depth 4
insserv:  loop involving service tomcat at depth 1
insserv: There is a loop between service tomcat and dns-clean if started
insserv:  loop involving service dns-clean at depth 1
insserv: exiting now without changing boot order!
update-rc.d: error: insserv rejected the script header
dpkg: error processing package thermald (--configure):
 subprocess installed post-installation script returned error exit status 1
Errors were encountered while processing:
 openssh-server
 thermald
E: Sub-process /usr/bin/dpkg returned an error code (1)

Могли Вы, объясняете что не так?

2
задан 10 August 2016 в 15:44

1 ответ

В первом взгляде похоже, что у Вас есть что-то, что никогда полностью установило. Посмотрите на строку

2 not fully installed or removed.

, В то время как я не уверен, Вы, возможно, попытались установить tomcat8, и это перестало работать. Я запустил бы избавления от tomcat8, если Вы уверены, что Вам не нужен он.

apt-get remove tomcat8

кроме того, позвольте ему очистить то, в чем это больше не нуждается. Это удаляет ненужную помеху в Вашем выводе (весь Linux - пакеты наверху). Это даже говорит Вам, что сделать для этого.

Use 'apt-get autoremove' to remove them.

, Когда Вы сделаны со всем этим openssh-сервером установки попытки снова и видите то, что происходит.

2
ответ дан 2 December 2019 в 03:45

Другие вопросы по тегам:

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