[已解决] 应用商店彻底废了
Tofloor
poster avatar
yzhen123
deepin
2017-05-27 06:24
Author
本帖最后由 yzhen123 于 2017-6-29 20:47 编辑

升级之后一直这样



尝试过:

1.
  1. deepin-appstore -c
Copy the Code


2.
  1. sudo apt-get update
  2. sudo apt-get remove --purge lastore-daemon deepin-appstore deepin-appstore-data
  3. sudo apt-get install lastore-daemon deepin-appstore deepin-appstore-data dde-launcher
Copy the Code


均无用

[解决方案]
参考这个链接 https://www.reddit.com/r/linuxqu ... mdtimesyncdservice/
把  /lib/systemd/system/systemd-timedated.service 和 /etc/systemd/system/sysinit.target.wants/systemd-timesyncd.service 里面的 ProtectHome=yes 注释掉就好了,原因是我的 /home 是 mount 在另一个 分区里软链接回来的导致的..

  • sudo vi /lib/systemd/system/systemd-timedated.service
  • # 注释掉ProtectHome=yes
  • sudo vi /etc/systemd/system/sysinit.target.wants/systemd-timesyncd.service
  • # 注释掉ProtectHome=yes
  • sudo systemctl daemon-reload
  • sudo systemctl restart systemd-timesyncd.service systemd-timedated.service


[color=rgb(51, 102, 153) !important]复制代码




Reply Favorite View the author
All Replies
2 / 2
To page
avatar
134******40
deepin
2017-06-16 08:58
#21
然后想想你有没有执行过类似修改系统时间的脚本,有没有装过ntp之类的时间同步服务器,有没有关闭时间同步服务。
如果有禁用时间同步服务器的行为,请开启该服务关闭。如果安装过ntp服务器,这个会禁用时间同步功能,请停用ntp服务或者卸载ntp服务器。

  1. sudo systemctl enable systemd-timesyncd.service
  2. sudo systemctl start systemd-timesyncd.service
Copy the Code
Reply View the author
avatar
Anrobin
deepin
2017-06-19 20:03
#22
https://bbs.deepin.org/post/140076
求教大神,时区在哪里设定?

时间和日期那设置。
Reply View the author
avatar
herdde
deepin
2017-06-19 20:16
#23
https://bbs.deepin.org/post/140076
求教大神,时区在哪里设定?

控制中心
Reply View the author
avatar
jingle
deepin
2017-06-19 21:00
#24
应该是你的当前用户不在 sudo 组里面。
Reply View the author
avatar
yzhen123
deepin
2017-06-30 03:58
#25
本帖最后由 yzhen123 于 2017-6-29 20:12 编辑
https://bbs.deepin.org/post/140076
然后想想你有没有执行过类似修改系统时间的脚本,有没有装过ntp之类的时间同步服务器,有没有关闭时间同步 ...

没有, 补充日志
  1. $ sudo systemctl status systemd-timesyncd.service  
  2. ● systemd-timesyncd.service - Network Time Synchronization
  3.    Loaded: loaded (/lib/systemd/system/systemd-timesyncd.service; enabled; vendor preset: enabled)
  4.   Drop-In: /lib/systemd/system/systemd-timesyncd.service.d
  5.            └─disable-with-time-daemon.conf
  6.    Active: failed (Result: start-limit-hit) since 四 2017-06-29 19:45:37 CST; 4s ago
  7.      Docs: man:systemd-timesyncd.service(8)
  8.   Process: 11779 ExecStart=/lib/systemd/systemd-timesyncd (code=exited, status=226/NAMESPACE)
  9. Main PID: 11779 (code=exited, status=226/NAMESPACE)

  10. 6月 29 19:45:37 ZsPC systemd[1]: Failed to start Network Time Synchronization.
  11. 6月 29 19:45:37 ZsPC systemd[1]: systemd-timesyncd.service: Unit entered failed state.
  12. 6月 29 19:45:37 ZsPC systemd[1]: systemd-timesyncd.service: Failed with result 'exit-code'.
  13. 6月 29 19:45:37 ZsPC systemd[1]: systemd-timesyncd.service: Service has no hold-off time, scheduling restart.
  14. 6月 29 19:45:37 ZsPC systemd[1]: Stopped Network Time Synchronization.
  15. 6月 29 19:45:37 ZsPC systemd[1]: systemd-timesyncd.service: Start request repeated too quickly.
  16. 6月 29 19:45:37 ZsPC systemd[1]: Failed to start Network Time Synchronization.
  17. 6月 29 19:45:37 ZsPC systemd[1]: systemd-timesyncd.service: Unit entered failed state.
  18. 6月 29 19:45:37 ZsPC systemd[1]: systemd-timesyncd.service: Failed with result 'start-limit-hit'.
Copy the Code

而且右边的控制面板的时间自动同步开关打开了不久又会自动关上..
Reply View the author
avatar
yzhen123
deepin
2017-06-30 04:42
#26
总算解决了,参考这个链接 https://www.reddit.com/r/linuxqu ... mdtimesyncdservice/
把  /lib/systemd/system/systemd-timedated.service 和 /etc/systemd/system/sysinit.target.wants/systemd-timesyncd.service 里面的 ProtectHome=yes 注释掉就好了,原因是我的 /home 是 mount 在另一个 分区里软链接回来的导致的..


  1. sudo vi /lib/systemd/system/systemd-timedated.service
  2. # 注释掉ProtectHome=yes
  3. sudo vi /etc/systemd/system/sysinit.target.wants/systemd-timesyncd.service
  4. # 注释掉ProtectHome=yes
  5. sudo systemctl daemon-reload
  6. sudo systemctl restart systemd-timesyncd.service systemd-timedated.service
Copy the Code
Reply View the author
avatar
herdde
deepin
2017-06-30 04:55
#27
https://bbs.deepin.org/post/140076
总算解决了,参考这个链接 https://www.reddit.com/r/linuxquestions/comments/4vln5o/cant_start_systemdti ...

把已解决的问题帖子标题改为【已解决】是个好办法,方便其他人查看
Reply View the author
avatar
134******40
deepin
2017-06-30 17:22
#28
本帖最后由 jdocker 于 2017-6-30 09:23 编辑

恭喜,恭喜,看来确实是确实是时间同步出问题了,如果楼主能够在帖子标题上注释已经解决就更好了。
Reply View the author
2 / 2
To page