Ubuntu18.04软件-属性-gtk失败时,我试图打开软件&更新它没有打开,当我试图sudo 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 173, 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.136 was not provided by any .service files我试着重新安装软件-属性-gtk,但它没有工作,我也尝试重新安装python-6个包推荐的其他博客,但也没有解决我的问题。
发布于 2021-01-17 12:42:19
尝试以下几点
sudo apt reinstall python3-six python3-certifi我在18.04和20.04上都经历了几个月的痛苦。我是在其中一个论坛上得到这个答案的,它起了作用。
发布于 2020-09-10 23:21:10
可能是相同的问题,解决方案是共享的这里。
据蒂姆·理查森说:
软件包python3 3-6已经安装好了(我的软件包经理说)。当我重新安装这个软件包时,软件属性-gtk又起作用了。
您可以尝试安装python-6软件包并重新安装软件-properties-gtk后果。
sudo apt install python-six或者您可能想通过pip安装它。
pip install six安装python-6软件包后,重新安装软件-properties-gtk
sudo apt install --reinstall software-properties-gtk希望它能解决你的问题。
https://askubuntu.com/questions/1274193
复制相似问题