为什么 update-notifier 包含 system-crash-notification?

为什么 update-notifier 包含 system-crash-notification?

在用户会话开始之前,我就多次遇到了“检测到系统程序问题”窗口(我已使用 KDM 自动登录到锁定会话)。

我将其追踪到,xprop/usr/lib/update-notifier/system-crash-notification是二进制文件(而我预计它是某个脚本)并且属于update-notifier包(而我预计它在某个地方apport*)。

PS 单击Report problem...按钮没有任何反应。

$ dpkg -s update-notifier | grep Version
Version: 0.147

$ dpkg -L update-notifier | grep system-crash
/usr/lib/update-notifier/system-crash-notification

$ grep RELEASE /etc/lsb-release
DISTRIB_RELEASE=13.10

LP 上的相同问题:https://answers.launchpad.net/ubuntu/+source/update-notifier/+question/239040

答案1

我遇到了同样的问题,即在启动桌面时出现错误对话框。

我使用 krunner 显示系统活动(在我的 Kubuntu 上按 ctrl+esc)。然后我找到了“system-crash-notification”进程,并使用右键菜单中的“跳转到父级”沿进程树向上移动。对我来说,lightdm 位于树的顶部。因此,我尝试重新安装 lightdm(sudo apt-get install --reinstall lightdm lightdm-kde-greeter),安装完成但未能修复错误。

然后我检查了 /var/log/lightdm/ 中的 lightdm 日志,x-0-greeter.log 显示了一些 IBus 错误。不过我对 IBus 的模糊记忆表明这些是正常的。

因此,我改为使用apt-file search system-crash-notification来查找负责的软件包,看看是否可以转储它。结果发现 update-notifier 的依赖项未安装,因此我清除了 update-notifier(在 aptitude 中,但您可以使用 来执行此操作sudo apt-get remove --purge update-notifier update-notifier-kde)。

这样就解决了问题,现在重新启动时没有错误通知对话框。这可能不是修复此问题的最佳方法,但它有效并且系统运行稳定。

答案2

sudo apt-get install update-notifier-kde 在我安装它之前也遇到了同样的问题。似乎它默认没有安装它。

相关内容