Public bug reported:

Tried to install SAMBA4 from terminal on Ubuntu 12.04 LTS (Release:
12.04):

samba4:
  Installed: 4.0.0~alpha18.dfsg1-4ubuntu2
  Candidate: 4.0.0~alpha18.dfsg1-4ubuntu2
  Version table:
 *** 4.0.0~alpha18.dfsg1-4ubuntu2 0
        500 http://ca.archive.ubuntu.com/ubuntu/ precise/universe i386 Packages
        100 /var/lib/dpkg/status

What did I expect? Smooth comleted install. What did I get instead? A
failed install and this bug report.

seann@hp-server:~$ sudo apt-get install nfs-common samba4
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following extra packages will be installed:
  attr bind9 bind9-host bind9utils dnsutils ldb-tools libbind9-80
  libdcerpc-server0 libdcerpc0 libdns81 libgensec0 libgssglue1 libhdb9-heimdal
  libisc83 libisccc80 libisccfg82 libkdc2-heimdal libldb1 liblwres80
  libndr-standard0 libndr0 libnfsidmap2 libregistry0 libsamba-credentials0
  libsamba-hostconfig0 libsamba-policy0 libsamba-util0 libsamdb0
  libsmbclient-raw0 libtevent0 libtirpc1 python-dnspython python-ldb
  python-samba python-talloc python-tdb rpcbind samba-dsdb-modules
  samba4-common-bin tdb-tools
Suggested packages:
  bind9-doc rblcheck phpldapadmin samba-gtk swat2
The following NEW packages will be installed:
  attr bind9 bind9utils ldb-tools libdcerpc-server0 libdcerpc0 libgensec0
  libgssglue1 libhdb9-heimdal libkdc2-heimdal libldb1 libndr-standard0 libndr0
  libnfsidmap2 libregistry0 libsamba-credentials0 libsamba-hostconfig0
  libsamba-policy0 libsamba-util0 libsamdb0 libsmbclient-raw0 libtevent0
  libtirpc1 nfs-common python-dnspython python-ldb python-samba python-talloc
  python-tdb rpcbind samba-dsdb-modules samba4 samba4-common-bin tdb-tools
The following packages will be upgraded:
  bind9-host dnsutils libbind9-80 libdns81 libisc83 libisccc80 libisccfg82
  liblwres80
