LINUX.ORG.RU

Не работает apt-get

 , , ,


0

1

Есть один сервер на Debian 6. После неудачной попытки установить окружение gnome, перестал нормально работать apt-get.

root:~# apt-get install iwatch
Reading package lists... Done
Building dependency tree
Reading state information... Done
You might want to run 'apt-get -f install' to correct these:
The following packages have unmet dependencies:
 gnome-bluetooth : Depends: consolekit but it is not going to be installed
 gnome-power-manager : Depends: consolekit but it is not going to be installed
 iwatch : Depends: libevent-perl but it is not going to be installed
          Depends: liblinux-inotify2-perl but it is not going to be installed
          Depends: libmail-sendmail-perl but it is not going to be installed
          Depends: libxml-simpleobject-libxml-perl but it is not going to be ins
talled
 policykit-1 : Depends: consolekit but it is not going to be installed
E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a s
olution).

А apt-get -f install нам выдает:

root:~# apt-get -f install
Reading package lists... Done
Building dependency tree
Reading state information... Done
Correcting dependencies... Done
The following package was automatically installed and is no longer required:
  libevent-1.4-2
Use 'apt-get autoremove' to remove them.
The following extra packages will be installed:
  consolekit
The following NEW packages will be installed:
  consolekit
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
584 not fully installed or removed.
Need to get 0 B/153 kB of archives.
After this operation, 582 kB of additional disk space will be used.
Do you want to continue [Y/n]? y
(Reading database ... 101791 files and directories currently installed.)
Unpacking consolekit (from .../consolekit_0.4.1-4_i386.deb) ...
insserv: warning: script 'K023proxy' missing LSB tags and overrides
insserv: warning: script '3proxy' missing LSB tags and overrides
insserv: There is a loop between service stop-bootlogd and checkroot if started
insserv:  loop involving service checkroot at depth 4
insserv:  loop involving service hwclockfirst at depth 3
insserv:  loop involving service hwclock at depth 6
insserv:  loop involving service hostname at depth 4
insserv: There is a loop between service stop-bootlogd and mountnfs if started
insserv:  loop involving service mountnfs at depth 9
insserv:  loop involving service networking at depth 8
insserv:  loop involving service ifupdown-clean at depth 6
insserv:  loop involving service quota at depth 11
insserv: There is a loop between service stop-bootlogd and mountall if started
insserv:  loop involving service mountall at depth 8
insserv:  loop involving service checkfs at depth 7
insserv:  loop involving service mtab at depth 6
insserv:  loop involving service module-init-tools at depth 6
insserv: There is a loop at service stop-bootlogd if started
insserv: There is a loop between service 3proxy and stop-bootlogd if started
insserv:  loop involving service stop-bootlogd at depth 2
insserv:  loop involving service 3proxy at depth 1
insserv: There is a loop between service stop-bootlogd and mountnfs-bootclean if
 started
insserv:  loop involving service mountnfs-bootclean at depth 11
insserv:  loop involving service rsyslog at depth 1
insserv: Starting 3proxy depends on stop-bootlogd and therefore on system facili
ty `$all' which can not be true!
insserv: Starting 3proxy depends on stop-bootlogd and therefore on system facili
ty `$all' which can not be true!
insserv: Starting 3proxy depends on stop-bootlogd and therefore on system facili
ty `$all' which can not be true!
insserv: Starting 3proxy depends on stop-bootlogd and therefore on system facili
ty `$all' which can not be true!
insserv: Starting 3proxy depends on stop-bootlogd and therefore on system facili
ty `$all' which can not be true!
insserv: There is a loop between service stop-bootlogd and mountkernfs if starte
d
insserv:  loop involving service mountkernfs at depth 1
insserv: Starting 3proxy depends on stop-bootlogd and therefore on system facili
ty `$all' which can not be true!
insserv: Starting 3proxy depends on stop-bootlogd and therefore on system facili
ty `$all' which can not be true!
insserv: Starting 3proxy depends on stop-bootlogd and therefore on system facili
ty `$all' which can not be true!
insserv: Starting 3proxy depends on stop-bootlogd and therefore on system facili
ty `$all' which can not be true!
insserv: Starting 3proxy depends on stop-bootlogd and therefore on system facili
ty `$all' which can not be true!
insserv: Starting 3proxy depends on stop-bootlogd and therefore on system facili
ty `$all' which can not be true!
insserv: Starting 3proxy depends on stop-bootlogd and therefore on system facili
ty `$all' which can not be true!
insserv: Starting 3proxy depends on stop-bootlogd and therefore on system facili
ty `$all' which can not be true!
insserv: Starting 3proxy depends on stop-bootlogd and therefore on system facili
ty `$all' which can not be true!
insserv: Starting 3proxy depends on stop-bootlogd and therefore on system facili
ty `$all' which can not be true!
insserv: Starting 3proxy depends on stop-bootlogd and therefore on system facili
ty `$all' which can not be true!
insserv: Starting 3proxy depends on stop-bootlogd and therefore on system facili
ty `$all' which can not be true!
insserv: Starting 3proxy depends on stop-bootlogd and therefore on system facili
ty `$all' which can not be true!
insserv: Starting 3proxy depends on stop-bootlogd and therefore on system facili
ty `$all' which can not be true!
insserv: Starting 3proxy depends on stop-bootlogd and therefore on system facili
ty `$all' which can not be true!
insserv: Starting 3proxy depends on stop-bootlogd and therefore on system facili
ty `$all' which can not be true!
insserv: Starting 3proxy depends on stop-bootlogd and therefore on system facili
ty `$all' which can not be true!
insserv: Starting 3proxy depends on stop-bootlogd and therefore on system facili
ty `$all' which can not be true!
insserv: Starting 3proxy depends on stop-bootlogd and therefore on system facili
ty `$all' which can not be true!
insserv: Starting 3proxy depends on stop-bootlogd and therefore on system facili
ty `$all' which can not be true!
insserv: Starting 3proxy depends on stop-bootlogd and therefore on system facili
ty `$all' which can not be true!
insserv: Starting 3proxy depends on stop-bootlogd and therefore on system facili
ty `$all' which can not be true!
insserv: Starting 3proxy depends on stop-bootlogd and therefore on system facili
ty `$all' which can not be true!
insserv: Starting 3proxy depends on stop-bootlogd and therefore on system facili
ty `$all' which can not be true!
insserv: Starting 3proxy depends on stop-bootlogd and therefore on system facili
ty `$all' which can not be true!
insserv: Starting 3proxy depends on stop-bootlogd and therefore on system facili
ty `$all' which can not be true!
insserv: Starting 3proxy depends on stop-bootlogd and therefore on system facili
ty `$all' which can not be true!
insserv: Starting 3proxy depends on stop-bootlogd and therefore on system facili
ty `$all' which can not be true!
insserv: Starting 3proxy depends on stop-bootlogd and therefore on system facili
ty `$all' which can not be true!
insserv: Starting 3proxy depends on stop-bootlogd and therefore on system facili
ty `$all' which can not be true!
insserv: Starting 3proxy depends on stop-bootlogd and therefore on system facili
ty `$all' which can not be true!
insserv: Starting 3proxy depends on stop-bootlogd and therefore on system facili
ty `$all' which can not be true!
insserv: Starting 3proxy depends on stop-bootlogd and therefore on system facili
ty `$all' which can not be true!
insserv: Starting 3proxy depends on stop-bootlogd and therefore on system facili
ty `$all' which can not be true!
insserv: Starting 3proxy depends on stop-bootlogd and therefore on system facili
ty `$all' which can not be true!
insserv: Starting 3proxy depends on stop-bootlogd and therefore on system facili
ty `$all' which can not be true!
insserv: Starting 3proxy depends on stop-bootlogd and therefore on system facili
ty `$all' which can not be true!
insserv: Starting 3proxy depends on stop-bootlogd and therefore on system facili
ty `$all' which can not be true!
insserv: Starting 3proxy depends on stop-bootlogd and therefore on system facili
ty `$all' which can not be true!
insserv: Starting 3proxy depends on stop-bootlogd and therefore on system facili
ty `$all' which can not be true!
insserv: Starting 3proxy depends on stop-bootlogd and therefore on system facili
ty `$all' which can not be true!
insserv: Starting 3proxy depends on stop-bootlogd and therefore on system facili
ty `$all' which can not be true!
insserv: Starting 3proxy depends on stop-bootlogd and therefore on system facili
ty `$all' which can not be true!
insserv: Max recursions depth 99 reached
insserv: exiting now without changing boot order!
update-rc.d: error: insserv rejected the script header
dpkg: error processing /var/cache/apt/archives/consolekit_0.4.1-4_i386.deb (--un
pack):
 subprocess new pre-installation script returned error exit status 1
configured to not write apport reports
                                      Errors were encountered while processing:
 /var/cache/apt/archives/consolekit_0.4.1-4_i386.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)

Попытки установить consolekit не увенчались успехом. Подскажите куда копать, и что делать теперь?

insserv: warning: script 'K023proxy' missing LSB tags and overrides
insserv: warning: script '3proxy' missing LSB tags and overrides

А теперь перепишите /etc/init.d/3proxy, добавив в него LSB init script header (образец см. в /etc/init.d/skeleton).

AITap ★★★★★ ()
Вы не можете добавлять комментарии в эту тему. Тема перемещена в архив.