package samba4 4.0.0~alpha18.dfsg1-4ubuntu2 failed to install/upgrade: subprocess installed post-installation script returned error exit status 126
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
samba4 (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
Installation fails with error code 1. Please See the following log:
ahussain@
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following package was automatically installed and is no longer required:
ssh-krb5
Use 'apt-get autoremove' to remove them.
The following extra packages will be installed:
attr bind9 bind9utils ldb-tools libdcerpc-server0 libdcerpc0 libgensec0 libhdb9-heimdal libkdc2-heimdal libldb1 libndr-standard0 libndr0 libregistry0 libsamba-
libsamba-
samba4-common-bin tdb-tools
Suggested packages:
bind9-doc phpldapadmin samba-gtk swat2
The following NEW packages will be installed:
attr bind9 bind9utils ldb-tools libdcerpc-server0 libdcerpc0 libgensec0 libhdb9-heimdal libkdc2-heimdal libldb1 libndr-standard0 libndr0 libregistry0 libsamba-
libsamba-
samba4 samba4-common-bin tdb-tools
0 upgraded, 29 newly installed, 0 to remove and 0 not upgraded.
Need to get 8,392 kB of archives.
After this operation, 38.4 MB of additional disk space will be used.
Do you want to continue [Y/n]? y
Get:1 http://
Get:2 http://
Get:3 http://
Get:4 http://
Get:5 http://
Get:6 http://
Get:7 http://
Get:8 http://
Get:9 http://
Get:10 http://
Get:11 http://
Get:12 http://
Get:13 http://
Get:14 http://
Get:15 http://
Get:16 http://
Get:17 http://
Get:18 http://
Get:19 http://
Get:20 http://
Get:21 http://
Get:22 http://
Get:23 http://
Get:24 http://
Get:25 http://
Get:26 http://
Get:27 http://
Get:28 http://
Get:29 http://
Fetched 8,392 kB in 6s (1,275 kB/s)
Preconfiguring packages ...
/tmp/samba4.
/tmp/samba4.
Selecting previously unselected package libhdb9-heimdal.
(Reading database ... 290833 files and directories currently installed.)
Unpacking libhdb9-heimdal (from .../libhdb9-
Selecting previously unselected package libtevent0.
Unpacking libtevent0 (from .../libtevent0_
Selecting previously unselected package libldb1.
Unpacking libldb1 (from .../libldb1_
Selecting previously unselected package libsamba-util0.
Unpacking libsamba-util0 (from .../libsamba-
Selecting previously unselected package libndr0.
Unpacking libndr0 (from .../libndr0_
Selecting previously unselected package libndr-standard0.
Unpacking libndr-standard0 (from .../libndr-
Selecting previously unselected package libsamba-
Unpacking libsamba-
Selecting previously unselected package libsamba-
Unpacking libsamba-
Selecting previously unselected package libsamdb0.
Unpacking libsamdb0 (from .../libsamdb0_
Selecting previously unselected package libgensec0.
Unpacking libgensec0 (from .../libgensec0_
Selecting previously unselected package libsmbclient-raw0.
Unpacking libsmbclient-raw0 (from .../libsmbclien
Selecting previously unselected package python-talloc.
Unpacking python-talloc (from .../python-
Selecting previously unselected package libdcerpc0.
Unpacking libdcerpc0 (from .../libdcerpc0_
Selecting previously unselected package libregistry0.
Unpacking libregistry0 (from .../libregistry
Selecting previously unselected package libdcerpc-server0.
Unpacking libdcerpc-server0 (from .../libdcerpc-
Selecting previously unselected package libsamba-policy0.
Unpacking libsamba-policy0 (from .../libsamba-
Selecting previously unselected package python-ldb.
Unpacking python-ldb (from .../python-
Selecting previously unselected package libkdc2-heimdal.
Unpacking libkdc2-heimdal (from .../libkdc2-
Selecting previously unselected package attr.
Unpacking attr (from .../attr_
Selecting previously unselected package bind9utils.
Unpacking bind9utils (from .../bind9utils_
Selecting previously unselected package bind9.
Unpacking bind9 (from .../bind9_
Selecting previously unselected package ldb-tools.
Unpacking ldb-tools (from .../ldb-
Selecting previously unselected package python-dnspython.
Unpacking python-dnspython (from .../python-
Selecting previously unselected package python-tdb.
Unpacking python-tdb (from .../python-
Selecting previously unselected package python-samba.
Unpacking python-samba (from .../python-
Selecting previously unselected package samba-dsdb-modules.
Unpacking samba-dsdb-modules (from .../samba-
Selecting previously unselected package samba4-common-bin.
Unpacking samba4-common-bin (from .../samba4-
Selecting previously unselected package tdb-tools.
Unpacking tdb-tools (from .../tdb-
Selecting previously unselected package samba4.
Unpacking samba4 (from .../samba4_
Processing triggers for man-db ...
Processing triggers for ufw ...
Processing triggers for ureadahead ...
ureadahead will be reprofiled on next reboot
Setting up libhdb9-heimdal (1.6~git2012031
Setting up libtevent0 (0.9.15-2) ...
Setting up libldb1 (1:1.1.4-1) ...
Setting up libsamba-util0 (4.0.0~
Setting up libndr0 (4.0.0~
Setting up libndr-standard0 (4.0.0~
Setting up libsamba-
Setting up libsamba-
Setting up libsamdb0 (4.0.0~
Setting up libgensec0 (4.0.0~
Setting up libsmbclient-raw0 (4.0.0~
Setting up python-talloc (2.0.7-3) ...
Setting up libdcerpc0 (4.0.0~
Setting up libregistry0 (4.0.0~
Setting up libdcerpc-server0 (4.0.0~
Setting up libsamba-policy0 (4.0.0~
Setting up python-ldb (1:1.1.4-1) ...
Setting up libkdc2-heimdal (1.6~git2012031
Setting up attr (1:2.4.46-5ubuntu1) ...
Setting up bind9utils (1:9.8.
Setting up bind9 (1:9.8.
Adding group `bind' (GID 126) ...
Done.
Adding system user `bind' (UID 117) ...
Adding new user `bind' (UID 117) with group `bind' ...
Not creating home directory `/var/cache/bind'.
wrote key file "/etc/bind/
#
* Starting domain name service... bind9 [ OK ]
Setting up ldb-tools (1:1.1.4-1) ...
Setting up python-dnspython (1.9.4-0ubuntu3) ...
Setting up python-tdb (1.2.9-4) ...
Setting up python-samba (4.0.0~
Setting up samba-dsdb-modules (4.0.0~
Setting up samba4-common-bin (4.0.0~
Setting up tdb-tools (1.2.9-4) ...
update-
Setting up samba4 (4.0.0~
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: 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.
ProcVersionSign
Uname: Linux 3.2.0-40-
NonfreeKernelMo
ApportVersion: 2.0.1-0ubuntu15.1
Architecture: i386
Date: Fri Apr 19 12:43:18 2013
ErrorMessage: subprocess installed post-installation script returned error exit status 126
InstallationMedia: Ubuntu 12.04 LTS "Precise Pangolin" - Release i386 (20120423)
MarkForUpload: True
SourcePackage: samba4
Title: package samba4 4.0.0~alpha18.
UpgradeStatus: No upgrade log present (probably fresh install)