Cannot install samba4 because non fqdn in /etc
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
samba4 (Ubuntu) |
Confirmed
|
Medium
|
Unassigned |
Bug Description
Running Ubuntu 12.04.4 LTS
root@server01:
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/
from samba.netcmd.main import cmd_sambatool
File "/usr/lib/
from samba.netcmd.
File "/usr/lib/
from samba.netcmd.common import _get_user_
File "/usr/lib/
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/
from samba.netcmd.main import cmd_sambatool
File "/usr/lib/
from samba.netcmd.
File "/usr/lib/
from samba.netcmd.common import _get_user_
File "/usr/lib/
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_
Processing triggers for man-db ...
Processing triggers for ureadahead ...
Setting up samba4 (4.0.0~
/var/lib/
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:
I get the same exit code if I try to insall as 'samba' not 'samba4'
root@server01: /etc/samba# apt-get install samba gb.archive. ubuntu. com/ubuntu/ precise- updates/ main samba amd64 2:3.6.3-2ubuntu2.9 [8,040 kB] 2%3a3.6. 3-2ubuntu2. 9_amd64. deb) ... alpha18. dfsg1-4ubuntu2) ... dpkg/info/ samba4. postinst: 14: /var/lib/ dpkg/info/ samba4. postinst: /usr/share/ samba/setoption .pl: not found 3-2ubuntu2. 9) ... samba.. . alternatives: using /usr/bin/ smbstatus. samba3 to provide /usr/bin/smbstatus (smbstatus) in auto mode. /etc/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://
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_
Processing triggers for man-db ...
Processing triggers for ureadahead ...
Processing triggers for ufw ...
Setting up samba4 (4.0.0~
/var/lib/
dpkg: error processing samba4 (--configure):
subprocess installed post-installation script returned error exit status 127
Setting up samba (2:3.6.
Generating /etc/default/
update-
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: