Hi Franco,
you seem to be affected by that issue for quite a while - unfortunately some of 
the logs that were attached are no more covering how it started :-/.

I'll give you the summary what happened and you can decide which way you
want to go:

1. what is breaking
   On install/upgrade of the samba package it fails to restart the samba service
2. why is that required
   When updating a service the daemons have to be restarted to pick up the 
change.
   While doing so things can fail e.g. because the upgrade no more supports the 
old config, but 
   actually that case is very rare.
3. what is happening more likely
   Most of the times these kind of issues occur if services are installed, but 
not properly 
   configured. The users might have experimented with it but eventually didn't 
care and left it 
   in a broken state so that the service isn't able to restart (e.g. broken 
config file)
4. Solution
   4a. fix the samba config so you can properly restart the service, very very 
likely the upgrade 
       then works as well.
       $ systemctl restart smbd
       $ systemctl status smbd
       # once goot do your upgrades
   4b. if you didn't configure it, you likely don't care so you might as well 
just remove the 
       package. Of course that will stop bothering about not being able to 
upgrade it.

Please pick your way to resolve, if you run into troubles along that set
the bug back to new.

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

Title:
  package samba 2:4.3.11+dfsg-0ubuntu0.16.04.7 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/1701330/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to