14.10 - средство обновления программного обеспечения - сбой работы пакета - невозможно обновить пакеты apt - полностью заблокирован

Я использую 14.10 Ubuntu. Сбой обновления программного обеспечения со следующей ошибкой:

Сбой операции пакета

С терминала, попытался сделать

sudo apt-get update
sudo apt-get dist-upgrade

Это дает следующую ошибку:

➜  ~  sudo apt-get dist-upgrade                  
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Calculating upgrade... The following packages were automatically installed and are no longer required:
  libcdr-0.1-1 libcgmanager0:i386 libcmis-0.4-4 libfox-1.6-0 libmspub-0.1-1 libvisio-0.1-1 xarchiver
Use 'apt-get autoremove' to remove them.
Done
The following packages will be upgraded:
  cgmanager git git-core git-man gnome-session gnome-session-bin gnome-session-common libapache2-mod-php5 libblkid1 libcgmanager0 libcgmanager0:i386 libmount1 libsmartcols1
  libunity-settings-daemon1 libuuid1 libuuid1:i386 openjdk-7-jre:i386 openjdk-7-jre-headless:i386 php5 php5-cli php5-common php5-gd php5-mysql php5-readline ubuntu-session
  unity-settings-daemon usb-creator-common usb-creator-gtk uuid-runtime
29 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
5 not fully installed or removed.
Need to get 0 B/53.4 MB of archives.
After this operation, 16.4 kB disk space will be freed.
Do you want to continue? [Y/n] Y
Setting up util-linux (2.25.1-3ubuntu4.1) ...
insserv: warning: script 'sav-web' missing LSB tags and overrides
insserv: warning: script 'sav-protect' missing LSB tags and overrides
insserv: warning: script 'sav-rms' missing LSB tags and overrides
insserv: There is a loop between service minidlna and sav-web if stopped
insserv:  loop involving service sav-web at depth 2
insserv:  loop involving service minidlna at depth 1
insserv: Stopping sav-web depends on minidlna and therefore on system facility `$all' which can not be true!
insserv: Stopping sav-protect depends on minidlna and therefore on system facility `$all' which can not be true!
insserv: Stopping sav-rms depends on minidlna 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 package util-linux (--configure):
 subprocess installed post-installation script returned error exit status 1
Errors were encountered while processing:
 util-linux
E: Sub-process /usr/bin/dpkg returned an error code (1)

Это полный блокировщик. Я не могу установить / обновить / удалить пакет apt сейчас. Основная причина, кажется, (мое предположение):

