Skip to content
This repository has been archived by the owner on Apr 26, 2020. It is now read-only.

使用商店安装和卸载应用失败 #19

Open
qishibo opened this issue Dec 4, 2018 · 6 comments
Open

使用商店安装和卸载应用失败 #19

qishibo opened this issue Dec 4, 2018 · 6 comments

Comments

@qishibo
Copy link

qishibo commented Dec 4, 2018

会卡在界面不动,此时ps aux|grep apt无内容,但是通过命令行apt可以安装和卸载。

卸载重装商店无效

deepin 15.8
Linux qii 4.15.0-29deepin-generic #31 SMP Fri Jul 27 07:12:08 UTC 2018 x86_64 GNU/Linux

image

image

@Iceyer
Copy link
Contributor

Iceyer commented Apr 12, 2019

直观应该是lastore-daemon出问题了,试下重启这个进程或者重启机器能恢复吗?

@qishibo
Copy link
Author

qishibo commented Apr 12, 2019

@Iceyer 重启机器无效,机器之前手误执行过权限修改命令,所以某些二进制文件可能少了s权限,不知道有啥关系没,【其实我从菜单栏里右键卸载软件也是无效的。。估计是一个毛病】,但具体还是不知道哪里权限的问题,有啥系统log能追么

@Iceyer
Copy link
Contributor

Iceyer commented Apr 15, 2019

不需要s权限,可能需要可执行权限,你试试这两个命令的输出结果:

┌💁  iceyer @ 💻  builder in 📁  ~
└❯ ls -alh /usr/bin/deepin-appstore*
-rwxr-xr-x 1 root root 1.1M 3月  20 17:43 /usr/bin/deepin-appstore
-rwxr-xr-x 1 root root 5.9M 4月  12 09:00 /usr/bin/deepin-appstore-backend-deb
-rwxr-xr-x 1 root root 6.4M 3月  20 17:43 /usr/bin/deepin-appstore-daemon

┌💁  iceyer @ 💻  builder in 📁  ~
└❯ ps -ef | grep lastore
root      4448     1  0 08:14 ?        00:00:02 /usr/bin/lastore-daemon
iceyer    8036  6967  0 13:24 pts/0    00:00:00 grep --color=auto lastore

@qishibo
Copy link
Author

qishibo commented Apr 16, 2019

@Iceyer 看起来没啥不对的地方
image

@Iceyer
Copy link
Contributor

Iceyer commented Apr 23, 2019

先开一个终端执行
tail -F /var/log/lastore/daemon.log
再开一个终端执行
dbus-send --system --print-reply --dest=com.deepin.lastore /com/deepin/lastore com.deepin.lastore.Manager.InstallPackage string:'gedit' string:'gedit'

看下前一个终端的输出结果

@qishibo
Copy link
Author

qishibo commented May 30, 2019

先开一个终端执行
tail -F /var/log/lastore/daemon.log
再开一个终端执行
dbus-send --system --print-reply --dest=com.deepin.lastore /com/deepin/lastore com.deepin.lastore.Manager.InstallPackage string:'gedit' string:'gedit'

看下前一个终端的输出结果

还是老状况,apt好使,但商店内卸载、安装应用无反应,开始菜单内卸载无反应,如下面动图:

深度录屏_deepin-terminal_20190530100619

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants