控制中心打不开错误
Tofloor
poster avatar
173******62
deepin
2019-01-11 19:41
Author
dde-control-center: error while loading shared libraries: libKF5NetworkManagerQt.so.6: cannot open shared object file: No such file or directory
Reply Favorite View the author
All Replies
avatar
WENWEN
deepin
2019-01-11 21:50
#1
更新之后出现的吗?
Reply View the author
avatar
173******62
deepin
2019-01-14 17:11
#2
https://bbs.deepin.org/post/173559
更新之后出现的吗?

好像是的。
Reply View the author
avatar
173******62
deepin
2019-01-14 17:12
#3
https://bbs.deepin.org/post/173559
更新之后出现的吗?

怎么修复这个东西。
Reply View the author
avatar
WENWEN
deepin
2019-01-14 17:15
#4
Reply View the author
avatar
zccrs
deepin
2019-01-14 17:32
#5
sudo apt install libkf5networkmanagerqt6 --reinstall

试一下
Reply View the author
avatar
173******62
deepin
2019-01-14 18:19
#6
https://bbs.deepin.org/post/173559
sudo apt install libkf5networkmanagerqt6 --reinstall

试一下
  1. sudo apt install libkf5networkmanagerqt6 --reinstall
  2. [sudo] lyl 的密码:
  3. 正在读取软件包列表... 完成
  4. 正在分析软件包的依赖关系树      
  5. 正在读取状态信息... 完成      
  6. 下列【新】软件包将被安装:
  7.   libkf5networkmanagerqt6
  8. 升级了 0 个软件包,新安装了 1 个软件包,要卸载 0 个软件包,有 55 个软件包未被升级。
  9. 有 2 个软件包没有被完全安装或卸载。
  10. 需要下载 320 kB 的归档。
  11. 解压缩后会消耗 1,560 kB 的额外空间。
  12. 获取:1 http://packages.deepin.com/deepin panda/main amd64 libkf5networkmanagerqt6 amd64 5.46.0-1 [320 kB]
  13. 已下载 320 kB,耗时 0秒 (1,494 kB/s)        
  14. 正在选中未选择的软件包 libkf5networkmanagerqt6。
  15. (正在读取数据库 ... 系统当前共安装有 208230 个文件和目录。)
  16. 正准备解包 .../libkf5networkmanagerqt6_5.46.0-1_amd64.deb  ...
  17. 正在解包 libkf5networkmanagerqt6 (5.46.0-1) ...
  18. 正在设置 dde-daemon (3.18.0-1) ...
  19. /etc/default/grub:行9: nGRUB_GFXMODE=1024x768: 未找到命令
  20. dpkg: 处理软件包 dde-daemon (--configure)时出错:
  21. installed dde-daemon package post-installation script subprocess returned error exit status 127
  22. 正在处理用于 libc-bin (2.27-3) 的触发器 ...
  23. 正在设置 libkf5networkmanagerqt6 (5.46.0-1) ...
  24. dpkg: 依赖关系问题使得 dde-session-ui 的配置工作不能继续:
  25. dde-session-ui 依赖于 dde-daemon;然而:
  26.   软件包 dde-daemon 尚未配置。

  27. dpkg: 处理软件包 dde-session-ui (--configure)时出错:
  28. 依赖关系问题 - 仍未被配置
  29. 正在处理用于 libc-bin (2.27-3) 的触发器 ...
  30. 在处理时有错误发生:
  31. dde-daemon
  32. dde-session-ui
  33. E: Sub-process /usr/bin/dpkg returned an error code (1)
Copy the Code
Reply View the author
avatar
electricface
deepin
2019-01-14 18:38
#7
请把 /etc/default/grub 文件的内容贴一下,我会帮你修改好内容,你再写回去。
Reply View the author
avatar
173******62
deepin
2019-01-14 18:47
#8
https://bbs.deepin.org/post/173559
请把 /etc/default/grub 文件的内容贴一下,我会帮你修改好内容,你再写回去。
  1. # Written by com.deepin.daemon.Grub2
  2. DEEPIN_GFXMODE_DETECT=2
  3. GRUB_CMDLINE_LINUX=""
  4. GRUB_CMDLINE_LINUX_DEFAULT="splash quiet"
  5. GRUB_DEFAULT=saved
  6. GRUB_DISTRIBUTOR="`/usr/bin/lsb_release -d -s 2>/dev/null || echo Deepin`"
  7. GRUB_GFXMODE=1920x1080,1680x1050,1280x1024,1440x900,1280x960,1280x800,1280x720,1024x768,auto
  8. GRUB_TIMEOUT=1
  9. \nGRUB_GFXMODE="1024x768"
Copy the Code
Reply View the author
avatar
electricface
deepin
2019-01-14 18:52
#9
本帖最后由 electricface 于 2019-1-14 10:54 编辑

改成
  1. # Written by com.deepin.daemon.Grub2
  2. DEEPIN_GFXMODE_DETECT=2
  3. GRUB_CMDLINE_LINUX=""
  4. GRUB_CMDLINE_LINUX_DEFAULT="splash quiet"
  5. GRUB_DEFAULT=saved
  6. GRUB_DISTRIBUTOR="`/usr/bin/lsb_release -d -s 2>/dev/null || echo Deepin`"
  7. GRUB_GFXMODE=1920x1080,1680x1050,1280x1024,1440x900,1280x960,1280x800,1280x720,1024x768,auto
  8. GRUB_TIMEOUT=1
Copy the Code
Reply View the author
avatar
173******62
deepin
2019-01-14 19:02
#10
Reply View the author
avatar
electricface
deepin
2019-01-14 19:20
#11
本帖最后由 electricface 于 2019-1-14 11:22 编辑

我想做个调查
你把这段代码保存为文件 test.sh
  1. #!/bin/sh
  2. echo $SHELL
  3. readlink -f /bin/sh
  4. echo 'hello\nworld'
Copy the Code
注意 #!/bin/sh 第一行的上方一定不能有空行。

然后执行命令
chmod +x ./test.sh
./test.sh

把命令的输出都贴一下
Reply View the author
avatar
173******62
deepin
2019-01-14 19:31
#12
https://bbs.deepin.org/post/173559
我想做个调查
你把这段代码保存为文件 test.sh
注意 #!/bin/sh 第一行的上方一定不能有空行。
  1. vim test.sh
  2. 1@1-PC:~$ chmod +x ./test.sh
  3. 1@1-PC:~$ ./test.sh
  4. /bin/bash
  5. /bin/bash
  6. hello\nworld
Copy the Code
Reply View the author
avatar
electricface
deepin
2019-01-14 19:39
#13
你为什么把 /bin/sh 设置为 /bin/bash 了?
Reply View the author
avatar
173******62
deepin
2019-01-14 19:44
#14
https://bbs.deepin.org/post/173559
你为什么把 /bin/sh 设置为 /bin/bash 了?

我没设置
Reply View the author