소프트웨어 센터 오류 메시지

소프트웨어 센터 오류 메시지

소프트웨어 센터에서 무언가를 설치하거나 제거할 때마다 이 오류 메시지가 나타납니다. 때로는 작동하지만 소프트웨어가 설치되지 않는 경우가 많습니다.

패키지 작업이 실패했습니다.

애플리케이션 설치 또는 제거에 실패했습니다.

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 이상 버전에서 발생하는 버그로 인해 발생했을 가능성이 높습니다. 버그 자체는 여기에서 볼 수 있는 런치패드에 보고되었습니다.https://bugs.launchpad.net/ubuntu/+source/runit/+bug/1448164.

이는 runit이 upstart에 의존하고 Ubuntu가 15.04에서 기본 초기화 시스템으로 systemd로 이동하기로 결정했기 때문입니다. 오류를 제거하려면 runit, git& 를 제거해야 합니다 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

https://askubuntu.com/a/771889/253251

관련 정보