非法指令 [samba][nmbd]

非法指令 [samba][nmbd]

在我运行 Raspbian Jessie 的 Pi Zero W 上完成这些操作后apt-get upgrade,我的 Samba 设置就坏了。尝试后,apt-get install -f我得到:

注意:我添加了 debian 安全存储库,因为我需要一些 raspbian 中没有的软件包。

 dpkg: error processing package samba (--configure): subprocess
 installed post-installation script returned error exit status 1
 Processing triggers for systemd (215-17+deb8u4) ... Errors were
 encountered while processing: samba E: Sub-process /usr/bin/dpkg
 returned an error code (1)

现在,可以轻松使用 ftp 而不是 samba,但我确实需要运行 nmbd 才能使 netbios 名称正常工作。如果我尝试/usr/sbin/nmbd start/usr/sbin/smbd start我得到

非法指令

这实际上不是一个已处理的异常,因为我在 python 中导入 pycURL 时也遇到了这个问题。

如果您知道 nmbd 的任何开放替代方案,或者您知道如何在不重新映像 Pi 的情况下解决这个问题,请告诉我。

相关内容