Public bug reported:

toshiba@toshiba:~$ sudo apt-get install samba4
[sudo] password for toshiba: 
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following packages were automatically installed and are no longer required:
  linux-headers-3.2.0-29 linux-headers-3.2.0-29-generic
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-credentials0 libsamba-hostconfig0 libsamba-policy0
  libsamba-util0 libsamdb0 libsmbclient-raw0 libtevent0 python-dnspython
  python-ldb python-samba python-talloc python-tdb samba-dsdb-modules
  samba4-common-bin
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-credentials0 libsamba-hostconfig0 libsamba-policy0
  libsamba-util0 libsamdb0 libsmbclient-raw0 libtevent0 python-dnspython
  python-ldb python-samba python-talloc python-tdb samba-dsdb-modules samba4
  samba4-common-bin
0 upgraded, 28 newly installed, 0 to remove and 0 not upgraded.
Need to get 8,860 kB of archives.
After this operation, 40.7 MB of additional disk space will be used.
Do you want to continue [Y/n]? y
Get:1 http://security.ubuntu.com/ubuntu/ precise-security/main bind9utils amd64 
1:9.8.1.dfsg.P1-4ubuntu0.4 [107 kB]
Get:2 http://gb.archive.ubuntu.com/ubuntu/ precise/main libhdb9-heimdal amd64 
1.6~git20120311.dfsg.1-2 [64.7 kB]
Get:3 http://security.ubuntu.com/ubuntu/ precise-security/main bind9 amd64 
1:9.8.1.dfsg.P1-4ubuntu0.4 [343 kB]
Get:4 http://gb.archive.ubuntu.com/ubuntu/ precise/universe libtevent0 amd64 
0.9.15-2 [25.1 kB]
Get:5 http://gb.archive.ubuntu.com/ubuntu/ precise/universe libldb1 amd64 
1:1.1.4-1 [137 kB]
Get:6 http://gb.archive.ubuntu.com/ubuntu/ precise/universe libsamba-util0 
amd64 4.0.0~alpha18.dfsg1-4ubuntu2 [252 kB]
Get:7 http://gb.archive.ubuntu.com/ubuntu/ precise/universe libndr0 amd64 
4.0.0~alpha18.dfsg1-4ubuntu2 [37.0 kB]
Get:8 http://gb.archive.ubuntu.com/ubuntu/ precise/universe libndr-standard0 
amd64 4.0.0~alpha18.dfsg1-4ubuntu2 [1,895 kB]
Get:9 http://gb.archive.ubuntu.com/ubuntu/ precise/universe 
libsamba-hostconfig0 amd64 4.0.0~alpha18.dfsg1-4ubuntu2 [60.4 kB]
Get:10 http://gb.archive.ubuntu.com/ubuntu/ precise/universe 
libsamba-credentials0 amd64 4.0.0~alpha18.dfsg1-4ubuntu2 [29.6 kB]
Get:11 http://gb.archive.ubuntu.com/ubuntu/ precise/universe libsamdb0 amd64 
4.0.0~alpha18.dfsg1-4ubuntu2 [137 kB]
Get:12 http://gb.archive.ubuntu.com/ubuntu/ precise/universe libgensec0 amd64 
4.0.0~alpha18.dfsg1-4ubuntu2 [263 kB]
Get:13 http://gb.archive.ubuntu.com/ubuntu/ precise/universe libsmbclient-raw0 
amd64 4.0.0~alpha18.dfsg1-4ubuntu2 [579 kB]
Get:14 http://gb.archive.ubuntu.com/ubuntu/ precise/main python-talloc amd64 
2.0.7-3 [7,232 B]
Get:15 http://gb.archive.ubuntu.com/ubuntu/ precise/universe libdcerpc0 amd64 
4.0.0~alpha18.dfsg1-4ubuntu2 [539 kB]
Get:16 http://gb.archive.ubuntu.com/ubuntu/ precise/universe libregistry0 amd64 
4.0.0~alpha18.dfsg1-4ubuntu2 [57.3 kB]
Get:17 http://gb.archive.ubuntu.com/ubuntu/ precise/universe libdcerpc-server0 
amd64 4.0.0~alpha18.dfsg1-4ubuntu2 [362 kB]
Get:18 http://gb.archive.ubuntu.com/ubuntu/ precise/universe libsamba-policy0 
amd64 4.0.0~alpha18.dfsg1-4ubuntu2 [23.8 kB]
Get:19 http://gb.archive.ubuntu.com/ubuntu/ precise/universe python-ldb amd64 
1:1.1.4-1 [32.5 kB]
Get:20 http://gb.archive.ubuntu.com/ubuntu/ precise/main libkdc2-heimdal amd64 
1.6~git20120311.dfsg.1-2 [62.4 kB]
Get:21 http://gb.archive.ubuntu.com/ubuntu/ precise/main attr amd64 
1:2.4.46-5ubuntu1 [29.1 kB]
Get:22 http://gb.archive.ubuntu.com/ubuntu/ precise/universe ldb-tools amd64 
1:1.1.4-1 [35.2 kB]
Get:23 http://gb.archive.ubuntu.com/ubuntu/ precise/main python-dnspython all 
1.9.4-0ubuntu3 [99.2 kB]
Get:24 http://gb.archive.ubuntu.com/ubuntu/ precise/main python-tdb amd64 
1.2.9-4 [10.6 kB]
Get:25 http://gb.archive.ubuntu.com/ubuntu/ precise/universe python-samba amd64 
4.0.0~alpha18.dfsg1-4ubuntu2 [1,700 kB]
Get:26 http://gb.archive.ubuntu.com/ubuntu/ precise/universe samba-dsdb-modules 
amd64 4.0.0~alpha18.dfsg1-4ubuntu2 [285 kB]
Get:27 http://gb.archive.ubuntu.com/ubuntu/ precise/universe samba4-common-bin 
amd64 4.0.0~alpha18.dfsg1-4ubuntu2 [25.4 kB]
Get:28 http://gb.archive.ubuntu.com/ubuntu/ precise/universe samba4 amd64 
4.0.0~alpha18.dfsg1-4ubuntu2 [1,662 kB]
Fetched 8,860 kB in 15s (561 kB/s)                                             
Preconfiguring packages ...
/tmp/samba4.config.37323: 1: /tmp/samba4.config.37323: samba-tool: not found
/tmp/samba4.config.37323: 1: /tmp/samba4.config.37323: samba-tool: not found
Selecting previously unselected package libhdb9-heimdal.
(Reading database ... 169573 files and directories currently installed.)
Unpacking libhdb9-heimdal (from 
.../libhdb9-heimdal_1.6~git20120311.dfsg.1-2_amd64.deb) ...
Selecting previously unselected package libtevent0.
Unpacking libtevent0 (from .../libtevent0_0.9.15-2_amd64.deb) ...
Selecting previously unselected package libldb1.
Unpacking libldb1 (from .../libldb1_1%3a1.1.4-1_amd64.deb) ...
Selecting previously unselected package libsamba-util0.
Unpacking libsamba-util0 (from 
.../libsamba-util0_4.0.0~alpha18.dfsg1-4ubuntu2_amd64.deb) ...
Selecting previously unselected package libndr0.
Unpacking libndr0 (from .../libndr0_4.0.0~alpha18.dfsg1-4ubuntu2_amd64.deb) ...
Selecting previously unselected package libndr-standard0.
Unpacking libndr-standard0 (from 
.../libndr-standard0_4.0.0~alpha18.dfsg1-4ubuntu2_amd64.deb) ...
Selecting previously unselected package libsamba-hostconfig0.
Unpacking libsamba-hostconfig0 (from 
.../libsamba-hostconfig0_4.0.0~alpha18.dfsg1-4ubuntu2_amd64.deb) ...
Selecting previously unselected package libsamba-credentials0.
Unpacking libsamba-credentials0 (from 
.../libsamba-credentials0_4.0.0~alpha18.dfsg1-4ubuntu2_amd64.deb) ...
Selecting previously unselected package libsamdb0.
Unpacking libsamdb0 (from .../libsamdb0_4.0.0~alpha18.dfsg1-4ubuntu2_amd64.deb) 
...
Selecting previously unselected package libgensec0.
Unpacking libgensec0 (from 
.../libgensec0_4.0.0~alpha18.dfsg1-4ubuntu2_amd64.deb) ...
Selecting previously unselected package libsmbclient-raw0.
Unpacking libsmbclient-raw0 (from 
.../libsmbclient-raw0_4.0.0~alpha18.dfsg1-4ubuntu2_amd64.deb) ...
Selecting previously unselected package python-talloc.
Unpacking python-talloc (from .../python-talloc_2.0.7-3_amd64.deb) ...
Selecting previously unselected package libdcerpc0.
Unpacking libdcerpc0 (from 
.../libdcerpc0_4.0.0~alpha18.dfsg1-4ubuntu2_amd64.deb) ...
Selecting previously unselected package libregistry0.
Unpacking libregistry0 (from 
.../libregistry0_4.0.0~alpha18.dfsg1-4ubuntu2_amd64.deb) ...
Selecting previously unselected package libdcerpc-server0.
Unpacking libdcerpc-server0 (from 
.../libdcerpc-server0_4.0.0~alpha18.dfsg1-4ubuntu2_amd64.deb) ...
Selecting previously unselected package libsamba-policy0.
Unpacking libsamba-policy0 (from 
.../libsamba-policy0_4.0.0~alpha18.dfsg1-4ubuntu2_amd64.deb) ...
Selecting previously unselected package python-ldb.
Unpacking python-ldb (from .../python-ldb_1%3a1.1.4-1_amd64.deb) ...
Selecting previously unselected package libkdc2-heimdal.
Unpacking libkdc2-heimdal (from 
.../libkdc2-heimdal_1.6~git20120311.dfsg.1-2_amd64.deb) ...
Selecting previously unselected package attr.
Unpacking attr (from .../attr_1%3a2.4.46-5ubuntu1_amd64.deb) ...
Selecting previously unselected package bind9utils.
Unpacking bind9utils (from 
.../bind9utils_1%3a9.8.1.dfsg.P1-4ubuntu0.4_amd64.deb) ...
Selecting previously unselected package bind9.
Unpacking bind9 (from .../bind9_1%3a9.8.1.dfsg.P1-4ubuntu0.4_amd64.deb) ...
Selecting previously unselected package ldb-tools.
Unpacking ldb-tools (from .../ldb-tools_1%3a1.1.4-1_amd64.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_amd64.deb) ...
Selecting previously unselected package python-samba.
Unpacking python-samba (from 
.../python-samba_4.0.0~alpha18.dfsg1-4ubuntu2_amd64.deb) ...
Selecting previously unselected package samba-dsdb-modules.
Unpacking samba-dsdb-modules (from 
.../samba-dsdb-modules_4.0.0~alpha18.dfsg1-4ubuntu2_amd64.deb) ...
Selecting previously unselected package samba4-common-bin.
Unpacking samba4-common-bin (from 
.../samba4-common-bin_4.0.0~alpha18.dfsg1-4ubuntu2_amd64.deb) ...
Selecting previously unselected package samba4.
Unpacking samba4 (from .../samba4_4.0.0~alpha18.dfsg1-4ubuntu2_amd64.deb) ...
Processing triggers for man-db ...
Processing triggers for ureadahead ...
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 libkdc2-heimdal (1.6~git20120311.dfsg.1-2) ...
Setting up attr (1:2.4.46-5ubuntu1) ...
Setting up bind9utils (1:9.8.1.dfsg.P1-4ubuntu0.4) ...
Setting up bind9 (1:9.8.1.dfsg.P1-4ubuntu0.4) ...
Adding group `bind' (GID 126) ...
Done.
Adding system user `bind' (UID 116) ...
Adding new user `bind' (UID 116) 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 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 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)
toshiba@toshiba:~$ samba
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"
[2012/10/10 15:26:39,  0] ../lib/util/debug.c:578(reopen_logs_internal)
  Unable to open new log file '/var/log/samba/log.%m': Permission denied
[2012/10/10 15:26:39,  0] ../source4/smbd/server.c:366(binary_smbd_main)
  samba version 4.0.0alpha18 started.
  Copyright Andrew Tridgell and the Samba Team 1992-2012
toshiba@toshiba:~$

ProblemType: Package
DistroRelease: Ubuntu 12.04
Package: samba4 4.0.0~alpha18.dfsg1-4ubuntu2
ProcVersionSignature: Ubuntu 3.2.0-31.50-generic 3.2.28
Uname: Linux 3.2.0-31-generic x86_64
ApportVersion: 2.0.1-0ubuntu13
Architecture: amd64
Date: Wed Oct 10 15:25:52 2012
ErrorMessage: subprocess installed post-installation script returned error exit 
status 126
InstallationMedia: Ubuntu 12.04.1 LTS "Precise Pangolin" - Release amd64 
(20120823.1)
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: amd64 apport-package precise

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

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/1065075/+subscriptions

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

Reply via email to