web-dev-qa-db-ja.com

16.04でのubuntu-mate-desktopのインストール、ブルーマン設定の問題

Ubuntu 16.04では、ubuntu-mate-desktopSudo apt-get install -y ubuntu-mate-desktopとともにインストールしようとしましたが、残念ながらエラーが発生しました:

Fetched 223 kB in 2s (106 kB/s)        
(Reading database ... 356281 files and directories currently installed.)
Preparing to unpack .../libgee-0.8-2_0.18.1-0ubuntu1~16.04~valateam0_AMD64.deb ...
Unpacking libgee-0.8-2:AMD64 (0.18.1-0ubuntu1~16.04~valateam0) over (0.18.0-1) ...
Processing triggers for libc-bin (2.23-0ubuntu3) ...
Setting up blueman (2.0.4-1ubuntu2) ...
Running in chroot, ignoring request.
 * Reloading system message bus config...                                                        Failed to open connection to "system" message bus: Failed to connect to socket /var/run/dbus/system_bus_socket: No such file or directory
invoke-rc.d: initscript dbus, action "reload" failed.
dpkg: error processing package blueman (--configure):
 subprocess installed post-installation script returned error exit status 1
dpkg: dependency problems prevent configuration of ubuntu-mate-desktop:
 ubuntu-mate-desktop depends on blueman; however:
  Package blueman is not configured yet.

dpkg: error processing package ubuntu-mate-desktop (--configure):
 dependency problems - leaving unconfigured
Setting up libgee-0.8-2:AMD64 (0.18.1-0ubuntu1~16.04~valateam0) ...
No apport report written because the error message indicates its a followup error from a previous failure.
         Processing triggers for libc-bin (2.23-0ubuntu3) ...
Errors were encountered while processing:
 blueman
 ubuntu-mate-desktop
E: Sub-process /usr/bin/dpkg returned an error code (1)

私は実行しようとしました:

Sudo apt-get install -y blueman ubuntu-mate-desktop

そして:

Sudo apt-get -f install

そして:

Sudo dpkg --configure -a

まだ解決策は見えません。

1
BH2017

bluemanパッケージの構成時にDBUSサービスの再起動に失敗します。

  1. 編集用に開く/var/lib/dpkg/info/blueman.postinst
  2. これらの行のいずれかをコメント

    #set -e
    

    または

    #invoke-rc.d dbus reload
    
1
user.dz