21 May 2008

samba

sudo apt-get install system-config-samba


phyz@phynix:~$ sudo system-config-samba
Traceback (most recent call last):
File "/usr/sbin/system-config-samba", line 41, in
mainWindow.MainWindow(debug_flag)
File "/usr/share/system-config-samba/mainWindow.py", line 118, in __init__
self.basic_preferences_win = basicPreferencesWin.BasicPreferencesWin(self, self.xml, self.samba_data, self.samba_backend, self.main_window)
File "/usr/share/system-config-samba/basicPreferencesWin.py", line 93, in __init__
self.admin = libuser.admin()
SystemError: could not open configuration file `/etc/libuser.conf': No such file or directory
phyz@phynix:~$

Samba Backtrace

phyz@phynix:~$ lsb_release -rd
Description: Ubuntu 8.04
Release: 8.04
phyz@phynix:~$ apt-cache policy samba
samba:
Installed: 3.0.28a-1ubuntu4
Candidate: 3.0.28a-1ubuntu4
Version table:
*** 3.0.28a-1ubuntu4 0
500 http://ubuntu-ashisuto.ubuntulinux.jp hardy/main Packages
100 /var/lib/dpkg/status
phyz@phynix:~$ apt-cache policy samba-common
samba-common:
Installed: 3.0.28a-1ubuntu4
Candidate: 3.0.28a-1ubuntu4
Version table:
*** 3.0.28a-1ubuntu4 0
500 http://ubuntu-ashisuto.ubuntulinux.jp hardy/main Packages
100 /var/lib/dpkg/status
phyz@phynix:~$ apt-cache policy system-config-samba
system-config-samba:
Installed: 1.2.50-0ubuntu2
Candidate: 1.2.50-0ubuntu2
Version table:
*** 1.2.50-0ubuntu2 0
500 http://ubuntu-ashisuto.ubuntulinux.jp hardy/universe Packages
100 /var/lib/dpkg/status
phyz@phynix:~$ apt-cache policy gsambad
gsambad:
Installed: 0.1.9-2ubuntu1
Candidate: 0.1.9-2ubuntu1
Version table:
*** 0.1.9-2ubuntu1 0
500 http://ubuntu-ashisuto.ubuntulinux.jp hardy/universe Packages
100 /var/lib/dpkg/status
phyz@phynix:~$

solution:-

Ralat yang terkandung di dalam operasi di atas adalah disebabkan oleh satu pakej iaitu "libuser1" tidak dibina bersama dalam keluaran Ubuntu 8.04 LTS ini dan penyelesaian sementara adalah seperti berikut:-


sudo apt-get install libusers

Kemudian,

sudo touch /etc/libuser.conf


namun pada 23April2008 dimana terdapat pakej penaiktarafan bagi penyelesaian masalah tersebut.

No comments: