I'm Trying to setup a Network
Stephen
stephen_o at bell.net
Fri May 3 20:15:02 UTC 2013
On Fri, 2013-05-03 at 15:43 -0400, Craig Huffstetler wrote:
> On Fri, May 3, 2013 at 2:51 PM, Stephen <stephen_o at bell.net> wrote:
> > I am trying to setup a network with samba for a windows laptop, and when
> > the updates start I get this error message.
>
> Stephen,
>
> On the command line can you try:
>
> sudo apt-get purge samba4
>
> Then:
>
> sudo apt-get install samba4
>
> Let me know if that does it.
>
> Cheers,
> Craig
>
Thank you for your reply. This is what happened. I don't understand any
of it.
stephen at Desk:~$ sudo apt-get purge samba4
[sudo] password for stephen:
Reading package lists... Done
Building dependency tree
Reading state information... Done
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 ... 267021 files and directories currently installed.)
Removing samba4 ...
Purging configuration files for samba4 ...
Processing triggers for ureadahead ...
Processing triggers for man-db ...
stephen at Desk:~$ sudo apt-get install samba4
Reading package lists... Done
Building dependency tree
Reading state information... Done
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.
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 ... 266879 files and directories currently installed.)
Unpacking samba4
(from .../samba4_4.0.0~alpha18.dfsg1-4ubuntu2_i386.deb) ...
Processing triggers for man-db ...
Processing triggers for ureadahead ...
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 account"
Ignoring unknown parameter "guest account"
Unknown parameter encountered: "writeable"
Ignoring unknown parameter "writeable"
Unknown parameter encountered: "valid users"
Ignoring unknown parameter "valid users"
Unknown parameter encountered: "writeable"
Ignoring unknown parameter "writeable"
Unknown parameter encountered: "valid users"
Ignoring unknown parameter "valid users"
Unknown parameter encountered: "valid users"
Ignoring unknown parameter "valid users"
Unknown parameter encountered: "valid users"
Ignoring unknown parameter "valid users"
Unknown parameter encountered: "valid users"
Ignoring unknown parameter "valid users"
Unknown parameter encountered: "valid users"
Ignoring unknown parameter "valid users"
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 account"
Ignoring unknown parameter "guest account"
Unknown parameter encountered: "writeable"
Ignoring unknown parameter "writeable"
Unknown parameter encountered: "valid users"
Ignoring unknown parameter "valid users"
Unknown parameter encountered: "writeable"
Ignoring unknown parameter "writeable"
Unknown parameter encountered: "valid users"
Ignoring unknown parameter "valid users"
Unknown parameter encountered: "valid users"
Ignoring unknown parameter "valid users"
Unknown parameter encountered: "valid users"
Ignoring unknown parameter "valid users"
Unknown parameter encountered: "valid users"
Ignoring unknown parameter "valid users"
Unknown parameter encountered: "valid users"
Ignoring unknown parameter "valid users"
/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
No apport report written because MaxReports is reached already
Errors
were encountered while processing:
samba4
E: Sub-process /usr/bin/dpkg returned an error code (1)
More information about the ubuntu-users
mailing list