package samba4 4.0.0~beta2+dfsg1-3 failed to install/upgrade -- "The name '...' is not a valid NetBIOS name"

Bug #1097765 reported by TheTerror
10
This bug affects 2 people
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://hk.archive.ubuntu.com/ubuntu/ quantal/universe i386 Packages
        100 /var/lib/dpkg/status
--------------------------------------------------------------------------------------------------------
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_1.7.5-1ubuntu2_i386.deb) ...
正在处理用于 man-db 的触发器...
正在设置 samba4 (4.0.0~beta2+dfsg1-3) ...
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/samba/setup/provision", line 260, in <module>
    useeadb=eadb, next_rid=opts.next_rid, lp=lp, use_ntvfs=(opts.use_ntvfs))
  File "/usr/lib/python2.7/dist-packages/samba/provision/__init__.py", line 1692, in provision
    sitename=sitename, rootdn=rootdn)
  File "/usr/lib/python2.7/dist-packages/samba/provision/__init__.py", line 508, in guess_names
    raise InvalidNetbiosName(netbiosname)
samba.provision.InvalidNetbiosName: The name ''SCB-THINKPAD-T60'' is not a valid NetBIOS name
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
ProcVersionSignature: Ubuntu 3.5.0-17.28-generic 3.5.5
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)

Revision history for this message
TheTerror (792781008-c) wrote :
Revision history for this message
Thomas Hood (jdthood) wrote :

DpkgTerminalLog.txt:

[...]
Ignoring unknown parameter "guest ok"
Traceback (most recent call last):
  File "/usr/share/samba/setup/provision", line 260, in <module>
    useeadb=eadb, next_rid=opts.next_rid, lp=lp, use_ntvfs=(opts.use_ntvfs))
  File "/usr/lib/python2.7/dist-packages/samba/provision/__init__.py", line 1692, in provision
    sitename=sitename, rootdn=rootdn)
  File "/usr/lib/python2.7/dist-packages/samba/provision/__init__.py", line 508, in guess_names
    raise InvalidNetbiosName(netbiosname)
samba.provision.InvalidNetbiosName: The name ''SCB-THINKPAD-T60'' is not a valid NetBIOS name
dpkg: error processing samba4 (--configure):
 子进程 已安装 post-installation 脚本 返回了错误号 1

Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in samba4 (Ubuntu):
status: New → Confirmed
Thomas Hood (jdthood)
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"
Revision history for this message
TheTerror (792781008-c) wrote : 回复:[Bug 1097765] Re: package samba4 4.0.0~beta2+dfsg1-3 failed toinstall/upgrade -- "The name '...' is not a valid NetBIOS name"
Download full text (6.4 KiB)

Thanks so much for your report, I am sorry to reply this email so late.I have just been traning as a embedded engineer.The training center supply's no internet for the students.We have a heavy homework to do everyday.Thanks again for your detailed solution.I will try it and wish you happy new year.

 ------------------ 原始邮件 ------------------
  发件人: "Thomas Hood"<email address hidden>;
 发送时间: 2013年1月24日(星期四) 晚上8:10
 收件人: "792781008"<email address hidden>;

 主题: [Bug 1097765] Re: package samba4 4.0.0~beta2+dfsg1-3 failed toinstall/upgrade -- "The name '...' is not a valid NetBIOS name"

*** This bug is a duplicate of bug 1048353 ***
    https://bugs.launchpad.net/bugs/1048353

** This bug has been marked a duplicate of bug 1048353
   provision crashed with InvalidNetbiosName in guess_names(): The name ''LOGAN-VIRTUALBOX'' is not a valid NetBIOS name

--
You received this bug notification because you are subscribed to the bug
report.
https://bugs.launchpad.net/bugs/1097765

Title:
  package samba4 4.0.0~beta2+dfsg1-3 failed to install/upgrade -- "The
  name '...' is not a valid NetBIOS name"

Status in “samba4” package in Ubuntu:
  Confirmed

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://hk.archive.ubuntu.com/ubuntu/ quantal/universe i386 Packages
          100 /var/lib/dpkg/status
  --------------------------------------------------------------------------------------------------------
  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_1.7.5-1ubuntu2_i386.deb) ...
  正在处理用于 man-db 的触发器...
  正在设置 samba4 (4.0.0~beta2+dfsg1-3) ...
  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 "syslo...

