软件安装失败

软件安装失败

当我使用软件中心或终端安装软件时,出现此错误(如下所示),但安装的软件可以正常工作。帮我解决这个问题,

我尝试过sudo dpkg-reconfigure -a,但是没有用。

smbd start/pre-start, process 29704
start: Job failed to start
invoke-rc.d: initscript samba-ad-dc, action "start" failed.
dpkg: error processing package samba (--configure):
 subprocess installed post-installation script returned error exit status 1
dpkg: dependency problems prevent configuration of winbind:
 winbind depends on samba (= 2:4.1.6+dfsg-1ubuntu2.14.04.3); however:
  Package samba is not configured yet.

dpkg: error processing package winbind (--configure):
 dependency problems - leaving unconfigured
Setting up python-compizconfig (1:0.9.11.2+14.04.20140714-0ubuntu1) ...
No apport report written because the error message indicates its a followup error from a previous failure.
                          Setting up compizconfig-settings-manager (1:0.9.11.2+14.04.20140714-0ubuntu1) ...
Errors were encountered while processing:
 samba
 winbind
E: Sub-process /usr/bin/dpkg returned an error code (1)

答案1

尝试删除 samba“sudo apt-get autoremove ...”

安装前 sudo apt-get update sudo apt-get upgrade

并再次安装“sudo apt-get install samba smbclient”

相关内容