[Bug 1806102] Re: package samba 2:4.9.2+dfsg-2ubuntu1 failed to install/upgrade: installed samba package post-installation script subprocess returned error exit status 1

Apport retracing service 1806102 at bugs.launchpad.net
Fri Nov 30 17:50:06 UTC 2018


** Tags removed: need-duplicate-check

-- 
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/1806102

Title:
  package samba 2:4.9.2+dfsg-2ubuntu1 failed to install/upgrade:
  installed samba package post-installation script subprocess returned
  error exit status 1

Status in samba package in Ubuntu:
  New

Bug description:
  Step to reproduce

  on ubuntu 19.04
  open software update
  run updat updte
  the update faild with this message : 
  The installation or removal of a software package failed.

  the log details

  sudo apt update && sudo apt dist-upgrade 
  [sudo] password for battant: 
  Hit:1 http://archive.canonical.com/ubuntu disco InRelease                      
  Hit:2 http://archive.ubuntu.csg.uzh.ch/ubuntu disco InRelease                  
  Hit:3 http://archive.ubuntu.csg.uzh.ch/ubuntu disco-updates InRelease          
  Hit:4 http://archive.ubuntu.csg.uzh.ch/ubuntu disco-backports InRelease        
  Hit:5 http://archive.ubuntu.csg.uzh.ch/ubuntu disco-security InRelease         
  Hit:6 http://security.ubuntu.com/ubuntu disco-security InRelease               
  Hit:7 http://archive.ubuntu.csg.uzh.ch/ubuntu disco-proposed InRelease
  Reading package lists... Done                      
  Building dependency tree       
  Reading state information... Done
  2 packages can be upgraded. Run 'apt list --upgradable' to see them.
  Reading package lists... Done
  Building dependency tree       
  Reading state information... Done
  Calculating upgrade... Done
  The following packages have been kept back:
    libsane-common libsane-dev
  0 upgraded, 0 newly installed, 0 to remove and 2 not upgraded.
  1 not fully installed or removed.
  After this operation, 0 B of additional disk space will be used.
  Do you want to continue? [Y/n] y
  Setting up samba (2:4.9.2+dfsg-2ubuntu1) ...
  Samba is not being run as an AD Domain Controller: Masking samba-ad-dc.service
  Please ignore the following error about deb-systemd-helper not finding those services.
  (samba-ad-dc.service already masked)
  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 "restart" failed.
  ● smbd.service - Samba SMB Daemon
     Loaded: loaded (/lib/systemd/system/smbd.service; enabled; vendor preset: enabled)
     Active: failed (Result: exit-code) since Fri 2018-11-30 18:41:32 CET; 6ms ago
       Docs: man:smbd(8)
             man:samba(7)
             man:smb.conf(5)
    Process: 24277 ExecStart=/usr/sbin/smbd --foreground --no-process-group $SMBDOPTIONS (code=exited, status=255)
   Main PID: 24277 (code=exited, status=255)

  nov. 30 18:41:32 battant-why systemd[1]: Starting Samba SMB Daemon...
  nov. 30 18:41:32 battant-why systemd[1]: smbd.service: Main process exited, code=exited, status=255/n/a
  nov. 30 18:41:32 battant-why systemd[1]: smbd.service: Failed with result 'exit-code'.
  nov. 30 18:41:32 battant-why systemd[1]: Failed to start Samba SMB Daemon.
  dpkg: error processing package samba (--configure):
   installed samba package post-installation script subprocess returned error exit status 1
  Processing triggers for libc-bin (2.28-0ubuntu1) ...
  Errors were encountered while processing:
   samba
  E: Sub-process /usr/bin/dpkg returned an error code (1)

  
  Could you help me please to fix this issus

  Best regards

  Battant

  ProblemType: Package
  DistroRelease: Ubuntu 19.04
  Package: samba 2:4.9.2+dfsg-2ubuntu1
  ProcVersionSignature: Ubuntu 4.18.0-9.10-generic 4.18.12
  Uname: Linux 4.18.0-9-generic x86_64
  ApportVersion: 2.20.10-0ubuntu14
  Architecture: amd64
  Date: Fri Nov 30 18:30:21 2018
  ErrorMessage: installed samba package post-installation script subprocess returned error exit status 1
  InstallationDate: Installed on 2018-09-04 (87 days ago)
  InstallationMedia: Ubuntu 18.10 "Cosmic Cuttlefish" - Alpha amd64 (20180822)
  NmbdLog:
   
  Python3Details: /usr/bin/python3.7, Python 3.7.1, python3-minimal, 3.7.1-1ubuntu1
  PythonDetails: /usr/bin/python2.7, Python 2.7.15+, python-minimal, 2.7.15-3
  RelatedPackageVersions:
   dpkg 1.19.2ubuntu1
   apt  1.8.0~alpha2ubuntu1
  SambaServerRegression: No
  SmbConfIncluded: Yes
  SmbLog:
   create_local_token failed: NT_STATUS_ACCESS_DENIED
     ERROR: failed to setup guest info.
     create_local_token failed: NT_STATUS_ACCESS_DENIED
     ERROR: failed to setup guest info.
  SourcePackage: samba
  TestparmExitCode: 0
  Title: package samba 2:4.9.2+dfsg-2ubuntu1 failed to install/upgrade: installed samba package post-installation script subprocess returned error exit status 1
  UpgradeStatus: No upgrade log present (probably fresh install)
  WindowsFailedConnect: Yes

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



More information about the foundations-bugs mailing list