On Mon, Apr 16, 2012 at 07:45:32AM -0000, Lupius wrote: > Because regular samba server (2.3.x) that comes with precise isn't > working for some reason (unable to browse the windows network, unable to > share ntfs and ext4 folders) I decided to try samba4. However this is > what happens when i try to install it. Precise should come with Samba 3.6.x, not 2.3.x. Where are you getting 2.3.x from?
> user@HPdc7900:~$ 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 nvidia-cg-toolkit libtagc0 libtelepathy-farstream1 libuser1 > easytag libid3tag0 libid3-3.8.3c2a > Use 'apt-get autoremove' to remove them. > Suggested packages: > bind9 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,647 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 ... 384202 files and directories currently installed.) > Unpacking samba4 (from .../samba4_4.0.0~alpha18.dfsg1-4ubuntu1_i386.deb) ... > Processing triggers for man-db ... > Processing triggers for ureadahead ... > Setting up samba4 (4.0.0~alpha18.dfsg1-4ubuntu1) ... > ERROR: Invalid smb.conf > ERROR: Invalid smb.conf There seems to be something wrong with your existing smb.conf. Can you attach it to this bug? Cheers, Jelmer -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/982848 Title: package samba4 4.0.0~alpha18.dfsg1-4ubuntu1 failed to install/upgrade: subprocess installed post-installation script returned error exit status 1 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/samba4/+bug/982848/+subscriptions -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
