刚刚运行了常规软件更新,没有异常。提示我重新启动,所以我重新启动了,但一旦登录,程序就ubuntu-software
“崩溃了”(窗口短暂打开,然后消失)。
重新启动了几次以确保这不是故障,并尝试从终端运行它以查看错误消息:
$ ubuntu-software
(ubuntu-software:6610): Gs-WARNING **: Failed to create permission org.freedesktop.packagekit.trigger-offline-update: GDBus.Error:org.freedesktop.PolicyKit1.Error.Failed: Action org.freedesktop.packagekit.trigger-offline-update is not registered
(ubuntu-software:6610): Gs-WARNING **: Failed to create permission org.freedesktop.packagekit.trigger-offline-update: GDBus.Error:org.freedesktop.PolicyKit1.Error.Failed: Action org.freedesktop.packagekit.trigger-offline-update is not registered
(ubuntu-software:6610): Gs-WARNING **: Failed to create permission org.freedesktop.packagekit.trigger-offline-update: GDBus.Error:org.freedesktop.PolicyKit1.Error.Failed: Action org.freedesktop.packagekit.trigger-offline-update is not registered
(ubuntu-software:6610): Gs-WARNING **: Failed to create permission org.freedesktop.packagekit.trigger-offline-update: GDBus.Error:org.freedesktop.PolicyKit1.Error.Failed: Action org.freedesktop.packagekit.trigger-offline-update is not registered
(ubuntu-software:6610): Gs-WARNING **: Failed to create permission org.freedesktop.packagekit.trigger-offline-update: GDBus.Error:org.freedesktop.PolicyKit1.Error.Failed: Action org.freedesktop.packagekit.trigger-offline-update is not registered
(ubuntu-software:6610): GLib-CRITICAL **: g_dir_read_name: assertion 'dir != NULL' failed
(ubuntu-software:6610): Gtk-WARNING **: Error loading image 'file:///usr/share/gnome-software/featured-inkscape.png': Error opening file: Too many open files
(ubuntu-software:6610): GLib-ERROR **: Creating pipes for GWakeup: Too many open files
Trace/breakpoint trap (core dumped)
不知道它们之间有什么关系(通常手动使用),但另一方面,apt install
该程序似乎运行良好。不过令人讨厌的是,双击软件包似乎会调用;尝试这样做会打开一个带有软件包描述和“安装”按钮的窗口(像往常一样),但单击按钮会关闭该窗口。仍然可以手动安装,但最好知道为什么会发生这种情况以及如何修复它。software-center
.deb
ubuntu-software
dpkg -i