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

Andreas Hasenack andreas at canonical.com
Wed Feb 7 19:08:03 UTC 2018


Thanks.

Time to add some debugging options. As root, edit the file
/var/lib/dpkg/info/grub-pc.postinst and add this just below the existing
"set -e" line:

set -x

The top of the file should look like this:
#!/bin/bash
set -e
set -x

merge_debconf_into_conf()
(...remaining bits of the file ...)

Then save it, and run:

sudo dpkg-reconfigure grub-pc

It might make some prompts. I suggest to accept defaults, but please
take a close look at what it is suggesting.

At some point in this run, I expect it to exit with the same status code
of "10" that this bug is about. I hope that by then your screen will
have a lot of debugging information and that you can attach it to this
bug so we can figure out what is going on.

-- 
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/1747619

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

Status in samba package in Ubuntu:
  Incomplete

Bug description:
  installation of a new package impossible

  ProblemType: Package
  DistroRelease: Ubuntu 16.04
  Package: samba-common 2:4.3.11+dfsg-0ubuntu0.16.04.12
  ProcVersionSignature: Ubuntu 4.4.0-112.135-generic 4.4.98
  Uname: Linux 4.4.0-112-generic x86_64
  ApportVersion: 2.20.1-0ubuntu2.15
  Architecture: amd64
  Date: Tue Feb  6 10:22:06 2018
  DuplicateSignature:
   package:samba-common:2:4.3.11+dfsg-0ubuntu0.16.04.12
   Setting up grub-pc (2.02~beta2-36ubuntu3.16) ...
   dpkg: error processing package grub-pc (--configure):
    subprocess installed post-installation script returned error exit status 10
  ErrorMessage: subprocess installed post-installation script returned error exit status 10
  InstallationDate: Installed on 2014-04-24 (1383 days ago)
  InstallationMedia: Ubuntu 14.04 LTS "Trusty Tahr" - Release amd64 (20140417)
  PackageArchitecture: all
  RelatedPackageVersions:
   nautilus 1:3.18.4.is.3.14.3-0ubuntu6
   gvfs     1.28.2-1ubuntu1~16.04.2
  SambaClientRegression: No
  SourcePackage: samba
  Title: package samba-common 2:4.3.11+dfsg-0ubuntu0.16.04.12 failed to install/upgrade: subprocess installed post-installation script returned error exit status 10
  UpgradeStatus: No upgrade log present (probably fresh install)

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



More information about the foundations-bugs mailing list