我尝试通过 Synaptic 更新我的软件包,但我有一段时间没有更新了,所以花了一段时间。更新时我收到一个错误,说我破坏了软件包,需要使用 来修复它apt-get install -f
,似乎是因为 Synaptic 在更新过程中变得没有响应/崩溃了。我无法关闭 Synaptic,因此我开始进行故障排除,并在某个时候单击重新启动以查看会遇到什么样的错误,但它实际上重新启动了,但是 xserver 无法启动,因此没有桌面环境。我尝试apt-get install -f
通过 tty2 再次运行,但它给了我某种错误并告诉我执行命令sudo dpkg --configure -a
。经过这个过程,我的桌面可以使用了,看起来也没有错误,但没有我的主题。
这次我apt-get install -f
成功运行,然后完成了更新,全部在 tty2 中,因为我无法在桌面上打开终端窗口。更新完成后,我重新启动到桌面,如下所示。登录屏幕看起来不是这样的,只有桌面环境看起来像这样,而且这种效果也会影响桌面上的所有应用程序。除此之外,桌面环境 100% 可用。我还查看了 .xsession-errors,错误似乎记录在这里,但我不知道如何处理此信息。
Window manager warning: Log level 128: unsetenv() is not thread-safe and should not be used after threads are created
Window manager warning: Log level 128: Name com.canonical.AppMenu.Registrar does not exist on the session bus
(process:4238): indicator-sound-WARNING **: 14:53:04.099: volume-control-pulse.vala:744: Unable to connect to dbus server at 'unix:path=/run/user/10>
(process:4238): indicator-sound-WARNING **: 14:53:04.119: media-player-list-mpris.vala:66: unable to find application 'vlc.desktop'
(caja:4195): Gtk-WARNING **: 14:53:04.782: Failed to register client: GDBus.Error:org.gnome.SessionManager.AlreadyRegistered: Unable to register cli>
** (process:4382): WARNING **: 14:53:05.057: could not find the desktop file for 'org.gnome.Calendar.desktop'
(process:4382): Indicator-Datetime-WARNING **: 14:53:05.127: Unrecognized TZID: 'Etc/Utc'
(process:4382): Indicator-Datetime-WARNING **: 14:53:05.148: Unrecognized TZID: 'Etc/Utc'
(process:4382): Indicator-Datetime-WARNING **: 14:53:05.270: Unrecognized TZID: 'Etc/Utc'
(nm-applet:4289): Gtk-WARNING **: 14:53:05.434: Can't set a parent on widget which has a parent
(mate-settings-daemon:4164): Gtk-WARNING **: 14:53:05.937: Negative content width -2 (allocation 4, extents 3x3) while allocating gadget (node image>
blueman-applet 14.53.06 WARNING PluginManager:147 __load_plugin: Not loading DhcpClient because its conflict has higher priority
blueman-applet 14.53.06 WARNING PluginManager:147 __load_plugin: Not loading PPPSupport because its conflict has higher priority
RuntimeError: object at 0x7ff91a7bc880 of type FolderColorMenu is not initialized
RuntimeError: object at 0x7ff91aa079c0 of type RenameMenu is not initialized
Window manager warning: Log level 128: posix_spawn avoided (automatic reaping requested) (fd close requested) (child_setup specified)
(nm-applet:4289): Gtk-CRITICAL **: 14:53:09.424: gtk_widget_destroy: assertion 'GTK_IS_WIDGET (widget)' failed
(nm-applet:4289): Gtk-CRITICAL **: 14:53:09.424: gtk_widget_destroy: assertion 'GTK_IS_WIDGET (widget)' failed
(nm-applet:4289): Gtk-WARNING **: 14:53:09.429: Can't set a parent on widget which has a parent
(nm-applet:4289): Gtk-CRITICAL **: 14:53:09.434: gtk_widget_destroy: assertion 'GTK_IS_WIDGET (widget)' failed
(nm-applet:4289): Gtk-CRITICAL **: 14:53:09.434: gtk_widget_destroy: assertion 'GTK_IS_WIDGET (widget)' failed
(nm-applet:4289): Gtk-WARNING **: 14:53:09.440: Can't set a parent on widget which has a parent
INFO:root:The HUD is disabled via org.mate.hud in gsettings.