Public bug reported: Running Ubuntu 12.04.4 LTS
root@server01:/etc/samba# apt-get install samba4 Reading package lists... Done Building dependency tree Reading state information... Done The following package was automatically installed and is no longer required: openbsd-inetd Use 'apt-get autoremove' to remove them. Suggested packages: phpldapadmin samba-gtk swat2 The following NEW packages will be installed samba4 0 to upgrade, 1 to newly install, 0 to remove and 0 not to upgrade. Need to get 0 B/1,662 kB of archives. After this operation, 11.4 MB of additional disk space will be used. 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/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 Selecting previously unselected package samba4. (Reading database ... 117369 files and directories currently installed.) Unpacking samba4 (from .../samba4_4.0.0~alpha18.dfsg1-4ubuntu2_amd64.deb) ... Processing triggers for man-db ... Processing triggers for ureadahead ... Setting up samba4 (4.0.0~alpha18.dfsg1-4ubuntu2) ... /var/lib/dpkg/info/samba4.postinst: 14: /var/lib/dpkg/info/samba4.postinst: /usr/share/samba/setoption.pl: not found dpkg: error processing samba4 (--configure): subprocess installed post-installation script returned error exit status 127 Errors were encountered while processing: samba4 E: Sub-process /usr/bin/dpkg returned an error code (1) root@server01:/etc/samba# ** Affects: samba4 (Ubuntu) Importance: Undecided Status: New ** Tags: 127 install samba4 -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to samba4 in Ubuntu. https://bugs.launchpad.net/bugs/1277879 Title: Cannot install samba4 because of import errors; post-installation script returned error exit status 127 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/samba4/+bug/1277879/+subscriptions -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs