我刚刚安装了 Ubuntu 16.04.1。然后我更新了系统和语言。之后当我打开软件时,它会打开并崩溃。
我尝试通过命令行打开它但它抛出此错误:
$ gnome-software
(gnome-software:6730): 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
(gnome-software:6730): 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
(gnome-software:6730): 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
(gnome-software:6730): 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
(gnome-software:6730): 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
(gnome-software:6730): GLib-ERROR **: Creating pipes for GWakeup: Too many open files
Trace/breakpoint trap (core dumped)
答案1
这个解决方案对我有用:
sudo apt-get autoremove gnome-software
sudo apt-get install gnome-software
答案2
我的全新 XPX13 Ubuntu 16.04 也遇到了这个问题。
gnome-software
启动后运行良好,但过了一段时间在寻找包时开始停滞。
我发现终止并重新启动它可以解决问题。(仅仅退出是不够的)
$ ps aux |grep software
emmanuel 2047 1.0 2.5 1863956 208864 ? SLl avr08 15:26 /usr/bin/gnome-software --gapplication-service
root 3197 0.0 0.1 201940 14704 ? Sl avr08 0:00 python3 /usr/lib/software-properties/software-properties-dbus
emmanuel 32301 0.0 0.0 14264 944 pts/18 S+ 13:11 0:00 grep --color=auto software
$ killall gnome-software