自从 16.04 以来,新软件中心就一直存在问题。首先,它无法安装任何依赖它的东西,需要使用单独的软件包安装程序。现在,突然之间,ubuntu-software 无法打开;它会加载一些内容,然后在打开后几秒钟内强制关闭。我希望在发布 LTS 之前,这些东西都能正常工作。这真的有点令人尴尬。14.04 从来没有遇到过这些问题。
无论如何,以下是从那里启动时终端输出的内容。帮忙吗?
shantelle@G505:~$ ubuntu-software
(ubuntu-software:15531): 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:15531): 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:15531): 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:15531): 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:15531): 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:15531): GLib-CRITICAL **: g_dir_read_name: assertion 'dir != NULL' failed
(ubuntu-software:15531): GdkPixbuf-CRITICAL **: gdk_pixbuf_get_width: assertion 'GDK_IS_PIXBUF (pixbuf)' failed
(ubuntu-software:15531): Gdk-CRITICAL **: gdk_cairo_surface_create_from_pixbuf: assertion 'GDK_IS_PIXBUF (pixbuf)' failed
(ubuntu-software:15531): Gtk-WARNING **: Error loading image 'file:///usr/share/gnome-software/featured-transmission.png': Error opening file: Too many open files
(ubuntu-software:15531): GLib-ERROR **: Creating pipes for GWakeup: Too many open files
Trace/breakpoint trap (core dumped)
答案1
我遇到了同样的问题。我转到“系统设置->详细信息”,然后单击“安装更新”,现在一切就好多了。