8 upgraded, 34 newly installed, 0 to remove and 519 not upgraded.
Need to get 8,805 kB/9,989 kB of archives.
After this operation, 39.7 MB of additional disk space will be used.
Do you want to continue [Y/n]? y
Get:1 http://ca.archive.ubuntu.com/ubuntu/ precise/main libhdb9-heimdal i386 
1.6~git20120311.dfsg.1-2 [67.2 kB]
Get:2 http://ca.archive.ubuntu.com/ubuntu/ precise/universe libtevent0 i386 
0.9.15-2 [26.5 kB]
Get:3 http://ca.archive.ubuntu.com/ubuntu/ precise/universe libldb1 i386 
1:1.1.4-1 [136 kB]
Get:4 http://ca.archive.ubuntu.com/ubuntu/ precise/universe libsamba-util0 i386 
4.0.0~alpha18.dfsg1-4ubuntu2 [231 kB]
Get:5 http://ca.archive.ubuntu.com/ubuntu/ precise/universe libndr0 i386 
4.0.0~alpha18.dfsg1-4ubuntu2 [37.1 kB]
Get:6 http://ca.archive.ubuntu.com/ubuntu/ precise/universe libndr-standard0 
i386 4.0.0~alpha18.dfsg1-4ubuntu2 [1,676 kB]
Get:7 http://ca.archive.ubuntu.com/ubuntu/ precise/universe 
libsamba-hostconfig0 i386 4.0.0~alpha18.dfsg1-4ubuntu2 [56.2 kB]
Get:8 http://ca.archive.ubuntu.com/ubuntu/ precise/universe 
libsamba-credentials0 i386 4.0.0~alpha18.dfsg1-4ubuntu2 [29.0 kB]
Get:9 http://ca.archive.ubuntu.com/ubuntu/ precise/universe libsamdb0 i386 
4.0.0~alpha18.dfsg1-4ubuntu2 [132 kB]
Get:10 http://ca.archive.ubuntu.com/ubuntu/ precise/universe libgensec0 i386 
4.0.0~alpha18.dfsg1-4ubuntu2 [251 kB]
Get:11 http://ca.archive.ubuntu.com/ubuntu/ precise/universe libsmbclient-raw0 
i386 4.0.0~alpha18.dfsg1-4ubuntu2 [556 kB]
Get:12 http://ca.archive.ubuntu.com/ubuntu/ precise/main python-talloc i386 
2.0.7-3 [7,002 B]
Get:13 http://ca.archive.ubuntu.com/ubuntu/ precise/universe libdcerpc0 i386 
4.0.0~alpha18.dfsg1-4ubuntu2 [557 kB]
Get:14 http://ca.archive.ubuntu.com/ubuntu/ precise/universe libregistry0 i386 
4.0.0~alpha18.dfsg1-4ubuntu2 [53.6 kB]
Get:15 http://ca.archive.ubuntu.com/ubuntu/ precise/universe libdcerpc-server0 
i386 4.0.0~alpha18.dfsg1-4ubuntu2 [336 kB]
Get:16 http://ca.archive.ubuntu.com/ubuntu/ precise/universe libsamba-policy0 
i386 4.0.0~alpha18.dfsg1-4ubuntu2 [23.2 kB]
Get:17 http://ca.archive.ubuntu.com/ubuntu/ precise/universe python-ldb i386 
1:1.1.4-1 [31.8 kB]
Get:18 http://ca.archive.ubuntu.com/ubuntu/ precise-updates/main libgssglue1 
i386 0.3-4ubuntu0.1 [22.0 kB]
Get:19 http://ca.archive.ubuntu.com/ubuntu/ precise/main libtirpc1 i386 0.2.2-5 
[84.4 kB]
Get:20 http://ca.archive.ubuntu.com/ubuntu/ precise-updates/main rpcbind i386 
0.2.0-7ubuntu1.2 [41.9 kB]
Get:21 http://ca.archive.ubuntu.com/ubuntu/ precise/main libkdc2-heimdal i386 
1.6~git20120311.dfsg.1-2 [63.2 kB]
Get:22 http://ca.archive.ubuntu.com/ubuntu/ precise/main attr i386 
1:2.4.46-5ubuntu1 [28.7 kB]
Get:23 http://ca.archive.ubuntu.com/ubuntu/ precise-updates/main bind9utils 
i386 1:9.8.1.dfsg.P1-4ubuntu0.6 [105 kB]
Get:24 http://ca.archive.ubuntu.com/ubuntu/ precise-updates/main bind9 i386 
1:9.8.1.dfsg.P1-4ubuntu0.6 [342 kB]
Get:25 http://ca.archive.ubuntu.com/ubuntu/ precise/universe ldb-tools i386 
1:1.1.4-1 [33.1 kB]
Get:26 http://ca.archive.ubuntu.com/ubuntu/ precise/main libnfsidmap2 i386 
0.25-1ubuntu2 [30.6 kB]
Get:27 http://ca.archive.ubuntu.com/ubuntu/ precise-updates/main nfs-common 
i386 1:1.2.5-3ubuntu3.1 [234 kB]
Get:28 http://ca.archive.ubuntu.com/ubuntu/ precise/main python-dnspython all 
1.9.4-0ubuntu3 [99.2 kB]
Get:29 http://ca.archive.ubuntu.com/ubuntu/ precise/main python-tdb i386 
1.2.9-4 [10.6 kB]
Get:30 http://ca.archive.ubuntu.com/ubuntu/ precise/universe python-samba i386 
4.0.0~alpha18.dfsg1-4ubuntu2 [1,545 kB]
Get:31 http://ca.archive.ubuntu.com/ubuntu/ precise/universe samba-dsdb-modules 
i386 4.0.0~alpha18.dfsg1-4ubuntu2 [261 kB]
Get:32 http://ca.archive.ubuntu.com/ubuntu/ precise/universe samba4-common-bin 
i386 4.0.0~alpha18.dfsg1-4ubuntu2 [25.4 kB]
Get:33 http://ca.archive.ubuntu.com/ubuntu/ precise/main tdb-tools i386 1.2.9-4 
[22.8 kB]
Get:34 http://ca.archive.ubuntu.com/ubuntu/ precise/universe samba4 i386 
4.0.0~alpha18.dfsg1-4ubuntu2 [1,649 kB]
Fetched 8,805 kB in 7s (1,198 kB/s)                                            
Extracting templates from packages: 100%
Preconfiguring packages ...
/tmp/samba4.config.27943: 1: /tmp/samba4.config.27943: samba-tool: not found
/tmp/samba4.config.27943: 1: /tmp/samba4.config.27943: samba-tool: not found
Selecting previously unselected package libhdb9-heimdal.
(Reading database ... 141964 files and directories currently installed.)
Unpacking libhdb9-heimdal (from 
.../libhdb9-heimdal_1.6~git20120311.dfsg.1-2_i386.deb) ...
Selecting previously unselected package libtevent0.
Unpacking libtevent0 (from .../libtevent0_0.9.15-2_i386.deb) ...
Selecting previously unselected package libldb1.
Unpacking libldb1 (from .../libldb1_1%3a1.1.4-1_i386.deb) ...
Selecting previously unselected package libsamba-util0.
Unpacking libsamba-util0 (from 
.../libsamba-util0_4.0.0~alpha18.dfsg1-4ubuntu2_i386.deb) ...
Selecting previously unselected package libndr0.
Unpacking libndr0 (from .../libndr0_4.0.0~alpha18.dfsg1-4ubuntu2_i386.deb) ...
Selecting previously unselected package libndr-standard0.
Unpacking libndr-standard0 (from 
.../libndr-standard0_4.0.0~alpha18.dfsg1-4ubuntu2_i386.deb) ...
Selecting previously unselected package libsamba-hostconfig0.
Unpacking libsamba-hostconfig0 (from 
.../libsamba-hostconfig0_4.0.0~alpha18.dfsg1-4ubuntu2_i386.deb) ...
Selecting previously unselected package libsamba-credentials0.
Unpacking libsamba-credentials0 (from 
.../libsamba-credentials0_4.0.0~alpha18.dfsg1-4ubuntu2_i386.deb) ...
Selecting previously unselected package libsamdb0.
Unpacking libsamdb0 (from .../libsamdb0_4.0.0~alpha18.dfsg1-4ubuntu2_i386.deb) 
...
Selecting previously unselected package libgensec0.
Unpacking libgensec0 (from 
.../libgensec0_4.0.0~alpha18.dfsg1-4ubuntu2_i386.deb) ...
Selecting previously unselected package libsmbclient-raw0.
Unpacking libsmbclient-raw0 (from 
.../libsmbclient-raw0_4.0.0~alpha18.dfsg1-4ubuntu2_i386.deb) ...
Selecting previously unselected package python-talloc.
Unpacking python-talloc (from .../python-talloc_2.0.7-3_i386.deb) ...
Selecting previously unselected package libdcerpc0.
Unpacking libdcerpc0 (from 
.../libdcerpc0_4.0.0~alpha18.dfsg1-4ubuntu2_i386.deb) ...
Selecting previously unselected package libregistry0.
Unpacking libregistry0 (from 
.../libregistry0_4.0.0~alpha18.dfsg1-4ubuntu2_i386.deb) ...
Selecting previously unselected package libdcerpc-server0.
Unpacking libdcerpc-server0 (from 
.../libdcerpc-server0_4.0.0~alpha18.dfsg1-4ubuntu2_i386.deb) ...
Selecting previously unselected package libsamba-policy0.
Unpacking libsamba-policy0 (from 
.../libsamba-policy0_4.0.0~alpha18.dfsg1-4ubuntu2_i386.deb) ...
Selecting previously unselected package python-ldb.
Unpacking python-ldb (from .../python-ldb_1%3a1.1.4-1_i386.deb) ...
Selecting previously unselected package libgssglue1.
Unpacking libgssglue1 (from .../libgssglue1_0.3-4ubuntu0.1_i386.deb) ...
Selecting previously unselected package libtirpc1.
Unpacking libtirpc1 (from .../libtirpc1_0.2.2-5_i386.deb) ...
Selecting previously unselected package rpcbind.
Unpacking rpcbind (from .../rpcbind_0.2.0-7ubuntu1.2_i386.deb) ...
Selecting previously unselected package libkdc2-heimdal.
Unpacking libkdc2-heimdal (from 
.../libkdc2-heimdal_1.6~git20120311.dfsg.1-2_i386.deb) ...
Preparing to replace dnsutils 1:9.8.1.dfsg.P1-4 (using 
.../dnsutils_1%3a9.8.1.dfsg.P1-4ubuntu0.6_i386.deb) ...
Unpacking replacement dnsutils ...
Preparing to replace bind9-host 1:9.8.1.dfsg.P1-4 (using 
.../bind9-host_1%3a9.8.1.dfsg.P1-4ubuntu0.6_i386.deb) ...
Unpacking replacement bind9-host ...
Preparing to replace libisc83 1:9.8.1.dfsg.P1-4 (using 
.../libisc83_1%3a9.8.1.dfsg.P1-4ubuntu0.6_i386.deb) ...
Unpacking replacement libisc83 ...
Preparing to replace libdns81 1:9.8.1.dfsg.P1-4 (using 
.../libdns81_1%3a9.8.1.dfsg.P1-4ubuntu0.6_i386.deb) ...
Unpacking replacement libdns81 ...
Preparing to replace libisccc80 1:9.8.1.dfsg.P1-4 (using 
.../libisccc80_1%3a9.8.1.dfsg.P1-4ubuntu0.6_i386.deb) ...
Unpacking replacement libisccc80 ...
Preparing to replace libisccfg82 1:9.8.1.dfsg.P1-4 (using 
.../libisccfg82_1%3a9.8.1.dfsg.P1-4ubuntu0.6_i386.deb) ...
Unpacking replacement libisccfg82 ...
Preparing to replace liblwres80 1:9.8.1.dfsg.P1-4 (using 
.../liblwres80_1%3a9.8.1.dfsg.P1-4ubuntu0.6_i386.deb) ...
Unpacking replacement liblwres80 ...
Preparing to replace libbind9-80 1:9.8.1.dfsg.P1-4 (using 
.../libbind9-80_1%3a9.8.1.dfsg.P1-4ubuntu0.6_i386.deb) ...
Unpacking replacement libbind9-80 ...
Selecting previously unselected package attr.
Unpacking attr (from .../attr_1%3a2.4.46-5ubuntu1_i386.deb) ...
Selecting previously unselected package bind9utils.
Unpacking bind9utils (from 
.../bind9utils_1%3a9.8.1.dfsg.P1-4ubuntu0.6_i386.deb) ...
Selecting previously unselected package bind9.
Unpacking bind9 (from .../bind9_1%3a9.8.1.dfsg.P1-4ubuntu0.6_i386.deb) ...
Selecting previously unselected package ldb-tools.
Unpacking ldb-tools (from .../ldb-tools_1%3a1.1.4-1_i386.deb) ...
Selecting previously unselected package libnfsidmap2.
Unpacking libnfsidmap2 (from .../libnfsidmap2_0.25-1ubuntu2_i386.deb) ...
Selecting previously unselected package nfs-common.
Unpacking nfs-common (from .../nfs-common_1%3a1.2.5-3ubuntu3.1_i386.deb) ...
Selecting previously unselected package python-dnspython.
Unpacking python-dnspython (from .../python-dnspython_1.9.4-0ubuntu3_all.deb) 
...
Selecting previously unselected package python-tdb.
Unpacking python-tdb (from .../python-tdb_1.2.9-4_i386.deb) ...
Selecting previously unselected package python-samba.
Unpacking python-samba (from 
.../python-samba_4.0.0~alpha18.dfsg1-4ubuntu2_i386.deb) ...
Selecting previously unselected package samba-dsdb-modules.
Unpacking samba-dsdb-modules (from 
.../samba-dsdb-modules_4.0.0~alpha18.dfsg1-4ubuntu2_i386.deb) ...
Selecting previously unselected package samba4-common-bin.
Unpacking samba4-common-bin (from 
.../samba4-common-bin_4.0.0~alpha18.dfsg1-4ubuntu2_i386.deb) ...
Selecting previously unselected package tdb-tools.
Unpacking tdb-tools (from .../tdb-tools_1.2.9-4_i386.deb) ...
Selecting previously unselected package samba4.
Unpacking samba4 (from .../samba4_4.0.0~alpha18.dfsg1-4ubuntu2_i386.deb) ...
Processing triggers for man-db ...
Processing triggers for ureadahead ...
ureadahead will be reprofiled on next reboot
Processing triggers for ufw ...
Setting up libhdb9-heimdal (1.6~git20120311.dfsg.1-2) ...
Setting up libtevent0 (0.9.15-2) ...
Setting up libldb1 (1:1.1.4-1) ...
Setting up libsamba-util0 (4.0.0~alpha18.dfsg1-4ubuntu2) ...
Setting up libndr0 (4.0.0~alpha18.dfsg1-4ubuntu2) ...
Setting up libndr-standard0 (4.0.0~alpha18.dfsg1-4ubuntu2) ...
Setting up libsamba-hostconfig0 (4.0.0~alpha18.dfsg1-4ubuntu2) ...
Setting up libsamba-credentials0 (4.0.0~alpha18.dfsg1-4ubuntu2) ...
Setting up libsamdb0 (4.0.0~alpha18.dfsg1-4ubuntu2) ...
Setting up libgensec0 (4.0.0~alpha18.dfsg1-4ubuntu2) ...
Setting up libsmbclient-raw0 (4.0.0~alpha18.dfsg1-4ubuntu2) ...
Setting up python-talloc (2.0.7-3) ...
Setting up libdcerpc0 (4.0.0~alpha18.dfsg1-4ubuntu2) ...
Setting up libregistry0 (4.0.0~alpha18.dfsg1-4ubuntu2) ...
Setting up libdcerpc-server0 (4.0.0~alpha18.dfsg1-4ubuntu2) ...
Setting up libsamba-policy0 (4.0.0~alpha18.dfsg1-4ubuntu2) ...
Setting up python-ldb (1:1.1.4-1) ...
Setting up libgssglue1 (0.3-4ubuntu0.1) ...
Setting up libtirpc1 (0.2.2-5) ...
Setting up rpcbind (0.2.0-7ubuntu1.2) ...
 Removing any system startup links for /etc/init.d/rpcbind ...
