Problema ao instalar o pacote post-script

0

Recentemente eu tentei remover o samba e, desde então, não consigo mais instalar pacotes. Sempre que tento fazer algum: sudo apt-get install ... tenho os seguintes erros:

mreliptik@pine64:/var/lib/dpkg/info$ sudo apt-get -f install
Reading package lists... Done
Building dependency tree
Reading state information... Done
0 upgraded, 0 newly installed, 0 to remove and 6 not upgraded.
3 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Setting up samba (2:4.3.11+dfsg-0ubuntu0.16.04.11) ...
Job for smbd.service failed because the control process exited with error code. See "systemctl status smbd.service" and "journalctl -xe" for details.
invoke-rc.d: initscript smbd, action "start" failed.
● smbd.service - LSB: start Samba SMB/CIFS daemon (smbd)
   Loaded: loaded (/etc/init.d/smbd; bad; vendor preset: enabled)
   Active: failed (Result: exit-code) since Wed 2017-10-25 11:40:26 UTC; 20ms ago
     Docs: man:systemd-sysv-generator(8)
  Process: 16908 ExecStart=/etc/init.d/smbd start (code=exited, status=1/FAILURE)

Oct 25 11:40:25 pine64 systemd[1]: Starting LSB: start Samba SMB/CIFS da.....
Oct 25 11:40:26 pine64 smbd[16908]:  * Starting SMB/CIFS daemon smbd
Oct 25 11:40:26 pine64 smbd[16908]:    ...fail!
Oct 25 11:40:26 pine64 systemd[1]: smbd.service: Control process exited,...=1
Oct 25 11:40:26 pine64 systemd[1]: Failed to start LSB: start Samba SMB/...).
Oct 25 11:40:26 pine64 systemd[1]: smbd.service: Unit entered failed state.
Oct 25 11:40:26 pine64 systemd[1]: smbd.service: Failed with result 'exi...'.
Hint: Some lines were ellipsized, use -l to show in full.
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.3.11+dfsg-0ubuntu0.16.04.11); however:
  Package samba is not configured yet.

dpkg: error processing package winbind (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of libpam-winbind:arm64:
 libpam-winbind:arm64 depends on winbind (= 2:4.3.11+dfsg-0ubuntu0.16.04.11); however:
  Package winbind is not configured yet.

dpkg: error processing package libpam-winbind:arm64 (--configure):
 dependency problems - leaving unconfigured
Processing triggers for libc-bin (2.23-0ubuntu9) ...
Errors were encountered while processing:
 samba
 winbind
 libpam-winbind:arm64
E: Sub-process /usr/bin/dpkg returned an error code (1)

Eu tentei coisas diferentes, como:

sudo apt-get autoclean
sudo dpkg --remove --force-depends samba winbind libpam-winbind:arm64
sudo apt-get install -f

Acho que entendo que há um erro com um pacote e, devido a dependências, outros pacotes não estão funcionando mais.

Alguma idéia?

Obrigado Victor

    
por Victor Meunier 25.10.2017 / 14:09

0 respostas