[Bug 1793144] Re: package samba 2:4.7.6+dfsg~ubuntu-0ubuntu2.2 failed to install/upgrade: installed samba package post-installation script subprocess returned error exit status 1

Jonathan 1793144 at bugs.launchpad.net
Fri Sep 21 20:39:37 UTC 2018


sudo chmod 755 /var/lib/samba /var/cache/samba
sudo apt remove samba && sudo apt install samba -y
set_variable_helper(mo): value is not boolean!



sudo apt purge samba && sudo apt install samba -y

invoke-rc.d: initscript smbd, action "start" failed.
● smbd.service - Samba SMB Daemon
   Loaded: loaded (/lib/systemd/system/smbd.service; disabled; vendor preset: enabled)
   Active: failed (Result: exit-code) since Fri 2018-09-21 13:38:06 PDT; 7ms ago
     Docs: man:smbd(8)
           man:samba(7)
           man:smb.conf(5)
  Process: 27221 ExecStart=/usr/sbin/smbd --foreground --no-process-group $SMBDOPTIONS (code=exited, status=1/FAILURE)
 Main PID: 27221 (code=exited, status=1/FAILURE)

Sep 21 13:38:06 jonnys-tower systemd[1]: Starting Samba SMB Daemon...
Sep 21 13:38:06 jonnys-tower systemd[1]: smbd.service: Main process exited, code=exited, status=1/FAILURE
Sep 21 13:38:06 jonnys-tower systemd[1]: smbd.service: Failed with result 'exit-code'.
Sep 21 13:38:06 jonnys-tower 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
Setting up samba-dsdb-modules (2:4.7.6+dfsg~ubuntu-0ubuntu2.2) ...
Setting up attr (1:2.4.47-2build1) ...
Processing triggers for libc-bin (2.27-3ubuntu1) ...
Processing triggers for systemd (237-3ubuntu10.3) ...
Processing triggers for ureadahead (0.100.0-20) ...
Processing triggers for ufw (0.35-5) ...
Errors were encountered while processing:
 samba

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

Title:
  package samba 2:4.7.6+dfsg~ubuntu-0ubuntu2.2 failed to
  install/upgrade: installed samba package post-installation script
  subprocess returned error exit status 1

Status in samba package in Ubuntu:
  Incomplete

Bug description:
  it failed on an update

  ProblemType: Package
  DistroRelease: Ubuntu 18.04
  Package: samba 2:4.7.6+dfsg~ubuntu-0ubuntu2.2
  ProcVersionSignature: Ubuntu 4.15.0-34.37-generic 4.15.18
  Uname: Linux 4.15.0-34-generic x86_64
  ApportVersion: 2.20.9-0ubuntu7.2
  AptOrdering:
   firefox:amd64: Install
   NULL: ConfigurePending
  Architecture: amd64
  Date: Tue Sep 18 06:42:20 2018
  ErrorMessage: installed samba package post-installation script subprocess returned error exit status 1
  InstallationDate: Installed on 2018-06-02 (107 days ago)
  InstallationMedia: Ubuntu 18.04 LTS "Bionic Beaver" - Release amd64 (20180426)
  NmbdLog:
   
  Python3Details: /usr/bin/python3.6, Python 3.6.5, python3-minimal, 3.6.5-3ubuntu1
  PythonDetails: /usr/bin/python2.7, Python 2.7.15rc1, python-minimal, 2.7.15~rc1-1
  RelatedPackageVersions:
   dpkg 1.19.0.5ubuntu2
   apt  1.6.3ubuntu0.1
  SambaServerRegression: Yes
  SmbConfIncluded: Yes
  SmbLog:
   
  SourcePackage: samba
  TestparmExitCode: 0
  Title: package samba 2:4.7.6+dfsg~ubuntu-0ubuntu2.2 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/1793144/+subscriptions



More information about the foundations-bugs mailing list