[Bug 1739981] Re: package samba 2:4.5.8+dfsg-0ubuntu0.17.04.8 failed to install/upgrade: subprocess installed post-installation script returned error exit status 1

Quin Dennis quindennis at gmail.com
Thu Dec 28 16:32:57 UTC 2017


Thanks very much!  All better now!

On 12/28/2017 04:58 AM, Andreas Hasenack wrote:
> Thanks. Two things:
>
> a) you have an invalid setting in your /etc/samba/smb.conf file:
> $ testparm ./smb.conf
> Load smb config files from ./smb.conf
> rlimit_max: increasing rlimit_max (1024) to minimum Windows limit (16384)
> set_variable_helper("false"): value is not boolean!
> Error loading services.
>
> It's this line:
> usershare owner only="false"
>
> You have to fix that.
>
> b) For non-AD samba services, the samba-ad-dc service must be masked
> (which is the default) and the other services must be enabled. So run
> these commands:
>
> sudo systemctl stop smbd.service nmbd.service winbind.service samba-ad-dc.service
> sudo systemctl disable samba-ad-dc.service
> sudo systemctl mask samba-ad-dc.service
> sudo systemctl enable smbd.service nmbd.service
> sudo systemctl start smbd.service nmbd.service
>
> Then you can run these to fix the packaging side of things:
> sudo apt update
> sudo apt -f install
>

-- 
Quin Dennis | t: 512.216.2670 <tel:512-216-2670> | c: 512.210.4595 
<tel:512-216-2670>

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

Title:
  package samba 2:4.5.8+dfsg-0ubuntu0.17.04.8 failed to install/upgrade:
  subprocess installed post-installation script returned error exit
  status 1

Status in samba package in Ubuntu:
  Incomplete

Bug description:
  bug installing updates

  ProblemType: Package
  DistroRelease: Ubuntu 17.04
  Package: samba 2:4.5.8+dfsg-0ubuntu0.17.04.8
  ProcVersionSignature: Ubuntu 4.10.0-42.46-generic 4.10.17
  Uname: Linux 4.10.0-42-generic x86_64
  NonfreeKernelModules: wl
  ApportVersion: 2.20.4-0ubuntu4.9
  Architecture: amd64
  Date: Sun Dec 24 15:37:31 2017
  ErrorMessage: subprocess installed post-installation script returned error exit status 1
  InstallationDate: Installed on 2017-08-16 (130 days ago)
  InstallationMedia: Ubuntu 17.04 "Zesty Zapus" - Release amd64 (20170412)
  RelatedPackageVersions:
   nautilus 1:3.20.4-0ubuntu2
   gvfs     1.30.4-0ubuntu1
  SambaClientRegression: Yes
  SourcePackage: samba
  Title: package samba 2:4.5.8+dfsg-0ubuntu0.17.04.8 failed to install/upgrade: subprocess installed post-installation script returned error exit status 1
  UpgradeStatus: No upgrade log present (probably fresh install)
  upstart.nmbd.override: manual
  upstart.smbd.override: manual

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



More information about the foundations-bugs mailing list