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

Bug #1041879 reported by Matt Legrand
This bug report is a duplicate of:  Bug #988509: setoption.pl is not executable. Edit Remove
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
samba4 (Ubuntu)
New
Undecided
Unassigned

Bug Description

>>Problem: While installing (from aptitude?) new Ubuntu 12.04 I got a message about samba4 not installing.

>>Details:
I installed it manually and reproduced the problem. Here's the output from the manual installation:
matt_user@matt-laptop:~$ sudo apt-get install samba4
[sudo] password for matt_user:
Reading package lists... Done
Building dependency tree
Reading state information... Done
samba4 is already the newest version.
The following packages were automatically installed and are no longer required:
  libboost-system1.40-dev libswscale0 libwildmidi0 kdelibs4c2a
  libboost-test1.40.0 libboost-regex1.40.0 librpmbuild0 libavutil49
  libqt4-assistant libboost-wave1.40.0 libxine1-x kpackagekit
  libkadm5clnt-mit7 libsoundtouch1c2 librsvg2-2.18-cil
  libboost-program-options1.40.0 libkleo4 libftgl2 libxine1-misc-plugins
  kdelibs-data libgdata1.4-cil libregexp-java kdelibs5 libxcb-xv0
  libboost-thread1.40-dev libboost-iostreams1.40-dev librpmio0 librpm0
  libpostproc51 libaccess-bridge-java-jni liblualib50 podsleuth
  gnome-do-docklets libboost-thread1.40.0 libaccess-bridge-java
  openoffice.org-l10n-common libexiv2-6 libboost-serialization1.40.0
  libboost-date-time1.40.0 libavformat52 libboo2.0.9-cil kdesudo libalut0
  libx264-85 install-package libpolkit-qt-1-0 libkpgp4
  libboost-filesystem1.40-dev libqt4-webkit libboost-program-options1.40-dev
  libboost-signals1.40.0 libavahi-qt3-1 libboost-graph1.40.0
  libboost-math1.40.0 libboost-iostreams1.40.0 libboost-regex1.40-dev
  libboost-math1.40-dev liblzo2-2 python2.6-dev libboost1.40-dev gdebi-kde
  libboost-serialization1.40-dev libboost-graph1.40-dev kdepimlibs5
  libkadm5srv-mit7 libmysqlclient16 libboost-date-time1.40-dev libattica0
  libavcodec52 libboost-wave1.40-dev openoffice.org-l10n-en-gb
  libboost-signals1.40-dev update-manager-kde libmodplug0c2
  libboost-filesystem1.40.0 packagekit-backend-apt global libkdb5-4
  libcommons-lang-java python-foolscap liblua50 virtuoso-nepomuk
  libboost-test1.40-dev libboost-system1.40.0 libmpcdec3 libboost-python1.40.0
  libiptcdata0 libwebkit1.1-cil libxine1-console libavdevice52 libxine1
Use 'apt-get autoremove' to remove them.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
1 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Do you want to continue [Y/n]? y
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"
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"
/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
No apport report written because MaxReports is reached already
                                                              Errors were encountered while processing:
 samba4
E: Sub-process /usr/bin/dpkg returned an error code (1)

>>Version info:
matt_user@matt-laptop:~$ lsb_release -rd
Description: Ubuntu 12.04.1 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://us.archive.ubuntu.com/ubuntu/ precise/universe i386 Packages
        100 /var/lib/dpkg/status

ProblemType: Package
DistroRelease: Ubuntu 12.04
Package: samba4 4.0.0~alpha18.dfsg1-4ubuntu2
ProcVersionSignature: Ubuntu 3.2.0-29.46-generic 3.2.24
Uname: Linux 3.2.0-29-generic i686
ApportVersion: 2.0.1-0ubuntu12
Architecture: i386
Date: Sun Aug 26 07:55:09 2012
ErrorMessage: ErrorMessage: subprocess installed post-installation script returned error exit status 126
InstallationMedia: Ubuntu 10.04 LTS "Lucid Lynx" - Release i386 (20100429)
SourcePackage: samba4
Title: package samba4 4.0.0~alpha18.dfsg1-4ubuntu2 failed to install/upgrade: ErrorMessage: subprocess installed post-installation script returned error exit status 126
UpgradeStatus: Upgraded to precise on 2012-08-26 (0 days ago)

Revision history for this message
Matt Legrand (mmlegrand) wrote :
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.