[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
Foundations Bugs, 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

Status in samba package in Ubuntu:
  Incomplete

Bug description:
  -

  ProblemType: Package
  DistroRelease: Ubuntu 18.04
  Package: unattended-upgrades 1.1ubuntu1.18.04.5
  ProcVersionSignature: Ubuntu 4.15.0-34.37-generic 4.15.18
  Uname: Linux 4.15.0-34-generic x86_64
  ApportVersion: 2.20.9-0ubuntu7.4
  Architecture: amd64
  Date: Fri Sep 28 23:14:39 2018
  ErrorMessage: installed unattended-upgrades package post-installation script subprocess returned error exit status 10
  PackageArchitecture: all
  Python3Details: /usr/bin/python3.6, Python 3.6.6, python3-minimal, 3.6.5-3ubuntu1
  PythonDetails: /usr/bin/python2.7, Python 2.7.15rc1, unpackaged
  RelatedPackageVersions:
   dpkg 1.19.0.5ubuntu2
   apt  1.6.3ubuntu0.1
  SourcePackage: unattended-upgrades
  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
  UpgradeStatus: No upgrade log present (probably fresh install)
  modified.conffile..etc.apt.apt.conf.d.10periodic:
   APT::Periodic::Update-Package-Lists "7";
   APT::Periodic::Download-Upgradeable-Packages "0";
   APT::Periodic::AutocleanInterval "0";
   APT::Periodic::Unattended-Upgrade "1";
  mtime.conffile..etc.apt.apt.conf.d.10periodic: 2018-09-03T13:16:10.333183

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



More information about the foundations-bugs mailing list