如何使用“software-properties-gtk”?

如何使用“software-properties-gtk”?

在 Ubuntu 20.04 上,软件和更新(gui)不起作用。

当我尝试从终端运行时,我得到:

# software-properties-gtk
ERROR:dbus.proxies:Introspect error on :1.136:/: dbus.exceptions.DBusException: org.freedesktop.DBus.Error.NoReply: Message recipient disconnected from message bus without replying
Traceback (most recent call last):
  File "/usr/bin/software-properties-gtk", line 100, in <module>
    app = SoftwarePropertiesGtk(datadir=options.data_dir, options=options, file=file)
  File "/usr/lib/python3/dist-packages/softwareproperties/gtk/SoftwarePropertiesGtk.py", line 211, in __init__
    self.backend.Reload();
  File "/usr/lib/python3/dist-packages/dbus/proxies.py", line 72, in __call__
    return self._proxy_method(*args, **keywords)
  File "/usr/lib/python3/dist-packages/dbus/proxies.py", line 141, in __call__
    return self._connection.call_blocking(self._named_service,
  File "/usr/lib/python3/dist-packages/dbus/connection.py", line 652, in call_blocking
    reply_message = self.send_message_with_reply_and_block(
dbus.exceptions.DBusException: org.freedesktop.DBus.Error.ServiceUnknown: The name :1.136 was not provided by any .service files

我该如何修复此问题?

答案1

我做了很多尝试,但解决这个问题的是这个

sudo aptitude reinstall python3-six python3-certifi

来源:https://ubuntu-mate.community/t/software-updates-fails-to-open/22736/4

答案2

重新安装:(并且一切正常

但可能是 video2x 导致了错误 https://github.com/k4yt3x/video2x/wiki/Run-From-Source-Code

相关内容