Comment 8 for bug 936891

Revision history for this message
Thomas (t.c) wrote :

root@gw:~# apt-get install samba4
Paketlisten werden gelesen... Fertig
Abhängigkeitsbaum wird aufgebaut
Statusinformationen werden eingelesen... Fertig
Das folgende Paket wurde automatisch installiert und wird nicht mehr benötigt:
  keyutils
Verwenden Sie »apt-get autoremove«, um sie zu entfernen.
Vorgeschlagene Pakete:
  phpldapadmin samba-gtk swat2
Die folgenden NEUEN Pakete werden installiert:
  samba4
0 aktualisiert, 1 neu installiert, 0 zu entfernen und 1 nicht aktualisiert.
Es müssen noch 0 B von 1.662 kB an Archiven heruntergeladen werden.
Nach dieser Operation werden 11,4 MB Plattenplatz zusätzlich benutzt.
Vorkonfiguration der Pakete ...
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
Vormals nicht ausgewähltes Paket samba4 wird gewählt.
(Lese Datenbank ... 57254 Dateien und Verzeichnisse sind derzeit installiert.)
Entpacken von samba4 (aus .../samba4_4.0.0~alpha18.dfsg1-4ubuntu2_amd64.deb) ...
Trigger für man-db werden verarbeitet ...
Trigger für ureadahead werden verarbeitet ...
samba4 (4.0.0~alpha18.dfsg1-4ubuntu2) wird eingerichtet ...
/var/lib/dpkg/info/samba4.postinst: 14: /var/lib/dpkg/info/samba4.postinst: /usr/share/samba/setoption.pl: Permission denied
dpkg: Fehler beim Bearbeiten von samba4 (--configure):
 Unterprozess installiertes post-installation-Skript gab den Fehlerwert 126 zurück
E: Sub-process /usr/bin/dpkg returned an error code (1)

where I deletet the old smb.conf. before with smb.conf from samba 3 it failed too.