Не удается apt-get обновить или установить, dkpg --configure -a зависает в "Настройка open-iscsi"

Я не смог обновить или установить пакеты в течение нескольких месяцев. Всякий раз, когда я использую команду apt-get, она говорит мне, что dpkg был прерван. Когда я запускаю команду, которую она предлагает, она зависает в "Настройка open-iscsi"

{ 15:29 ☀ } ~ ➭ sudo apt-get install aria2
E: dpkg was interrupted, you must manually run 'sudo dpkg --configure -a' to correct the problem.
{ 15:29 ☀ } ~ ➭ sudo dpkg --configure -a
Processing triggers for ufw (0.35-5) ...
Setting up python3-apt (1.6.3) ...
Setting up curl (7.58.0-2ubuntu3.5) ...
Setting up grub-pc (2.02-2ubuntu8.9) ...
Installing for i386-pc platform.
Installation finished. No error reported.
Installing for i386-pc platform.
Installation finished. No error reported.
Installing for i386-pc platform.
Installation finished. No error reported.
Installing for i386-pc platform.
Installation finished. No error reported.
Generating grub configuration file ...
Found linux image: /boot/vmlinuz-4.15.0-36-generic
Found initrd image: /boot/initrd.img-4.15.0-36-generic
Found linux image: /boot/vmlinuz-4.15.0-34-generic
Found initrd image: /boot/initrd.img-4.15.0-34-generic
done
Processing triggers for initramfs-tools (0.130ubuntu3.5) ...
update-initramfs: Not updating initramfs.
Setting up open-iscsi (2.0.874-5ubuntu2.4) ...

Если вы нажмете Ctrl+C в этот момент, процесс продолжится с ошибкой в ​​конце:

^Cdpkg: error processing package open-iscsi (--configure):
 installed open-iscsi package post-installation script subprocess was interrupted
Setting up qemu-utils (1:2.11+dfsg-1ubuntu7.9) ...
Setting up perl (5.26.1-6ubuntu0.3) ...
Setting up python3-problem-report (2.20.9-0ubuntu7.5) ...
Setting up libisccfg160:amd64 (1:9.11.3+dfsg-1ubuntu1.3) ...
Setting up libcupsimage2:amd64 (2.2.7-1ubuntu2.2) ...
Setting up libvirt-daemon (4.0.0-1ubuntu8.6) ...
Setting up openssh-sftp-server (1:7.6p1-4ubuntu0.1) ...
Processing triggers for libc-bin (2.27-3ubuntu1) ...
Setting up sosreport (3.6-1ubuntu0.18.04.2) ...
Setting up libpython2.7:amd64 (2.7.15~rc1-1ubuntu0.1) ...
Setting up unattended-upgrades (1.1ubuntu1.18.04.7) ...
Setting up nginx-core (1.14.0-0ubuntu1.2) ...
Setting up python3-gdbm:amd64 (3.6.7-1~18.04) ...
Setting up python3-software-properties (0.96.24.32.6) ...
Setting up libpython2.7-dev:amd64 (2.7.15~rc1-1ubuntu0.1) ...
Setting up libvirt-clients (4.0.0-1ubuntu8.6) ...
Setting up python3-lib2to3 (3.6.7-1~18.04) ...
Setting up libgs9:amd64 (9.26~dfsg+0-0ubuntu0.18.04.3) ...
Setting up python2.7-dev (2.7.15~rc1-1ubuntu0.1) ...
Setting up python3-distutils (3.6.7-1~18.04) ...
Setting up git (1:2.17.1-1ubuntu0.4) ...
Setting up networkd-dispatcher (1.7-0ubuntu3.3) ...
Setting up qemu-system-common (1:2.11+dfsg-1ubuntu7.9) ...
Setting up software-properties-common (0.96.24.32.6) ...
Setting up samba-libs:amd64 (2:4.7.6+dfsg~ubuntu-0ubuntu2.5) ...
Setting up libvirt-daemon-system (4.0.0-1ubuntu8.6) ...
virtlockd.service is a disabled or a static unit, not starting it.
Setting up libvirt-daemon dnsmasq configuration.
Setting up libvirt-daemon-driver-storage-rbd (4.0.0-1ubuntu8.6) ...
Setting up libirs160:amd64 (1:9.11.3+dfsg-1ubuntu1.3) ...
Setting up python-samba (2:4.7.6+dfsg~ubuntu-0ubuntu2.5) ...
Setting up libbind9-160:amd64 (1:9.11.3+dfsg-1ubuntu1.3) ...
Setting up libdpkg-perl (1.19.0.5ubuntu2.1) ...
Setting up ghostscript (9.26~dfsg+0-0ubuntu0.18.04.3) ...
Setting up python3-apport (2.20.9-0ubuntu7.5) ...
Setting up nginx (1.14.0-0ubuntu1.2) ...
Setting up qemu-system-x86 (1:2.11+dfsg-1ubuntu7.9) ...
Setting up dpkg-dev (1.19.0.5ubuntu2.1) ...
Setting up openssh-server (1:7.6p1-4ubuntu0.1) ...
Setting up apport (2.20.9-0ubuntu7.5) ...
apport-autoreport.service is a disabled or a static unit, not starting it.
Setting up samba-common-bin (2:4.7.6+dfsg~ubuntu-0ubuntu2.5) ...
Setting up libvirt-bin (4.0.0-1ubuntu8.6) ...
Setting up bind9-host (1:9.11.3+dfsg-1ubuntu1.3) ...
Setting up qemu-kvm (1:2.11+dfsg-1ubuntu7.9) ...
Setting up dnsutils (1:9.11.3+dfsg-1ubuntu1.3) ...
Setting up python3-distupgrade (1:18.04.29) ...
Setting up python3-update-manager (1:18.04.11.8) ...
Setting up ubuntu-release-upgrader-core (1:18.04.29) ...
Setting up update-manager-core (1:18.04.11.8) ...
Setting up update-notifier-common (3.192.1.4) ...
Processing triggers for initramfs-tools (0.130ubuntu3.5) ...
update-initramfs: Not updating initramfs.
Processing triggers for libc-bin (2.27-3ubuntu1) ...
Errors were encountered while processing:
 open-iscsi

Я бегу 18.04.1 с настройкой RAID. Система работает нормально в противном случае.

0 ответов

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