我正在尝试使用构建一个包jhbuild
,当我运行时sysdeps --install
,它会运行并尝试使用PackageKit 安装东西。
当它这样做时,它会显示,例如llvm-devel;3.5.0-6.fc21;x86_64;updates
,但我不再使用 fc21,最终尝试下载时超时。如果我手动安装所有依赖项,它会继续,但我宁愿修复根本原因。
我尝试了一些显而易见的方法,例如重建 rpmdb、清除各种缓存、删除 PackageKit 数据库文件和运行 pkcon 修复,但这些都没有帮助。
另外,如果我使用 dnf 或 pkcon 列出存储库,它们都显示为 fc23。不知道下一步该看哪里。
示例输出:
$ cat /etc/fedora-release
Fedora release 23 (Twenty Three)
$ jhbuild sysdeps --install gnome-weather
System installed packages which are new enough:
<long and unnecessary output removed>
Required packages:
System installed packages which are too old:
(none)
No matching system package installed:
libarchive (libarchive.pc, required=3.0.0)
Optional packages: (JHBuild will build the missing packages)
System installed packages which are too old:
(none)
No matching system package installed:
I: Installing dependencies on system: libarchive
I: Installing:
libarchive-devel;3.1.2-10.fc21;x86_64;fedora
E: PackageKit: cannot download Packages/l/libarchive-devel-3.1.2-10.fc21.x86_64.rpm to /var/cache/PackageKit/metadata/fedora/packages/: Cannot download Packages/l/libarchive-devel-3.1.2-10.fc21.x86_64.rpm: All mirrors were tried
I: Complete!