Fedora
在 Fedora 35 上使用 builddep 的 setarch i686 找不到儲存庫
想在 Fedora 35 上安裝 32 位建構依賴項,但失敗了,這可能嗎?有沒有辦法解決它?
[root@fedora etc]# setarch i686 dnf builddep wine-devel enabling fedora-source repository enabling fedora-modular-source repository enabling updates-source repository enabling updates-modular-source repository enabling rpmfusion-nonfree-nvidia-driver-source repository enabling rpmfusion-nonfree-steam-source repository Copr repo for PyCharm owned by phracek 176 B/s | 341 B 00:01 Errors during downloading metadata for repository 'phracek-PyCharm': - Status code: 404 for https://copr-be.cloud.fedoraproject.org/results/phracek/PyCharm/fedora-35-i386/repodata/repomd.xml (IP: 52.44.175.77) Error: Failed to download metadata for repo 'phracek-PyCharm': Cannot download repomd.xml: Cannot download repodata/repomd.xml: All mirrors were tried Fedora 35 - i386 8.4 kB/s | 92 kB 00:10 Errors during downloading metadata for repository 'fedora': - Status code: 404 for https://mirrors.fedoraproject.org/metalink?repo=fedora-35&arch=i386 (IP: 152.19.134.142) - Status code: 404 for https://mirrors.fedoraproject.org/metalink?repo=fedora-35&arch=i386 (IP: 8.43.85.67) - Status code: 404 for https://mirrors.fedoraproject.org/metalink?repo=fedora-35&arch=i386 (IP: 38.145.60.21) Error: Failed to download metadata for repo 'fedora': Cannot prepare internal mirrorlist: Status code: 404 for https://mirrors.fedoraproject.org/metalink?repo=fedora-35&arch=i386 (IP: 38.145.60.21) [root@fedora etc]#
這不是您使用 Fedora 找到 32 位建構依賴項的方式。
這些儲存庫都沒有提供 i386 版本的儲存庫。這樣使用
setarch
會使 DNF 認為您在假設的 i386 系統上使用它,因此當它評估 dnf 變數時,它會將$basearch
repo 文件中的擴展為 i386 而不是 x86_64。Fedora 不提供 i386 儲存庫。它包括普通 x86_64 儲存庫中許多庫的 i686 建構。我懷疑您正在使用 Debian 或其他發行版的一些方法。在 Fedora 中,您可以通過執行以下命令安裝 32 位版本的軟體包:
dnf install wine-devel.i686