更新管理器在 Ubuntu Mate 16.04 上崩溃

更新管理器在 Ubuntu Mate 16.04 上崩溃

我注意到我的计算机不会自动更新,而且每当软件更新程序提示我进行新的更新时,当我单击它时它就会消失。

跑步

sudo apt-get upgrade

工作并正确更新,但是当我运行

update-manager

它崩溃并出现以下错误:

/usr/bin/update-manager:28: PyGIWarning: Gtk was imported without specifying a version first. Use gi.require_version('Gtk', '3.0') before import to ensure that the right version gets loaded.
  from gi.repository import Gtk
/usr/lib/python3/dist-packages/UpdateManager/UnitySupport.py:29: PyGIWarning: Dbusmenu was imported without specifying a version first. Use gi.require_version('Dbusmenu', '0.4') before import to ensure that the right version gets loaded.
  from gi.repository import Dbusmenu, Unity
/usr/lib/python3/dist-packages/UpdateManager/UnitySupport.py:29: PyGIWarning: Unity was imported without specifying a version first. Use gi.require_version('Unity', '7.0') before import to ensure that the right version gets loaded.
  from gi.repository import Dbusmenu, Unity

(update-manager:4386): GLib-CRITICAL **: g_hash_table_destroy: assertion 'hash_table != NULL' failed

(update-manager:4386): GLib-CRITICAL **: g_hash_table_destroy: assertion 'hash_table != NULL' failed
Exception ignored in: <object repr() failed>
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/gi/overrides/GLib.py", line 253, in __del__
  File "<frozen importlib._bootstrap>", line 969, in _find_and_load
  File "<frozen importlib._bootstrap>", line 954, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 887, in _find_spec
TypeError: 'NoneType' object is not iterable

我在两台不同的笔记本电脑上都遇到了这个问题。我该如何修复它?

相关内容