<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On 24 October 2016 at 21:45, Liam Proven <span dir="ltr"><<a href="mailto:lproven@gmail.com" target="_blank">lproven@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><span class="gmail-">On 24 October 2016 at 22:29, Bob <<a href="mailto:ubuntu-qygzanxc@listemail.net">ubuntu-qygzanxc@listemail.net</a><wbr>> wrote:<br>
> Got this error at the end of autoremove.<br>
><br>
> Errors were encountered while processing:<br>
>  samba<br>
> E: Sub-process /usr/bin/dpkg returned an error code (1)<br>
<br>
</span>Try:<br>
<br>
sudo dpkg --configure -a<br>
<br>
If that works, then:<br>
<br>
sudo apt install -f<br>
<br>
And if that works, then:<br>
<br>
sudo apt clean<br>
sudo apt autoclean<br>
sudo apt update<br>
sudo apt dist-upgrade -y<br>
<br>
This should get all package issues resolved.<br></blockquote><div><br></div><div>Are we sure this is a packaging error?  The log has:<br><pre class="gmail-aLF-aPX-K0-aPE gmail-aLF-aPX-aLK-ayr-auR">Setting up samba (2:4.3.11+dfsg-0ubuntu0.16.04.1) ...
insserv: script ups-monitor: service ups-monitor already provided!
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 "start" failed.<br><br></pre>That sounds to me more like a configuration problem with samba, hence my suggestion that the OP ran testparm.<br><br></div><div>Bob, are you currently using Samba, and if so is it working ok?<br><br></div><div>Colin<br></div><div> <br></div></div></div></div>