← Back to team overview

enterprise-support team mailing list archive

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

 

Thanks for filing this bug in Ubuntu.

You seem to have an invalid configuration setting in your
/etc/samba/smb.conf:

$ testparm ./smb.conf 
WARNING: The "syslog" option is deprecated
WARNING: Ignoring invalid value 'server' for parameter 'security'
Load smb config files from ./smb.conf
WARNING: The "syslog" option is deprecated
WARNING: Ignoring invalid value 'server' for parameter 'security'
Error loading services.

The "security" parameter can only have the values "auto", "user", "domain" or "ads".
The reason you are seeing this error just now is probably because a samba update triggers a service restart.

The other reason your attempts at purging samba didn't help is because
the config file /etc/samba/smb.conf is generated by the samba-common
package, not samba.

I suggest to fix your smb.conf and then try:
sudo apt update
sudo apt -f install

Or purge samba-common, which will remove smb.conf, and start over.


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

-- 
You received this bug notification because you are a member of Ubuntu
Server/Client Support Team, which is subscribed to samba in Ubuntu.
Matching subscriptions: Ubuntu Server/Client Support Team
https://bugs.launchpad.net/bugs/1857544

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

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


References