Fedora 23 已停止安装新程序和更新

Fedora 23 已停止安装新程序和更新

我已经使用 Fedora 23 两个月了,从昨天起,DNF 就停止了安装或升级程序。

这是我在 Yum Extender - Powered by DNF 中收到的错误消息:

g-io-error-quark: GDBus.Error:org.freedesktop.DBus.Python.AttributeError: Traceback (most recent call last):  
File "/usr/lib64/python3.4/site-packages/dbus/service.py", line 707, in _message_cb retval = candidate_method(self, *args, **keywords)  
File "/usr/lib/python3.4/site-packages/dnfdaemon/server/init.py", line 83, in newFunc rc = func(*args, **kwargs)  
File "/usr/share/dnfdaemon/dnfdaemon-system", line 537, in RunTransaction result = self.run_transaction()  
File "/usr/lib/python3.4/site-packages/dnfdaemon/server/init.py", line 564, in run_transaction self._check_gpg_signatures(to_dnl)  
File "/usr/lib/python3.4/site-packages/dnfdaemon/server/init.py", line 713, in _check_gpg_signatures result, errmsg = self.base.sigCheckPkg(po)  
File "/usr/lib/python3.4/site-packages/dnf/util.py", line 79, in getattr % (C.name, name)) AttributeError: 'Base' object has no attribute 'sigCheckPkg' (36)

其他信息:Fedora 23、Mate 桌面。

启用存储库:fedora、updates、rpmfusion-free、rpmfusion-free-updates、rpmfusion-nonfree 和 rpmfusion-nonfree-updates

答案1

这是最近在 F23 和 F24 测试版上发现的一个错误。错误报告可在此处找到bugzilla.redhat.com

他们已经发布了针对此问题的修复程序,可以从此处下载koji.fedoraproject.org/

下载3个非源文件:

dnfdaemon-0.3.16-1.fc23.noarch.rpm
python-dnfdaemon-0.3.16-1.fc23.noarch.rpm
python3-dnfdaemon-0.3.16-1.fc23.noarch.rpm

您需要直接使用 dnf install 命令来安装它们。假设您已将它们下载到 ~/Downloads 文件夹,则可以从命令行按如下方式安装它们:

cd ~/Downloads
sudo dnf install ./dnfdaemon-0.3.16-1.fc23.noarch.rpm ./python-dnfdaemon-0.3.16-1.fc23.noarch.rpm ./python3-dnfdaemon-0.3.16-1.fc23.noarch.rpm 

相关内容