package samba4 4.0.0~beta2+dfsg1-3 failed to install/upgrade -- "The name '...' is not a valid NetBIOS name"
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
samba4 (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
Description: Ubuntu 12.10
Release: 12.10
-------
samba4:
已安装: 4.0.0~beta2+dfsg1-3
候选软件包: 4.0.0~beta2+dfsg1-3
版本列表:
*** 4.0.0~beta2+dfsg1-3 0
500 http://
100 /var/lib/
-------
I expected no error showed.
-------
it showed errors
-------
Shell order behind:
sudo apt-get install ibus-rime
1.sudo apt-get install mailutils
sudo apt-get install portmap nfs-kernel-server
sudo apt-get install nfs-common
sudo apt-get install samba4
sudo apt-get install subversion
2.above are my install order,when met with the last one "samba4",it occurs some mistakes.
dpkg: error processing samba4 (--configure):
子进程 已安装 post-installation 脚本 返回了错误号 1(sub process has installed post-installation shee,return the error number 1)
由于已经达到 MaxReports 限制,没有写入 apport 报告。(for has reached the limit of MaxReports,did not write in apport report,mistakes occurs when handling)
samba4
E: Sub-process /usr/bin/dpkg returned an error code (1)
-------
3when sudo apt-get install subversion,happens
正在解压缩 subversion (从 .../subversion_
正在处理用于 man-db 的触发器...
正在设置 samba4 (4.0.0~
Administrator password will be set randomly!
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: "guest ok"
Ignoring unknown parameter "guest ok"
Unknown parameter encountered: "guest ok"
Ignoring unknown parameter "guest ok"
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: "guest ok"
Ignoring unknown parameter "guest ok"
Unknown parameter encountered: "guest ok"
Ignoring unknown parameter "guest ok"
Traceback (most recent call last):
File "/usr/share/
useeadb=eadb, next_rid=
File "/usr/lib/
sitename=
File "/usr/lib/
raise InvalidNetbiosN
samba.provision
dpkg: error processing samba4 (--configure):
子进程 已安装 post-installation 脚本 返回了错误号 1
正在设置 libapr1 (1.4.6-3) ...
正在设置 libaprutil1 (1.4.1-3) ...
正在设置 libserf1:i386 (1.1.0-2) ...
正在设置 libsvn1:i386 (1.7.5-1ubuntu2) ...
正在设置 subversion (1.7.5-1ubuntu2) ...
正在处理用于 libc-bin 的触发器...
ldconfig deferred processing now taking place
在处理时有错误发生:
samba4
E: Sub-process /usr/bin/dpkg returned an error code (1)
ProblemType: Package
DistroRelease: Ubuntu 12.10
Package: samba4 4.0.0~beta2+dfsg1-3
ProcVersionSign
Uname: Linux 3.5.0-17-generic i686
ApportVersion: 2.6.1-0ubuntu3
Architecture: i386
Date: Wed Jan 9 21:24:23 2013
ErrorMessage: 子进程 已安装 post-installation 脚本 返回了错误号 1
InstallationMedia: Ubuntu 12.10 "Quantal Quetzal" - Release i386 (20121017.2)
SourcePackage: samba4
Title: package samba4 4.0.0~beta2+dfsg1-3 failed to install/upgrade: 子进程 已安装 post-installation 脚本 返回了错误号 1
UpgradeStatus: No upgrade log present (probably fresh install)
summary: |
- package samba4 4.0.0~beta2+dfsg1-3 failed to install/upgrade: 子进程 已安装 - post-installation 脚本 返回了错误号 1 + package samba4 4.0.0~beta2+dfsg1-3 failed to install/upgrade -- "The + name '...' is not a valid NetBIOS name" |
DpkgTerminalLog .txt:
[...] samba/setup/ provision" , line 260, in <module> opts.next_ rid, lp=lp, use_ntvfs= (opts.use_ ntvfs)) python2. 7/dist- packages/ samba/provision /__init_ _.py", line 1692, in provision sitename, rootdn=rootdn) python2. 7/dist- packages/ samba/provision /__init_ _.py", line 508, in guess_names ame(netbiosname ) .InvalidNetbios Name: The name ''SCB-THINKPAD- T60'' is not a valid NetBIOS name
Ignoring unknown parameter "guest ok"
Traceback (most recent call last):
File "/usr/share/
useeadb=eadb, next_rid=
File "/usr/lib/
sitename=
File "/usr/lib/
raise InvalidNetbiosN
samba.provision
dpkg: error processing samba4 (--configure):
子进程 已安装 post-installation 脚本 返回了错误号 1