portmap start/running, process 4112
Setting up libkdc2-heimdal (1.6~git20120311.dfsg.1-2) ...
Setting up libisc83 (1:9.8.1.dfsg.P1-4ubuntu0.6) ...
Setting up libdns81 (1:9.8.1.dfsg.P1-4ubuntu0.6) ...
Setting up libisccc80 (1:9.8.1.dfsg.P1-4ubuntu0.6) ...
Setting up libisccfg82 (1:9.8.1.dfsg.P1-4ubuntu0.6) ...
Setting up libbind9-80 (1:9.8.1.dfsg.P1-4ubuntu0.6) ...
Setting up liblwres80 (1:9.8.1.dfsg.P1-4ubuntu0.6) ...
Setting up bind9-host (1:9.8.1.dfsg.P1-4ubuntu0.6) ...
Setting up dnsutils (1:9.8.1.dfsg.P1-4ubuntu0.6) ...
Setting up attr (1:2.4.46-5ubuntu1) ...
Setting up bind9utils (1:9.8.1.dfsg.P1-4ubuntu0.6) ...
Setting up bind9 (1:9.8.1.dfsg.P1-4ubuntu0.6) ...
Adding group `bind' (GID 125) ...
Done.
Adding system user `bind' (UID 115) ...
Adding new user `bind' (UID 115) with group `bind' ...
Not creating home directory `/var/cache/bind'.
wrote key file "/etc/bind/rndc.key"
#
 * Starting domain name service... bind9                                 [ OK ] 
Setting up ldb-tools (1:1.1.4-1) ...
Setting up libnfsidmap2 (0.25-1ubuntu2) ...
Setting up nfs-common (1:1.2.5-3ubuntu3.1) ...

Creating config file /etc/idmapd.conf with new version

Creating config file /etc/default/nfs-common with new version
Adding system user `statd' (UID 116) ...
Adding new user `statd' (UID 116) with group `nogroup' ...
Not creating home directory `/var/lib/nfs'.
statd start/running, process 4486
gssd stop/pre-start, process 4510
idmapd start/running, process 4547
Setting up python-dnspython (1.9.4-0ubuntu3) ...
Setting up python-tdb (1.2.9-4) ...
Setting up python-samba (4.0.0~alpha18.dfsg1-4ubuntu2) ...
Setting up samba-dsdb-modules (4.0.0~alpha18.dfsg1-4ubuntu2) ...
Setting up samba4-common-bin (4.0.0~alpha18.dfsg1-4ubuntu2) ...
Setting up tdb-tools (1.2.9-4) ...
update-alternatives: using /usr/bin/tdbbackup.tdbtools to provide 
/usr/bin/tdbbackup (tdbbackup) in auto mode.
Setting up samba4 (4.0.0~alpha18.dfsg1-4ubuntu2) ...
Unknown parameter encountered: "max log size"
Ignoring unknown parameter "max log size"
Unknown parameter encountered: "syslog"
Ignoring unknown parameter "syslog"
Unknown parameter encountered: "unix password sync"
Ignoring unknown parameter "unix password sync"
Unknown parameter encountered: "passwd program"
Ignoring unknown parameter "passwd program"
Unknown parameter encountered: "pam password change"
Ignoring unknown parameter "pam password change"
Unknown parameter encountered: "map to guest"
Ignoring unknown parameter "map to guest"
Unknown parameter encountered: "usershare allow guests"
Ignoring unknown parameter "usershare allow guests"
Unknown parameter encountered: "guest ok"
Ignoring unknown parameter "guest ok"
Unknown parameter encountered: "guest ok"
Ignoring unknown parameter "guest ok"
ERROR: Invalid smb.conf
Unknown parameter encountered: "max log size"
Ignoring unknown parameter "max log size"
Unknown parameter encountered: "syslog"
Ignoring unknown parameter "syslog"
Unknown parameter encountered: "unix password sync"
Ignoring unknown parameter "unix password sync"
Unknown parameter encountered: "passwd program"
Ignoring unknown parameter "passwd program"
Unknown parameter encountered: "pam password change"
Ignoring unknown parameter "pam password change"
Unknown parameter encountered: "map to guest"
Ignoring unknown parameter "map to guest"
Unknown parameter encountered: "usershare allow guests"
Ignoring unknown parameter "usershare allow guests"
Unknown parameter encountered: "guest ok"
Ignoring unknown parameter "guest ok"
Unknown parameter encountered: "guest ok"
Ignoring unknown parameter "guest ok"
ERROR: Invalid smb.conf
/var/lib/dpkg/info/samba4.postinst: 14: /var/lib/dpkg/info/samba4.postinst: 
/usr/share/samba/setoption.pl: Permission denied
dpkg: error processing samba4 (--configure):
 subprocess installed post-installation script returned error exit status 126
Processing triggers for libc-bin ...
ldconfig deferred processing now taking place
Errors were encountered while processing:
 samba4
E: Sub-process /usr/bin/dpkg returned an error code (1)

ProblemType: Package
DistroRelease: Ubuntu 12.04
Package: samba4 4.0.0~alpha18.dfsg1-4ubuntu2
ProcVersionSignature: Ubuntu 3.2.0-23.36-generic-pae 3.2.14
Uname: Linux 3.2.0-23-generic-pae i686
ApportVersion: 2.0.1-0ubuntu5
Architecture: i386
Date: Sat Apr 13 08:48:26 2013
ErrorMessage: subprocess installed post-installation script returned error exit 
status 126
InstallationMedia: Ubuntu 12.04 LTS "Precise Pangolin" - Release i386 (20120423)
SourcePackage: samba4
Title: package samba4 4.0.0~alpha18.dfsg1-4ubuntu2 failed to install/upgrade: 
subprocess installed post-installation script returned error exit status 126
UpgradeStatus: No upgrade log present (probably fresh install)

** Affects: samba4 (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: apport-package i386 need-duplicate-check precise

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

Title:
  package samba4 4.0.0~alpha18.dfsg1-4ubuntu2 failed to install/upgrade:
  subprocess installed post-installation script returned error exit
  status 126

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

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to