![无法在 18.04 上打开软件属性-gtk](https://linux22.com/image/1166585/%E6%97%A0%E6%B3%95%E5%9C%A8%2018.04%20%E4%B8%8A%E6%89%93%E5%BC%80%E8%BD%AF%E4%BB%B6%E5%B1%9E%E6%80%A7-gtk.png)
当我在终端上输入software-properties-gtk
(sudo -H
无论是否输入)时,出现以下错误:
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.221 was not provided by any .service files
我发现问题可能与idna
包有关,因此我尝试重新安装它,但仍然收到此错误。
还有想法吗?
谢谢