Read more...

Revision history for this message
TheTerror (792781008-c) wrote : 回复:[Bug 1097765] Re: package samba4 4.0.0~beta2+dfsg1-3 failed to install/upgrade: 子进56iLIOW3suWuieijhSBwb3N0LWluc3RhbGxhdGlvbiDohJrmnKwg6L+U回了错误号 1
Download full text (6.8 KiB)

Thanks so much for your report, I am sorry to reply this email so late.I have just been traning as a embedded engineer.The training center supply's no internet for the students.We have a heavy homework to do everyday.Thanks again for your detailed solution.I will try it and wish you happy new year.

 ------------------ 原始邮件 ------------------
  发件人: "Bug 1097765"<email address hidden>;
 发送时间: 2013年1月24日(星期四) 凌晨2:53
 收件人: "792781008"<email address hidden>;

 主题: [Bug 1097765] Re: package samba4 4.0.0~beta2+dfsg1-3 failed to install/upgrade: 子进56iLIOW3suWuieijhSBwb3N0LWluc3RhbGxhdGlvbiDohJrmnKwg6L+U回了错误号 1

DpkgTerminalLog.txt:

[...]
Ignoring unknown parameter "guest ok"
Traceback (most recent call last):
  File "/usr/share/samba/setup/provision", line 260, in <module>
    useeadb=eadb, next_rid=opts.next_rid, lp=lp, use_ntvfs=(opts.use_ntvfs))
  File "/usr/lib/python2.7/dist-packages/samba/provision/__init__.py", line 1692, in provision
    sitename=sitename, rootdn=rootdn)
  File "/usr/lib/python2.7/dist-packages/samba/provision/__init__.py", line 508, in guess_names
    raise InvalidNetbiosName(netbiosname)
samba.provision.InvalidNetbiosName: The name ''SCB-THINKPAD-T60'' is not a valid NetBIOS name
dpkg: error processing samba4 (--configure):
 子进程 已安装 post-installation 脚本 返回了错误号 1

--
You received this bug notification because you are subscribed to the bug
report.
https://bugs.launchpad.net/bugs/1097765

Title:
  package samba4 4.0.0~beta2+dfsg1-3 failed to install/upgrade -- "The
  name '...' is not a valid NetBIOS name"

Status in “samba4” package in Ubuntu:
  Confirmed

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://hk.archive.ubuntu.com/ubuntu/ quantal/universe i386 Packages
          100 /var/lib/dpkg/status
  --------------------------------------------------------------------------------------------------------
  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)
  -----------------------------------...

Read more...

Revision history for this message
TheTerror (792781008-c) wrote : 回复:[Bug 1097765] Re: package samba4 4.0.0~beta2+dfsg1-3 failed toinstall/upgrade -- "The name '...' is not a valid NetBIOS name"
Download full text (6.3 KiB)

Thanks so much for your report, I am sorry to reply this email so late.I have just been traning as a embedded engineer.The training center supply's no internet for the students.We have a heavy homework to do everyday.Thanks again for your detailed solution.I will try it and wish you happy new year.

 ------------------ 原始邮件 ------------------
  发件人: "Bug 1097765"<email address hidden>;
 发送时间: 2013年1月24日(星期四) 凌晨2:54
 收件人: "792781008"<email address hidden>;

 主题: [Bug 1097765] Re: package samba4 4.0.0~beta2+dfsg1-3 failed toinstall/upgrade -- "The name '...' is not a valid NetBIOS name"

** Summary changed:

- 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"

--
You received this bug notification because you are subscribed to the bug
report.
https://bugs.launchpad.net/bugs/1097765

Title:
  package samba4 4.0.0~beta2+dfsg1-3 failed to install/upgrade -- "The
  name '...' is not a valid NetBIOS name"

Status in “samba4” package in Ubuntu:
  Confirmed

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://hk.archive.ubuntu.com/ubuntu/ quantal/universe i386 Packages
          100 /var/lib/dpkg/status
  --------------------------------------------------------------------------------------------------------
  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_1.7.5-1ubuntu2_i386.deb) ...
  正在处理用于 man-db 的触发器...
  正在设置 samba4 (4.0.0~beta2+dfsg1-3) ...
  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 encounter...

Read more...

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.