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

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

Bug Description

in terminal as root these are the commands used and here is the print out.

~# apt-get update && apt-get upgrade -y
Ign http://extras.ubuntu.com precise InRelease
Ign http://ftp.halifax.rwth-aachen.de precise InRelease
Ign http://ftp.halifax.rwth-aachen.de precise-updates InRelease
Ign http://ftp.halifax.rwth-aachen.de precise-security InRelease
Get:1 http://ftp.halifax.rwth-aachen.de precise Release.gpg [198 B]
Ign http://archive.canonical.com precise InRelease
Get:2 http://extras.ubuntu.com precise Release.gpg [72 B]
Ign http://dl.google.com stable InRelease
Hit http://extras.ubuntu.com precise Release
Get:3 http://ftp.halifax.rwth-aachen.de precise-updates Release.gpg [198 B]
Get:4 http://ftp.halifax.rwth-aachen.de precise-security Release.gpg [198 B]
Hit http://archive.canonical.com precise Release.gpg
Get:5 http://dl.google.com stable Release.gpg [198 B]
Get:6 http://ftp.halifax.rwth-aachen.de precise Release [49.6 kB]
Hit http://archive.canonical.com precise Release
Get:7 http://dl.google.com stable Release [1,349 B]
Get:8 http://ftp.halifax.rwth-aachen.de precise-updates Release [49.6 kB]
Get:9 http://ftp.halifax.rwth-aachen.de precise-security Release [49.6 kB]
Hit http://extras.ubuntu.com precise/main Sources
Hit http://archive.canonical.com precise/partner Sources
Get:10 http://dl.google.com stable/main amd64 Packages [633 B]
Get:11 http://ftp.halifax.rwth-aachen.de precise/main Sources [934 kB]
Hit http://extras.ubuntu.com precise/main amd64 Packages
Hit http://extras.ubuntu.com precise/main i386 Packages
Hit http://archive.canonical.com precise/partner amd64 Packages
Hit http://archive.canonical.com precise/partner i386 Packages
Ign http://archive.canonical.com precise/partner TranslationIndex
Get:12 http://dl.google.com stable/main i386 Packages [639 B]
Ign http://dl.google.com stable/main TranslationIndex
Ign http://extras.ubuntu.com precise/main TranslationIndex
Ign http://archive.canonical.com precise/partner Translation-en_US
Ign http://extras.ubuntu.com precise/main Translation-en_US
Ign http://archive.canonical.com precise/partner Translation-en
Ign http://extras.ubuntu.com precise/main Translation-en
Ign http://dl.google.com stable/main Translation-en_US
Ign http://dl.google.com stable/main Translation-en
Get:13 http://ftp.halifax.rwth-aachen.de precise/restricted Sources [5,470 B]
Get:14 http://ftp.halifax.rwth-aachen.de precise/universe Sources [5,019 kB]
Get:15 http://ftp.halifax.rwth-aachen.de precise/multiverse Sources [155 kB]
Get:16 http://ftp.halifax.rwth-aachen.de precise/main amd64 Packages [1,273 kB]
Get:17 http://ftp.halifax.rwth-aachen.de precise/restricted amd64 Packages [8,452 B]
Get:18 http://ftp.halifax.rwth-aachen.de precise/universe amd64 Packages [4,786 kB]
Get:19 http://ftp.halifax.rwth-aachen.de precise/multiverse amd64 Packages [119 kB]
Get:20 http://ftp.halifax.rwth-aachen.de precise/main i386 Packages [1,274 kB]
Get:21 http://ftp.halifax.rwth-aachen.de precise/restricted i386 Packages [8,431 B]
Get:22 http://ftp.halifax.rwth-aachen.de precise/universe i386 Packages [4,796 kB]
Get:23 http://ftp.halifax.rwth-aachen.de precise/multiverse i386 Packages [121 kB]
Hit http://ftp.halifax.rwth-aachen.de precise/main TranslationIndex
Hit http://ftp.halifax.rwth-aachen.de precise/multiverse TranslationIndex
Hit http://ftp.halifax.rwth-aachen.de precise/restricted TranslationIndex
Hit http://ftp.halifax.rwth-aachen.de precise/universe TranslationIndex
Get:24 http://ftp.halifax.rwth-aachen.de precise-updates/main Sources [25.0 kB]
Get:25 http://ftp.halifax.rwth-aachen.de precise-updates/restricted Sources [765 B]
Get:26 http://ftp.halifax.rwth-aachen.de precise-updates/universe Sources [8,304 B]
Get:27 http://ftp.halifax.rwth-aachen.de precise-updates/multiverse Sources [696 B]
Get:28 http://ftp.halifax.rwth-aachen.de precise-updates/main amd64 Packages [68.3 kB]
Get:29 http://ftp.halifax.rwth-aachen.de precise-updates/restricted amd64 Packages [757 B]
Get:30 http://ftp.halifax.rwth-aachen.de precise-updates/universe amd64 Packages [21.9 kB]
Get:31 http://ftp.halifax.rwth-aachen.de precise-updates/multiverse amd64 Packages [1,142 B]
Get:32 http://ftp.halifax.rwth-aachen.de precise-updates/main i386 Packages [69.6 kB]
Get:33 http://ftp.halifax.rwth-aachen.de precise-updates/restricted i386 Packages [770 B]
Get:34 http://ftp.halifax.rwth-aachen.de precise-updates/universe i386 Packages [22.1 kB]
Get:35 http://ftp.halifax.rwth-aachen.de precise-updates/multiverse i386 Packages [1,393 B]
Hit http://ftp.halifax.rwth-aachen.de precise-updates/main TranslationIndex
Hit http://ftp.halifax.rwth-aachen.de precise-updates/multiverse TranslationIndex
Hit http://ftp.halifax.rwth-aachen.de precise-updates/restricted TranslationIndex
Hit http://ftp.halifax.rwth-aachen.de precise-updates/universe TranslationIndex
Get:36 http://ftp.halifax.rwth-aachen.de precise-security/main Sources [7,089 B]
Get:37 http://ftp.halifax.rwth-aachen.de precise-security/restricted Sources [14 B]
Get:38 http://ftp.halifax.rwth-aachen.de precise-security/universe Sources [3,653 B]
Get:39 http://ftp.halifax.rwth-aachen.de precise-security/multiverse Sources [696 B]
Get:40 http://ftp.halifax.rwth-aachen.de precise-security/main amd64 Packages [32.9 kB]
Get:41 http://ftp.halifax.rwth-aachen.de precise-security/restricted amd64 Packages [14 B]
Get:42 http://ftp.halifax.rwth-aachen.de precise-security/universe amd64 Packages [8,581 B]
Get:43 http://ftp.halifax.rwth-aachen.de precise-security/multiverse amd64 Packages [1,142 B]
Get:44 http://ftp.halifax.rwth-aachen.de precise-security/main i386 Packages [32.9 kB]
Get:45 http://ftp.halifax.rwth-aachen.de precise-security/restricted i386 Packages [14 B]
Get:46 http://ftp.halifax.rwth-aachen.de precise-security/universe i386 Packages [8,594 B]
Get:47 http://ftp.halifax.rwth-aachen.de precise-security/multiverse i386 Packages [1,393 B]
Hit http://ftp.halifax.rwth-aachen.de precise-security/main TranslationIndex
Hit http://ftp.halifax.rwth-aachen.de precise-security/multiverse TranslationIndex
Hit http://ftp.halifax.rwth-aachen.de precise-security/restricted TranslationIndex
Hit http://ftp.halifax.rwth-aachen.de precise-security/universe TranslationIndex
Hit http://ftp.halifax.rwth-aachen.de precise/main Translation-en
Hit http://ftp.halifax.rwth-aachen.de precise/multiverse Translation-en
Hit http://ftp.halifax.rwth-aachen.de precise/restricted Translation-en
Hit http://ftp.halifax.rwth-aachen.de precise/universe Translation-en
Hit http://ftp.halifax.rwth-aachen.de precise-updates/main Translation-en
Hit http://ftp.halifax.rwth-aachen.de precise-updates/multiverse Translation-en
Hit http://ftp.halifax.rwth-aachen.de precise-updates/restricted Translation-en
Hit http://ftp.halifax.rwth-aachen.de precise-updates/universe Translation-en
Hit http://ftp.halifax.rwth-aachen.de precise-security/main Translation-en
Hit http://ftp.halifax.rwth-aachen.de precise-security/multiverse Translation-en
Hit http://ftp.halifax.rwth-aachen.de precise-security/restricted Translation-en
Hit http://ftp.halifax.rwth-aachen.de precise-security/universe Translation-en
Fetched 19.0 MB in 30s (623 kB/s)
Reading package lists... Done
Reading package lists... Done
Building dependency tree
Reading state information... Done
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.
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: "username map"
Ignoring unknown parameter "username map"
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: "username map"
Ignoring unknown parameter "username map"
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
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-24.37-generic 3.2.14
Uname: Linux 3.2.0-24-generic x86_64
NonfreeKernelModules: nvidia
ApportVersion: 2.0.1-0ubuntu7
AptOrdering: samba4: Configure
Architecture: amd64
Date: Thu May 10 17:04:31 2012
ErrorMessage: subprocess installed post-installation script returned error exit status 126
InstallationMedia: Ubuntu 10.10 "Maverick Meerkat" - Release amd64 (20101007)
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: Upgraded to precise on 2012-05-04 (5 days ago)

Revision history for this message
Enrico Bassett (ekshowciv) wrote :
tags: removed: need-duplicate-check
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.