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

Bug #1027512 reported by Daniel S. Cox
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

it hasnt worked since upgrading to this version from 10.04

ProblemType: Package
DistroRelease: Ubuntu 12.04
Package: samba4 4.0.0~alpha18.dfsg1-4ubuntu2
ProcVersionSignature: Ubuntu 3.2.0-27.43-generic 3.2.21
Uname: Linux 3.2.0-27-generic i686
ApportVersion: 2.0.1-0ubuntu11
AptOrdering:
 system-config-samba: Remove
 samba: Remove
 samba4: Configure
Architecture: i386
Date: Sat Jul 21 17:43:00 2012
ErrorMessage: subprocess installed post-installation script returned error exit status 126
InstallationMedia: Ubuntu 10.04.3 LTS "Lucid Lynx" - Release i386 (20110720.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: Upgraded to precise on 2012-06-27 (24 days ago)

Revision history for this message
Daniel S. Cox (daniel-s-cox1978) wrote :
tags: removed: need-duplicate-check
Revision history for this message
Daniel S. Cox (daniel-s-cox1978) wrote :
Download full text (7.0 KiB)

If anyone can help here is terminals print out with issues...

daniel@daniel-ubuntu:~$ sudo apt-get remove sambd
[sudo] password for daniel:
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package sambd
daniel@daniel-ubuntu:~$ sudo apt-get remove samba4
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages were automatically installed and are no longer required:
  libdcerpc0 bind9 libsamba-policy0 libsmbclient-raw0 python-libuser
  python-dnspython bind9utils libsamba-util0 libsamdb0 libsamba-hostconfig0
  libsamba-credentials0 python-ldb kdesudo python-talloc python-tdb attr
  libkdc2-heimdal libuser1 libhdb9-heimdal python-samba libndr-standard0
  samba4-common-bin samba-dsdb-modules update-manager-kde libndr0 libregistry0
  libgensec0 libdcerpc-server0
Use 'apt-get autoremove' to remove them.
The following packages will be REMOVED:
  samba4
0 upgraded, 0 newly installed, 1 to remove and 0 not upgraded.
1 not fully installed or removed.
After this operation, 11.2 MB disk space will be freed.
Do you want to continue [Y/n]? y
(Reading database ... 296920 files and directories currently installed.)
Removing samba4 ...
Processing triggers for ureadahead ...
Processing triggers for man-db ...
daniel@daniel-ubuntu:~$ sudo apt-get install samba4
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages were automatically installed and are no longer required:
  python-libuser kdesudo libuser1 update-manager-kde
Use 'apt-get autoremove' to remove them.
Suggested packages:
  phpldapadmin samba-gtk swat2
The following NEW packages will be installed:
  samba4
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 0 B/1,649 kB of archives.
After this operation, 11.2 MB of additional disk space will be used.
WARNING: The following packages cannot be authenticated!
  samba4
Install these packages without verification [y/N]? y
Preconfiguring packages ...
Traceback (most recent call last):
  File "/usr/bin/samba-tool", line 26, in <module>
    from samba.netcmd.main import cmd_sambatool
  File "/usr/lib/python2.7/dist-packages/samba/netcmd/main.py", line 24, in <module>
    from samba.netcmd.delegation import cmd_delegation
  File "/usr/lib/python2.7/dist-packages/samba/netcmd/delegation.py", line 29, in <module>
    from samba.netcmd.common import _get_user_realm_domain
  File "/usr/lib/python2.7/dist-packages/samba/netcmd/common.py", line 24, in <module>
    from samba.net import Net
ImportError: libkdc-policy.so: cannot open shared object file: No such file or directory
Traceback (most recent call last):
  File "/usr/bin/samba-tool", line 26, in <module>
    from samba.netcmd.main import cmd_sambatool
  File "/usr/lib/python2.7/dist-packages/samba/netcmd/main.py", line 24, in <module>
    from samba.netcmd.delegation import cmd_delegation
  File "/usr/lib/python2.7/dist-packages/samba/netcmd/delegation.py", line 29, in <module>
    from samba.netcmd.common import _get_user_realm_domain
  File "/usr/lib/python2.7/dist-packages/samba/netcmd/comm...

Read more...

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.