[Bug 1641782] Re: package samba 2:4.4.5+dfsg-2ubuntu5 failed to install/upgrade: subprocesso script post-installation instalado retornou erro do status de saída 1

Joshua Powers josh.powers at canonical.com
Wed Nov 16 17:22:42 UTC 2016


Looking around there are a number of posts on other sites about this
error message and how users loopback interface is down or not enabled
causing nmbd to fail to start. The work around would be to make sure the
loopback interface is indeed up and functional.

I am not sure this is actually a bug in samba if it indeed depends on
the loopback interface being up.

** Changed in: samba (Ubuntu)
       Status: New => Incomplete

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to samba in Ubuntu.
https://bugs.launchpad.net/bugs/1641782

Title:
  package samba 2:4.4.5+dfsg-2ubuntu5 failed to install/upgrade:
  subprocesso script post-installation instalado retornou erro do status
  de saída 1

Status in samba package in Ubuntu:
  Incomplete

Bug description:
  system-config-samba and samba package with dependencies problems. Didn't installed, returned errors:
  "A instalar samba (2:4.4.5+dfsg-2ubuntu5) ...
  Created symlink /etc/systemd/system/multi-user.target.wants/nmbd.service → /lib/systemd/system/nmbd.service.
  Failed to preset unit: Unit file /etc/systemd/system/samba-ad-dc.service is masked.
  /usr/bin/deb-systemd-helper: error: systemctl preset failed on samba-ad-dc.service: No such file or directory
  Created symlink /etc/systemd/system/multi-user.target.wants/smbd.service → /lib/systemd/system/smbd.service.
  Job for nmbd.service failed because a timeout was exceeded.
  See "systemctl status nmbd.service" and "journalctl -xe" for details.
  invoke-rc.d: initscript nmbd, action "start" failed.
  ● nmbd.service - Samba NMB Daemon
     Loaded: loaded (/lib/systemd/system/nmbd.service; enabled; vendor preset: enabled)
     Active: failed (Result: timeout) since ter 2016-11-15 01:18:21 WET; 15ms ago
       Docs: man:nmbd(8)
             man:samba(7)
             man:smb.conf(5)
   Main PID: 15024
     Status: "nmbd: No local IPv4 non-loopback interfaces available, waiting for interface ..."
      Tasks: 1 (limit: 4915)
     CGroup: /system.slice/nmbd.service

  nov 15 01:16:51 compaq systemd[1]: Starting Samba NMB Daemon...
  nov 15 01:16:51 compaq systemd[1]: nmbd.service: Supervising process 15024 ...s.
  nov 15 01:18:21 compaq systemd[1]: nmbd.service: Start operation timed out....g.
  nov 15 01:18:21 compaq systemd[1]: nmbd.service: Killing process 15024 (nmb...L.
  nov 15 01:18:21 compaq systemd[1]: Failed to start Samba NMB Daemon.
  nov 15 01:18:21 compaq systemd[1]: nmbd.service: Unit entered failed state.
  nov 15 01:18:21 compaq systemd[1]: nmbd.service: Failed with result 'timeout'.
  Hint: Some lines were ellipsized, use -l to show in full.
  dpkg: erro ao processar o pacote samba (--configure):
   subprocesso script post-installation instalado retornou erro do status de saída 1
  A processar 'triggers' para hicolor-icon-theme (0.15-1) ...
  A instalar attr (1:2.4.47-2) ...
  dpkg: problemas com dependências impedem a configuração de system-config-samba:
   system-config-samba depende de samba; no entanto:
   O pacote samba ainda não está configurado.

  dpkg: erro ao processar o pacote system-config-samba (--configure):
   problemas com dependências - a deixar por configurar
  Nenhum relatório apport escrito pois a mensagem de erro indica que é um erro de seguimento de um erro anterior.
               A processar 'triggers' para libc-bin (2.24-3ubuntu1) ...
  A processar 'triggers' para systemd (231-9ubuntu1) ...
  A processar 'triggers' para ureadahead (0.100.0-19) ...
  A processar 'triggers' para ufw (0.35-2) ...
  Foram encontrados erros enquanto processava:
   samba
   system-config-samba
  E: Sub-process /usr/bin/dpkg returned an error code (1)
  A package failed to install.  Trying to recover:
  A instalar samba (2:4.4.5+dfsg-2ubuntu5) ...
  Failed to preset unit: Unit file /etc/systemd/system/samba-ad-dc.service is masked.
  /usr/bin/deb-systemd-helper: error: systemctl preset failed on samba-ad-dc.service: No such file or directory
  Job for nmbd.service failed because a timeout was exceeded.
  See "systemctl status nmbd.service" and "journalctl -xe" for details.
  invoke-rc.d: initscript nmbd, action "start" failed.
  ● nmbd.service - Samba NMB Daemon
     Loaded: loaded (/lib/systemd/system/nmbd.service; enabled; vendor preset: enabled)
     Active: failed (Result: timeout) since ter 2016-11-15 01:20:00 WET; 15ms ago
       Docs: man:nmbd(8)
             man:samba(7)
             man:smb.conf(5)
    Process: 16252 ExecStart=/usr/sbin/nmbd $NMBDOPTIONS (code=killed, signal=TERM)
   Main PID: 16252 (code=killed, signal=TERM)
     Status: "nmbd: No local IPv4 non-loopback interfaces available, waiting for interface ..."

  nov 15 01:18:30 compaq systemd[1]: Starting Samba NMB Daemon...
  nov 15 01:20:00 compaq systemd[1]: nmbd.service: Start operation timed out. Terminating.
  nov 15 01:20:00 compaq systemd[1]: Failed to start Samba NMB Daemon.
  nov 15 01:20:00 compaq systemd[1]: nmbd.service: Unit entered failed state.
  nov 15 01:20:00 compaq systemd[1]: nmbd.service: Failed with result 'timeout'.
  dpkg: erro ao processar o pacote samba (--configure):
   subprocesso script post-installation instalado retornou erro do status de saída 1
  dpkg: problemas com dependências impedem a configuração de system-config-samba:
   system-config-samba depende de samba; no entanto:
   O pacote samba ainda não está configurado.

  dpkg: erro ao processar o pacote system-config-samba (--configure):
   problemas com dependências - a deixar por configurar
  A processar 'triggers' para libc-bin (2.24-3ubuntu1) ...
  Foram encontrados erros enquanto processava:
   samba
   system-config-samba

  ProblemType: Package
  DistroRelease: Ubuntu 16.10
  Package: samba 2:4.4.5+dfsg-2ubuntu5
  ProcVersionSignature: Ubuntu 4.8.0-27.29-generic 4.8.1
  Uname: Linux 4.8.0-27-generic x86_64
  ApportVersion: 2.20.3-0ubuntu8
  Architecture: amd64
  Date: Tue Nov 15 01:18:21 2016
  ErrorMessage: subprocesso script post-installation instalado retornou erro do status de saída 1
  InstallationDate: Installed on 2016-10-15 (30 days ago)
  InstallationMedia: Ubuntu-MATE 16.10 "Yakkety Yak" - Alpha amd64 (20160921)
  NmbdLog:
   
  OtherFailedConnect: Yes
  RelatedPackageVersions:
   dpkg 1.18.10ubuntu1
   apt  1.3.1
  SambaServerRegression: Yes
  SmbConfIncluded: Yes
  SmbLog:
   
  SourcePackage: samba
  Title: package samba 2:4.4.5+dfsg-2ubuntu5 failed to install/upgrade: subprocesso script post-installation instalado retornou erro do status de saída 1
  UpgradeStatus: No upgrade log present (probably fresh install)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/samba/+bug/1641782/+subscriptions



More information about the foundations-bugs mailing list