升级到 19.04 后,软件和更新应用程序无法启动

升级到 19.04 后,软件和更新应用程序无法启动

当我单击“软件和更新”应用程序图标时什么也没有发生,当我尝试运行“/usr/bin/software-properties-gtk”时,出现以下错误:

ERROR:dbus.proxies:Introspect error on :1.961:/: 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 172, in __init__
    self.backend.Reload();
  File "/usr/lib/python3/dist-packages/dbus/proxies.py", line 70, in __call__
    return self._proxy_method(*args, **keywords)
  File "/usr/lib/python3/dist-packages/dbus/proxies.py", line 145, in __call__
    **keywords)
  File "/usr/lib/python3/dist-packages/dbus/connection.py", line 651, in call_blocking
    message, timeout)
dbus.exceptions.DBusException: org.freedesktop.DBus.Error.ServiceUnknown: The name :1.961 was not provided by any .service files

答案1

问题出在requests_unixsocket上,它需要idna,而我没有,解决办法是sudo pip3 install idna

相关内容