[已解决] 应用商店彻底废了
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
1 / 2
To page
avatar
jingle
deepin
2017-05-27 23:23
#1
Reply View the author
avatar
Anrobin
deepin
2017-05-28 00:56
#2
兄弟,一个小疏忽导致的!检查下你的时区设置。设置成上海应该就好了
Reply View the author
Comments
jingle
2017-05-28 01:04
有可能
avatar
yzhen123
deepin
2017-05-28 03:42
#3
https://bbs.deepin.org/post/140076
兄弟,一个小疏忽导致的!检查下你的时区设置。设置成上海应该就好了 ...

还是无用,http://appstore.deepin.org/ 在 chrome里是能打开的
Reply View the author
avatar
yzhen123
deepin
2017-06-07 04:34
#4
  1. z at ZsPC in ~
  2. $ deepin-appstore

  3. (deepin-appstore:2118): Gtk-WARNING **: 无法在模块路径中找到主题引擎:“adwaita”,

  4. (deepin-appstore:2118): Gtk-WARNING **: 无法在模块路径中找到主题引擎:“adwaita”,
  5. Build with WebKit
  6. "http://appstore.deepin.org/" ==>  "Not allowed to load local resource: qrc:///qtwebchannel/qwebchannel.js"
  7. "http://appstore.deepin.org/scripts/bundle.js" ==>  "Getting data from C++ before bootstrapping..."
  8. "在路径 org.freedesktop.DBus.Properties 的对象上没有 /org/freedesktop/NetworkManager/ActiveConnection/7 接口"
  9. "在路径 org.freedesktop.DBus.Properties 的对象上没有 /org/freedesktop/NetworkManager/ActiveConnection/7 接口"
  10. "在路径 org.freedesktop.DBus.Properties 的对象上没有 /org/freedesktop/NetworkManager/ActiveConnection/7 接口"
  11. "在路径 org.freedesktop.DBus.Properties 的对象上没有 /org/freedesktop/NetworkManager/ActiveConnection/7 接口"
  12. "在路径 org.freedesktop.DBus.Properties 的对象上没有 /org/freedesktop/NetworkManager/ActiveConnection/7 接口"
  13. "在路径 org.freedesktop.DBus.Properties 的对象上没有 /org/freedesktop/NetworkManager/ActiveConnection/7 接口"
  14. "在路径 org.freedesktop.DBus.Properties 的对象上没有 /org/freedesktop/NetworkManager/ActiveConnection/7 接口"
  15. "在路径 org.freedesktop.DBus.Properties 的对象上没有 /org/freedesktop/NetworkManager/ActiveConnection/7 接口"
  16. "在路径 org.freedesktop.DBus.Properties 的对象上没有 /org/freedesktop/NetworkManager/ActiveConnection/7 接口"
  17. "在路径 org.freedesktop.DBus.Properties 的对象上没有 /org/freedesktop/NetworkManager/ActiveConnection/7 接口"
  18. "在路径 org.freedesktop.DBus.Properties 的对象上没有 /org/freedesktop/NetworkManager/ActiveConnection/7 接口"
  19. "在路径 org.freedesktop.DBus.Properties 的对象上没有 /org/freedesktop/NetworkManager/ActiveConnection/9 接口"
  20. "在路径 org.freedesktop.DBus.Properties 的对象上没有 /org/freedesktop/NetworkManager/ActiveConnection/9 接口"
  21. "在路径 org.freedesktop.DBus.Properties 的对象上没有 /org/freedesktop/NetworkManager/ActiveConnection/9 接口"
  22. "在路径 org.freedesktop.DBus.Properties 的对象上没有 /org/freedesktop/NetworkManager/ActiveConnection/9 接口"
  23. "在路径 org.freedesktop.DBus.Properties 的对象上没有 /org/freedesktop/NetworkManager/ActiveConnection/9 接口"
  24. "在路径 org.freedesktop.DBus.Properties 的对象上没有 /org/freedesktop/NetworkManager/ActiveConnection/9 接口"
  25. "在路径 org.freedesktop.DBus.Properties 的对象上没有 /org/freedesktop/NetworkManager/ActiveConnection/9 接口"
  26. "在路径 org.freedesktop.DBus.Properties 的对象上没有 /org/freedesktop/NetworkManager/ActiveConnection/9 接口"
  27. "在路径 org.freedesktop.DBus.Properties 的对象上没有 /org/freedesktop/NetworkManager/ActiveConnection/9 接口"

Copy the Code
Reply View the author
avatar
InReality啟
deepin
2017-06-07 19:38
#5
你把应用商店先卸载(sudo apt autoremove deepin-appstore)
Reply View the author
avatar
InReality啟
deepin
2017-06-07 19:41
#6
你把应用商店先卸载(sudo apt autoremove deepin-appstore) , 然后再安装(sudo aptitude install deepin-appstore)
Reply View the author
avatar
InReality啟
deepin
2017-06-07 19:44
#7
一般来说这个方法可以解决大部分Linux应用程序问题
Reply View the author
avatar
134******40
deepin
2017-06-07 20:53
#8
在命令中执行 sudo deepin-appstore看有什么错误。
Reply View the author
avatar
134******40
deepin
2017-06-07 21:40
#9
本帖最后由 jdocker 于 2017-6-7 13:47 编辑

Gtk-WARNING **: 无法在模块路径中找到主题引擎:“adwaita”,
试试用先试试这个:
  1. sudo apt-get install gnome-themes-standard gnome-themes-standard-data
Copy the Code


再不行用这个:
  1. sudo apt install  -f gtk2-engines gtk2-engines-murrine gtk2-engines-pixbuf
Copy the Code

Reply View the author
avatar
InReality啟
deepin
2017-06-08 16:25
#10
jdocker 发表于 2017-6-7 13:40
Gtk-WARNING **: 无法在模块路径中找到主题引擎:“adwaita”,
试试用先试试这个:


应该不仅是主题问题,它还提示在XXX找不到接口,那说明还是程序数据本身就有错误
Reply View the author
avatar
yzhen123
deepin
2017-06-09 03:13
#11
https://bbs.deepin.org/post/140076
应该不仅是主题问题,它还提示在XXX找不到接口,那说明还是程序数据本身就有错误 ...

不是主题问题, 我 gedit 命令行启动也会有这种提示;

AppStore 重装过 n 遍了,就差重装系统了.配置一套开发环境不容易,不打算轻易重装了
Reply View the author
avatar
yzhen123
deepin
2017-06-09 03:18
#12
安装主题和重装都尝试了,还是不行
Reply View the author
avatar
yzhen123
deepin
2017-06-09 03:57
#13
https://bbs.deepin.org/post/140076
在命令中执行 sudo deepin-appstore看有什么错误。

sudo deepin-appstore 的表现一样, 后面找不到接口的错误信息需要等很长时间, 有时完全不会显示

  1. $ sudo deepin-appstore
  2. Build with WebKit
  3. "http://appstore.deepin.org/" ==>  "Not allowed to load local resource: qrc:///qtwebchannel/qwebchannel.js"
  4. "http://appstore.deepin.org/scripts/bundle.js" ==>  "Getting data from C++ before bootstrapping..."

Copy the Code
Reply View the author
avatar
134******40
deepin
2017-06-09 04:27
#14
本帖最后由 jdocker 于 2017-6-8 20:35 编辑

先用
  1. systemctl --failed
Copy the Code

查看有没有启动失败的列表。重点找有dbus字眼的看看有没有启动失败的。例如dbus.service启动失败。你就使用下面的,如果是其他,则替换成相应的字眼查询。
如果发现 dbus.service 启动失败,然后通过
  1. sudo journalctl -u dbus.service
Copy the Code

查看启动的日志,看看有没有红字报错,这时候才更容易定位问题所在。
如果发现失败信息,再看看 dbus.service 依赖情况,看看是不是依赖导致的失败
  1. systemctl list-dependencies dbus.service
Copy the Code
然后重置一下系统试试
  1. sudo dpkg --configure -a
  2. sudo apt update
  3. sudo apt upgrade
  4. sudo apt install -f dbus
Copy the Code

如果不是服务项失败导致的,那我也没招了。


Reply View the author
avatar
muzipc
deepin
2017-06-09 06:38
#15
我喜欢命令行代码,看着就觉得清爽
Reply View the author
avatar
yzhen123
deepin
2017-06-15 04:29
#16

Reply View the author
avatar
yzhen123
deepin
2017-06-15 04:30
#17
https://bbs.deepin.org/post/140076
我喜欢命令行代码,看着就觉得清爽

这说明你命令行用的不多啊..
Reply View the author
avatar
muzipc
deepin
2017-06-15 22:58
#18
https://bbs.deepin.org/post/140076
这说明你命令行用的不多啊..

命令行方式在windows下用得多,linux下用得少。我是喜欢弄清楚原理后自己写批处理来用
Reply View the author
avatar
justin1982
deepin
2017-06-16 02:27
#19
https://bbs.deepin.org/post/140076
兄弟,一个小疏忽导致的!检查下你的时区设置。设置成上海应该就好了 ...

求教大神,时区在哪里设定?
Reply View the author
avatar
134******40
deepin
2017-06-16 08:48
#20

因为错误中有提到获取时间失败。
  1. "http://appstore.deepin.org/scripts/bundle.js" ==>  "Getting data from C++ before bootstrapping..."
Copy the Code

所以,问题应该出现在时间同步服务出错了。就是软件商店无法获取时间信息。
而服务当中,出错的systemd-hostnamed.service 、systemd-timedated.service、systemd-timesyncd.service都和时间有关联。而前两个服务又依赖于最后一个systemd-timesyncd.service。这个与获取时区和时间同步有关系的服务,应该会导致软件商店获取时区信息时出错。
所以,先重启该服务,让其调用生成日志
  1. sudo systemctl restart  systemd-timesyncd.service
Copy the Code

然后再查看该服务的调用日志信息:
  1. sudo journalctl -u systemd-timesyncd.service
Copy the Code

看看起报错的信息,然后把报错的信息粘贴到这里来。
这样就更容易排查问题了。
Reply View the author
1 / 2
To page