ソフトウェア センターから何かをインストールまたは削除するたびに、このエラー メッセージが表示されます。 機能する場合もありますが、多くの場合、ソフトウェアはインストールされません。
パッケージ操作に失敗しました
アプリケーションのインストールまたは削除に失敗しました
installArchives() failed: Selecting previously unselected package extlinux.
(Reading database ...
(Reading database ... 5%
(Reading database ... 10%
(Reading database ... 15%
(Reading database ... 20%
(Reading database ... 25%
(Reading database ... 30%
(Reading database ... 35%
(Reading database ... 40%
(Reading database ... 45%
(Reading database ... 50%
(Reading database ... 55%
(Reading database ... 60%
(Reading database ... 65%
(Reading database ... 70%
(Reading database ... 75%
(Reading database ... 80%
(Reading database ... 85%
(Reading database ... 90%
(Reading database ... 95%
(Reading database ... 100%
(Reading database ... 270250 files and directories currently installed.)
Preparing to unpack .../extlinux_3%3a6.03+dfsg-8ubuntu2_amd64.deb ...
Unpacking extlinux (3:6.03+dfsg-8ubuntu2) ...
Selecting previously unselected package unetbootin.
Preparing to unpack .../unetbootin_608-1_amd64.deb ...
Unpacking unetbootin (608-1) ...
Selecting previously unselected package unetbootin-translations.
Preparing to unpack .../unetbootin-translations_608-1_all.deb ...
Unpacking unetbootin-translations (608-1) ...
Processing triggers for man-db (2.7.4-1) ...
Processing triggers for gnome-menus (3.13.3-6ubuntu1) ...
Processing triggers for desktop-file-utils (0.22-1ubuntu3) ...
Processing triggers for bamfdaemon (0.5.2~bzr0+15.10.20150627.1-0ubuntu1) ...
Rebuilding /usr/share/applications/bamf-2.index...
Processing triggers for mime-support (3.58ubuntu1) ...
Setting up runit (2.1.2-3ubuntu1) ...
start: Unable to connect to Upstart: Failed to connect to socket /com/ubuntu/upstart: Connection refused
dpkg: error processing package runit (--configure):
subprocess installed post-installation script returned error exit status 1
dpkg: dependency problems prevent configuration of git-daemon-run:
git-daemon-run depends on runit; however:
Package runit is not configured yet.
dpkg: error processing package git-daemon-run (--configure):
dependency problems - leaving unconfigured
Setting up extlinux (3:6.03+dfsg-8ubuntu2) ...
No apport report written because the error message indicates its a followup error from a previous failure.
Setting up unetbootin (608-1) ...
Setting up unetbootin-translations (608-1) ...
Errors were encountered while processing:
runit
git-daemon-run
Error in function:
Setting up runit (2.1.2-3ubuntu1) ...
start: Unable to connect to Upstart: Failed to connect to socket /com/ubuntu/upstart: Connection refused
dpkg: error processing package runit (--configure):
subprocess installed post-installation script returned error exit status 1
dpkg: dependency problems prevent configuration of git-daemon-run:
git-daemon-run depends on runit; however:
Package runit is not configured yet.
dpkg: error processing package git-daemon-run (--configure):
dependency problems - leaving unconfigured
答え1
これはおそらく15.04以降のバージョンで発生するバグによるもので、バグ自体はLaunchpadに報告されており、ここで確認できます。https://bugs.launchpad.net/ubuntu/+source/runit/+bug/1448164。
これは、runit が upstart に依存しており、Ubuntu が 15.04 でデフォルトの init システムとして systemd に移行することを決定したためです。エラーを解消するには、runit
、git
&を purge する必要がありますgit-all
。
sudo apt-get purge runit
sudo apt-get purge git-all
sudo apt-get purge git
sudo apt-get autoremove
sudo apt update
sudo apt install git