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

ChristianEhrhardt 1629038 at bugs.launchpad.net
Mon Oct 17 12:55:32 UTC 2016


Hi,
so the lib that is missing the other symbols "should" not be installed at all.

I also found that I had only x86_64 versions of it.
$ ll /usr/lib/*/libndr.so.0
lrwxrwxrwx 1 root root 15 Sep 23 19:44 /usr/lib/x86_64-linux-gnu/libndr.so.0 -> libndr.so.0.0.5
$ dpkg -S  /usr/lib/*/libndr.so.0
samba-libs:amd64: /usr/lib/x86_64-linux-gnu/libndr.so.0

On i386 the same looks like this:
$ ll /usr/lib/*/libndr.so.0
lrwxrwxrwx 1 root root 15 Sep 23 19:45 /usr/lib/i386-linux-gnu/libndr.so.0 -> libndr.so.0.0.5
$ dpkg -S  /usr/lib/*/libndr.so.0
samba-libs:i386: /usr/lib/i386-linux-gnu/libndr.so.0

Both working fine.

I tried to force some chaos by installing i386 packages onto x86_64 system and vice versa.
dpkg --add-architecture i386
apt-get update
# for dependencies I need to install more than just libs
apt-get install samba-libs:i386 python-talloc:i386 python:i386
# apt is smart about conflicts as I see
[...]
The following packages will be REMOVED:
  python python-crypto python-ldb python-minimal python-samba python-talloc python-tdb python2.7 python2.7-minimal samba samba-common-bin samba-dsdb-modules samba-libs
  samba-vfs-modules
[...]
# And afterwards I get a correct working samba:
$ ll /usr/lib/*/libndr.so.0
lrwxrwxrwx 1 root root 15 Sep 23 19:45 /usr/lib/i386-linux-gnu/libndr.so.0 -> libndr.so.0.0.5
$ dpkg -S  /usr/lib/*/libndr.so.0
samba-libs:i386: /usr/lib/i386-linux-gnu/libndr.so.0

You seem to have a mixed environment, for that a few questions.
- do you have a 64 or 32 bit setup in general?
- and old experiments around samba libs?
- any experiments around multiarch?
- Did you maybe in the past build a custom 32bit samba that still has libs around interfering with the packaged samba?
- please report "ll /usr/lib/*/libndr.so.0" and "dpkg -S  /usr/lib/*/libndr.so.0"
- if your /usr/lib/i386-linux-gnu/libndr.so.0 doesn't belong to a package where did it come from?

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

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

Status in samba package in Ubuntu:
  Incomplete

Bug description:
  The latest update of samba failed to install, failed to execute "samba
  --configure" while installing.

  ProblemType: Package
  DistroRelease: Ubuntu 16.04
  Package: samba 2:4.3.11+dfsg-0ubuntu0.16.04.1
  ProcVersionSignature: Ubuntu 4.4.0-40.60-generic 4.4.21
  Uname: Linux 4.4.0-40-generic x86_64
  ApportVersion: 2.20.1-0ubuntu2.1
  Architecture: amd64
  Date: Thu Sep 29 18:01:29 2016
  ErrorMessage: subprocess installed post-installation script returned error exit status 1
  InstallationDate: Installed on 2016-04-14 (167 days ago)
  InstallationMedia: Xubuntu 16.04 LTS "Xenial Xerus" - Beta amd64 (20160412)
  RelatedPackageVersions:
   nautilus 1:3.18.4.is.3.14.3-0ubuntu5
   gvfs     1.28.2-1ubuntu1~16.04.1
  SambaClientRegression: No
  SourcePackage: samba
  Title: package samba 2:4.3.11+dfsg-0ubuntu0.16.04.1 failed to install/upgrade: subprocess installed post-installation script returned error exit status 1
  UpgradeStatus: No upgrade log present (probably fresh install)

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



More information about the foundations-bugs mailing list