有关samb 共享与网络访问的问题
Tofloor
poster avatar
这个世界...
deepin
2020-03-08 09:10
Author

正在设置 samba-common-bin (2:4.8.2+dfsg-1) ...
Checking smb.conf
WARNING: The "syslog" option is deprecated
set_variable_helper(yes[jdll]): value is not boolean!
ERROR: Unable to load default file
dpkg: 处理软件包 samba-common-bin (--configure)时出错:
子进程 已安装 post-installation 脚本 返回错误状态 255
dpkg: 依赖关系问题使得 samba 的配置工作不能继续:
samba 依赖于 samba-common-bin (= 2:4.8.2+dfsg-1);然而:
  软件包 samba-common-bin 尚未配置。

dpkg: 处理软件包 samba (--configure)时出错:
依赖关系问题 - 仍未被配置
在处理时有错误发生:
samba-common-bin
samba
E: Sub-process /usr/bin/dpkg returned an error code (1)
root@1-PC:/home#


sudo  aptitude  install wireshark  试过 不行 还是出现上面的
######################################################
PS:是在vmware虚拟机中运行的DEEPIN15.11。。

    screenfetch

     OS: Deepin 15.11 stable
     Kernel: x86_64 Linux 4.15.0-30deepin-generic
     Uptime: 5h 50m
     Packages: 1719
     Shell: bash
     Resolution: 893x851
     DE: Deepin 15.11
     WM: KWin
     CPU: Intel Core i7-9750H @ 4x 2.592GHz
     GPU: svgadrmfb
     RAM: 851MiB / 1970MiB


######################################################

#####################################################################   
之后

apt install samba
正在读取软件包列表... 完成
正在分析软件包的依赖关系树      
正在读取状态信息... 完成      
samba 已经是最新版 (2:4.8.2+dfsg-1)。
升级了 0 个软件包,新安装了 0 个软件包,要卸载 0 个软件包,有 1221 个软件包未被升级。
有 2 个软件包没有被完全安装或卸载。
解压缩后会消耗 0 B 的额外空间。
您希望继续执行吗? [Y/n] y
正在设置 samba-common-bin (2:4.8.2+dfsg-1) ...
Checking smb.conf
WARNING: The "syslog" option is deprecated
set_variable_helper(yes[jdll]): value is not boolean!
ERROR: Unable to load default file
dpkg: 处理软件包 samba-common-bin (--configure)时出错:
子进程 已安装 post-installation 脚本 返回错误状态 255
dpkg: 依赖关系问题使得 samba 的配置工作不能继续:
samba 依赖于 samba-common-bin (= 2:4.8.2+dfsg-1);然而:
  软件包 samba-common-bin 尚未配置。

dpkg: 处理软件包 samba (--configure)时出错:
依赖关系问题 - 仍未被配置
在处理时有错误发生:
samba-common-bin
samba
E: Sub-process /usr/bin/dpkg returned an error code (1)


root@1-PC:/home# apt install smbfs


正在读取软件包列表... 完成
正在分析软件包的依赖关系树      
正在读取状态信息... 完成      
没有可用的软件包 smbfs,但是它被其它的软件包引用了。
这可能意味着这个缺失的软件包可能已被废弃,
或者只能在其他发布源中找到
然而下列软件包会取代它:
  cifs-utils cifs-utils:i386



#####################################
sudo apt install samb      remove   purge     都试过,不行
#####################################
systemctl status sambd.service

● smbd.service
   Loaded: masked (/dev/null; bad)
   Active: failed (Result: exit-code) since Sat 2020-03-07 21:19:18 CST; 2h 1min ago
Main PID: 8617 (code=exited, status=1/FAILURE)

3月 07 21:19:18 1-PC systemd[1]: Starting Samba SMB Daemon...
3月 07 21:19:18 1-PC systemd[1]: smbd.service: Main process exited, code=exited, status=1/FAILU
3月 07 21:19:18 1-PC systemd[1]: Failed to start Samba SMB Daemon.
3月 07 21:19:18 1-PC systemd[1]: smbd.service: Unit entered failed state.
3月 07 21:19:18 1-PC systemd[1]: smbd.service: Failed with result 'exit-code'.


#################################################################
sudo apt-get install nautilus-share
下列软件包有未满足的依赖关系:
libkf5coreaddons5 : 破坏: libkf5auth5 (< 5.46) 但是 5.28.0-2 正要被安装
                     破坏: libkf5globalaccel-bin (< 5.46) 但是 5.28.0.1-1+comsta 正要被安装
libkf5crash5 : 破坏: libkf5globalaccel-bin (< 5.46) 但是 5.28.0.1-1+comsta 正要被安装
E: 错误,pkgProblemResolver::Resolve 发生故障,这可能是有软件包被要求保持现状的缘故。

#################################################################


systemctl restart smbd
Failed to restart smbd.service: Unit smbd.service is masked.


################################################

ps -aux|grep smbd
root      18136  0.0  0.0  14660  1024 pts/0    S+   23:30   0:00 grep smbd


###############################################


sudo smbd -FS
smbd version 4.8.2-Debian started.
Copyright Andrew Tridgell and the Samba Team 1992-2018
set_variable_helper(yes[2]): value is not boolean!


#######################################
  testparm

Load smb config files from /etc/samba/smb.conf
rlimit_max: increasing rlimit_max (1024) to minimum Windows limit (16384)
WARNING: The "syslog" option is deprecated
Processing section "[homes]"
Processing section "[printers]"
Processing section "[print$]"
Processing section "[share]"
set_variable_helper(yes[jdll]): value is not boolean!
Error loading services.



###############################################
正常通过文件管理器的窗口地址栏去访问    smb://192.168.*  提 示:挂载设备出错,从服务器获取共享列表失败:连接超时

在WIN端 搭建HFS服务器 后    | 用deepin端的 浏览器访问  是正常的   网络是通的
#####################################################
现在什么软件也装不了。。。   应该怎么弄, 本人 刚初学DEEPIN "Linux"  

Reply Favorite View the author
All Replies
avatar
这个世界...
deepin
2020-03-09 06:44
#1
现在 LINUX可以通过  smbclient  访问WINDOWS的共享                  但WIN  访问不了LINUX   

LINUX 的软件还是安装不了
Reply View the author