[Bug 1795101] Re: package unattended-upgrades 1.1ubuntu1.18.04.5 failed to install/upgrade: installed unattended-upgrades package post-installation script subprocess returned error exit status 10

Andreas Hasenack andreas at canonical.com
Thu Nov 8 23:39:02 UTC 2018


Thanks for filing this bug in Ubuntu.

It's not clear why samba-common's postinst script failed. Your apt
history logs show that you have been having dpkg errors since early
September.

Can you add "set -x" to the top of /var/lib/dpkg/info/samba-common.postinst please, just above the existing "set -e" line, so the top of the file looks like this:
#!/bin/sh
#
#

set -x
set -e

# Do debconf stuff here
...

Then call that file as root like this:

sh /var/lib/dpkg/info/samba-common.postinst configure


And show the output here in the bug please.


Also, pleast attach /etc/samba/smb.conf.

Thanks!


pt_BT: resumidamente, por favor altere /var/lib/dpkg/info/samba-common.postinst conforme indicado acima adicionando a linha "set -x" logo acima da linha "set -e", e rode o script usando "sh /var/lib/dpkg/info/samba-common.postinst configure". Cole a saĆ­da aqui no bug para que possamos ver onde ele falhou.

** Changed in: samba (Ubuntu)
       Status: Confirmed => Incomplete

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

Title:
  package unattended-upgrades 1.1ubuntu1.18.04.5 failed to
  install/upgrade: installed unattended-upgrades package post-
  installation script subprocess returned error exit status 10

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



More information about the Ubuntu-server-bugs mailing list