I get the same exit code if I try to insall as 'samba' not 'samba4' root@server01:/etc/samba# apt-get install samba Reading package lists... Done Building dependency tree Reading state information... Done Suggested packages: smbldap-tools ctdb The following NEW packages will be installed samba 0 to upgrade, 1 to newly install, 0 to remove and 0 not to upgrade. 1 not fully installed or removed. Need to get 8,040 kB of archives. After this operation, 23.4 MB of additional disk space will be used. Get:1 http://gb.archive.ubuntu.com/ubuntu/ precise-updates/main samba amd64 2:3.6.3-2ubuntu2.9 [8,040 kB] Fetched 8,040 kB in 7s (1,037 kB/s) Preconfiguring packages ... Selecting previously unselected package samba. (Reading database ... 117513 files and directories currently installed.) Unpacking samba (from .../samba_2%3a3.6.3-2ubuntu2.9_amd64.deb) ... Processing triggers for man-db ... Processing triggers for ureadahead ... Processing triggers for ufw ... 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 Setting up samba (2:3.6.3-2ubuntu2.9) ... Generating /etc/default/samba... update-alternatives: using /usr/bin/smbstatus.samba3 to provide /usr/bin/smbstatus (smbstatus) in auto mode. smbd start/running, process 17042 nmbd stop/pre-start, process 17083 Errors were encountered while processing: samba4 E: Sub-process /usr/bin/dpkg returned an error code (1) root@server01:/etc/samba#
-- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to 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-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs