云网牛站
所在位置:首页 > Linux新闻 > 在Deepin 20.2中安装snapd后会导致系统监视器无法打开或闪退

在Deepin 20.2中安装snapd后会导致系统监视器无法打开或闪退

2021-04-12 10:29:31作者:thas稿源:深度站

有深度网友经过实验,得出一个结论:在Deepin 20.2中导致系统监视器无法打开或闪退问题的很可能是snapd,以下是相关的实验结果。

 

启动系统监视器,打开后一闪而过

查看/var/log/syslog日志,发现如下报错内容:

xcc-deepin systemd[1]: deepin-anything-monitor.service: Service RestartSec=10s expired, scheduling restart.

xcc-deepin systemd[1]: deepin-anything-monitor.service: Scheduled restart job, restart counter is at 141.

xcc-deepin systemd[1]: Stopped Deepin anything service.

xcc-deepin systemd[1]: Started Deepin anything service.

xcc-deepin deepin-anything-monitor[22652]: [2021-04-11, 19:04:53.260] [default-debug] [deepin_anything_server::DASPluginLoaderPrivate::DASPluginLoaderPrivate: 97]: plugin paths: ("/usr/lib/x86_64-linux-gnu/deepin-anything-server-lib/plugins")

xcc-deepin deepin-anything-monitor[22652]: [2021-04-11, 19:04:53.260] [default-debug] [deepin_anything_server::DASPluginLoader::DASPluginLoader: 336]: watch: "/usr/lib/x86_64-linux-gnu/deepin-anything-server-lib/plugins/handlers"

xcc-deepin deepin-anything-monitor[22652]: [2021-04-11, 19:04:53.260] [default-debug] [deepin_anything_server::DASPluginLoader::update: 365]: PluginLoader::PluginLoader() checking directory path "/usr/lib/x86_64-linux-gnu/deepin-anything-server-lib/plugins/handlers" ...

xcc-deepin deepin-anything-monitor[22652]: [2021-04-11, 19:04:53.260] [default-debug] [deepin_anything_server::DASPluginLoaderPrivate::loadPlugin: 150]: PluginLoader::PluginLoader() looking at "/usr/lib/x86_64-linux-gnu/deepin-anything-server-lib/plugins/handlers/libdde-anythingmonitor.so"

xcc-deepin deepin-anything-monitor[22652]: [2021-04-11, 19:04:53.264] [default-debug] [deepin_anything_server::DASPluginLoaderPrivate::loadPlugin: 157]: "Cannot load library /usr/lib/x86_64-linux-gnu/deepin-anything-server-lib/plugins/handlers/libdde-anythingmonitor.so: (/usr/lib/x86_64-linux-gnu/deepin-anything-server-lib/plugins/handlers/libdde-anythingmonitor.so: undefined symbol: _ZN26ComDeepinAnythingInterfaceC1ERK7QStringS2_RK15QDBusConnectionP7QObject)"

xcc-deepin deepin-anything-monitor[22652]: [2021-04-11, 19:04:53.264] [default-debug] [deepin_anything_server::DASPluginLoaderPrivate::loadPlugin: 150]: PluginLoader::PluginLoader() looking at "/usr/lib/x86_64-linux-gnu/deepin-anything-server-lib/plugins/handlers/libupdate-lft.so"

xcc-deepin deepin-anything-monitor[22652]: [2021-04-11, 19:04:53.264] [default-debug] [deepin_anything_server::DASPluginLoaderPrivate::loadPlugin: 210]: file last modified: QDateTime(2021-04-01 17:49:39.000 CST Qt::LocalTime)

xcc-deepin deepin-anything-monitor[22652]: [2021-04-11, 19:04:53.264] [default-debug] [deepin_anything_server::DASPluginLoaderPrivate::loadPlugin: 150]: PluginLoader::PluginLoader() looking at "/usr/lib/x86_64-linux-gnu/deepin-anything-server-lib/plugins/handlers/README.txt"

xcc-deepin deepin-anything-monitor[22652]: [2021-04-11, 19:04:53.264] [default-debug] [deepin_anything_server::DASPluginLoaderPrivate::loadPlugin: 157]: "'/usr/lib/x86_64-linux-gnu/deepin-anything-server-lib/plugins/handlers/README.txt' is not an ELF object"

xcc-deepin deepin-anything-monitor[22652]: [2021-04-11, 19:04:53.268] [default-critical] [deepin_anything_server::Server::run: 54]: Failed on open: /proc/vfs_changes "没有那个文件或目录"

xcc-deepin systemd[1]: deepin-anything-monitor.service: Main process exited, code=exited, status=2/INVALIDARGUMENT

xcc-deepin systemd[1]: deepin-anything-monitor.service: Failed with result 'exit-code'.

注:执行sudo journalctl -u deepin-anything-monitor.service命令查看服务日志,也发现同样的报错:

xcc-deepin systemd[1]: deepin-anything-monitor.service: Service RestartSec=10s expired, scheduling restart.

xcc-deepin systemd[1]: deepin-anything-monitor.service: Scheduled restart job, restart counter is at 147.

xcc-deepin systemd[1]: Stopped Deepin anything service.

xcc-deepin systemd[1]: Started Deepin anything service.

xcc-deepin deepin-anything-monitor[22814]: [2021-04-11, 19:05:54.759] [default-debug] [deepin_anything_server::DASPluginLoaderPrivate::DASPluginLoaderPrivate: 97]

xcc-deepin deepin-anything-monitor[22814]: [2021-04-11, 19:05:54.759] [default-debug] [deepin_anything_server::DASPluginLoader::DASPluginLoader: 336]: watch: "/usr/lib/x86_64-linux-gnu/dee

xcc-deepin deepin-anything-monitor[22814]: [2021-04-11, 19:05:54.759] [default-debug] [deepin_anything_server::DASPluginLoader::update: 365]: PluginLoader::PluginLoader() checking director

xcc-deepin deepin-anything-monitor[22814]: [2021-04-11, 19:05:54.760] [default-debug] [deepin_anything_server::DASPluginLoaderPrivate::loadPlugin: 150]: PluginLoader::PluginLoader() lookin

xcc-deepin deepin-anything-monitor[22814]: [2021-04-11, 19:05:54.765] [default-debug] [deepin_anything_server::DASPluginLoaderPrivate::loadPlugin: 157]: "Cannot load library /usr/lib/x86_6

xcc-deepin deepin-anything-monitor[22814]: [2021-04-11, 19:05:54.765] [default-debug] [deepin_anything_server::DASPluginLoaderPrivate::loadPlugin: 150]: PluginLoader::PluginLoader() lookin

xcc-deepin deepin-anything-monitor[22814]: [2021-04-11, 19:05:54.766] [default-debug] [deepin_anything_server::DASPluginLoaderPrivate::loadPlugin: 210]: file last modified: QDateTime(2021-

xcc-deepin deepin-anything-monitor[22814]: [2021-04-11, 19:05:54.766] [default-debug] [deepin_anything_server::DASPluginLoaderPrivate::loadPlugin: 150]: PluginLoader::PluginLoader() lookin

xcc-deepin deepin-anything-monitor[22814]: [2021-04-11, 19:05:54.766] [default-debug] [deepin_anything_server::DASPluginLoaderPrivate::loadPlugin: 157]: "'/usr/lib/x86_64-linux-gnu/deepin-

xcc-deepin deepin-anything-monitor[22814]: [2021-04-11, 19:05:54.770] [default-critical] [deepin_anything_server::Server::run: 54]: Failed on open: /proc/vfs_changes "没有那个文件或目录"

xcc-deepin systemd[1]: deepin-anything-monitor.service: Main process exited, code=exited, status=2/INVALIDARGUMENT

xcc-deepin systemd[1]: deepin-anything-monitor.service: Failed with result 'exit-code'.

 

说明

相比于之前正常的时候,多了一行错误Failed on open: /proc/vfs_changes "没有那个文件或目录"。

这个文件我完全没有头绪,需要继续往下排查。

 

实践及结果

最近的操作,卸载open-jdk-11,安装了Wine游戏助手(Debian/Ubuntu/Deepin/UOS/Fedora/Arch下安装Wine游戏助手),因为需要运行战网和炉石传说,装了一个utools,装了一个snap包管理。

安装好snap后,多了一个100m的挂载点,不知道跟这个有没有关系,如下图所示:

在Deepin 20.2中安装snapd后会导致系统监视器无法打开或闪退

运行:

sudo apt autoremove --purge snapd

卸载snap后正常恢复正常,挂载点消失。

安装snapd正常,重启正常:

sudo apt install snapd

再安装一个snap包:

$ sudo snap install bw  

请输入密码

验证成功

INFO Waiting for restart...

bw 1.15.1 from 8bit Solutions LLC (bitwarden) installed

到了这时,Deepin 20.2系统监视器打不开了,所以它跟snap是有关系的。

 

推断

如果升级至Deepin 20.2后出现系统监视器无法打开或者闪退问题,请看一下系统中是否有snap,可把它卸载一下。

 

相关主题

在Ubuntu 16.04中安装和使用图形化网络监视器Etherape

精选文章
热门文章