Open qishibo opened 5 years ago
直观应该是lastore-daemon出问题了,试下重启这个进程或者重启机器能恢复吗?
@Iceyer 重启机器无效,机器之前手误执行过权限修改命令,所以某些二进制文件可能少了s权限,不知道有啥关系没,【其实我从菜单栏里右键卸载软件也是无效的。。估计是一个毛病】,但具体还是不知道哪里权限的问题,有啥系统log能追么
不需要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
@Iceyer 看起来没啥不对的地方
先开一个终端执行
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'
看下前一个终端的输出结果
先开一个终端执行
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好使,但商店内卸载、安装应用无反应,开始菜单内卸载无反应,如下面动图:
会卡在界面不动,此时
ps aux|grep apt
无内容,但是通过命令行apt可以安装和卸载。卸载重装商店无效