insserv: warning: script 'sav-web' missing LSB tags and overrides
insserv: warning: script 'sav-protect' missing LSB tags and overrides
insserv: warning: script 'sav-rms' missing LSB tags and overrides
insserv: There is a loop between service minidlna and sav-web if stopped
insserv:  loop involving service sav-web at depth 2
insserv:  loop involving service minidlna at depth 1
insserv: Stopping sav-web depends on minidlna and therefore on system facility `$all' which can not be true!
insserv: Stopping sav-protect depends on minidlna and therefore on system facility `$all' which can not be true!
insserv: Stopping sav-rms depends on minidlna and therefore on system facility `$all' which can not be true!
insserv: exiting now without changing boot order!

Пробовал следующее, что также дает тот же результат:

sudo apt-get -f install  

Пробовал

➜  ~  sudo dpkg --configure -a                  
Setting up ntp (1:4.2.6.p5+dfsg-3ubuntu2.14.10.3) ...
update-rc.d: warning: start and stop actions are no longer supported; falling back to defaults
insserv: warning: script 'sav-web' missing LSB tags and overrides
insserv: warning: script 'sav-protect' missing LSB tags and overrides
insserv: warning: script 'sav-rms' missing LSB tags and overrides
insserv: There is a loop between service minidlna and sav-web if stopped
insserv:  loop involving service sav-web at depth 2
insserv:  loop involving service minidlna at depth 1
insserv: Stopping sav-web depends on minidlna and therefore on system facility `$all' which can not be true!
insserv: Stopping sav-protect depends on minidlna and therefore on system facility `$all' which can not be true!
insserv: Stopping sav-rms depends on minidlna 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 package ntp (--configure):
 subprocess installed post-installation script returned error exit status 1
Setting up mongodb-server (1:2.6.3-0ubuntu5) ...
insserv: warning: script 'sav-web' missing LSB tags and overrides
insserv: warning: script 'sav-protect' missing LSB tags and overrides
insserv: warning: script 'sav-rms' missing LSB tags and overrides
insserv: There is a loop between service minidlna and sav-web if stopped
insserv:  loop involving service sav-web at depth 2
insserv:  loop involving service minidlna at depth 1
insserv: Stopping sav-web depends on minidlna and therefore on system facility `$all' which can not be true!
insserv: Stopping sav-protect depends on minidlna and therefore on system facility `$all' which can not be true!
insserv: Stopping sav-rms depends on minidlna 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 package mongodb-server (--configure):
 subprocess installed post-installation script returned error exit status 1
Setting up util-linux (2.25.1-3ubuntu4.1) ...
insserv: warning: script 'sav-web' missing LSB tags and overrides
insserv: warning: script 'sav-protect' missing LSB tags and overrides
insserv: warning: script 'sav-rms' missing LSB tags and overrides
insserv: There is a loop between service minidlna and sav-web if stopped
insserv:  loop involving service sav-web at depth 2
insserv:  loop involving service minidlna at depth 1
insserv: Stopping sav-web depends on minidlna and therefore on system facility `$all' which can not be true!
insserv: Stopping sav-protect depends on minidlna and therefore on system facility `$all' which can not be true!
insserv: Stopping sav-rms depends on minidlna 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 package util-linux (--configure):
 subprocess installed post-installation script returned error exit status 1
Setting up apport (2.14.7-0ubuntu8.4) ...
insserv: warning: script 'sav-web' missing LSB tags and overrides
insserv: warning: script 'sav-protect' missing LSB tags and overrides
insserv: warning: script 'sav-rms' missing LSB tags and overrides
insserv: There is a loop between service minidlna and sav-web if stopped
insserv:  loop involving service sav-web at depth 2
insserv:  loop involving service minidlna at depth 1
insserv: Stopping sav-web depends on minidlna and therefore on system facility `$all' which can not be true!
insserv: Stopping sav-protect depends on minidlna and therefore on system facility `$all' which can not be true!
insserv: Stopping sav-rms depends on minidlna 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 package apport (--configure):
 subprocess installed post-installation script returned error exit status 1
dpkg: dependency problems prevent configuration of apport-gtk:
 apport-gtk depends on apport (>= 0.41); however:
  Package apport is not configured yet.

dpkg: error processing package apport-gtk (--configure):
 dependency problems - leaving unconfigured
Errors were encountered while processing:
 ntp
 mongodb-server
 util-linux
 apport
 apport-gtk
0
задан 23 April 2015 в 11:40

2 ответа

Одна проблема - то, что эти sav-* сценарии, упомянутые в Вашем выводе, кажется, пропускают заголовок LSB. Если это - некоторый Антивирусный материал Sophos, лучше спросите Sophos об этом. Если все остальное перестало работать, попытайтесь добавить теги LSB вручную к /etc/init.d/sav-web и другие два.

1
ответ дан 23 April 2015 в 21:40

Прослеживание для конфликта между мини-DLNA и sophos Анти-вирусом (все еще не знают, почему они входят в цикл, в то время как способное обновление), Удаленный sophos с помощью

sudo sh /opt/sophos-av/uninstall.sh

Теперь я могу продолжить двигаться. Надежда это помогает кому-то еще сталкивающемуся с этой проблемой.

0
ответ дан 23 April 2015 в 21:40

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

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