我最近升级到 Fedora 38,当我尝试升级时sudo dnf update
,出现以下错误:
Problem: package libheif-freeworld-1.15.2-1.fc38.x86_64 requires libheif(x86-64) = 1.15.2, but none of the providers can be installed
- cannot install both libheif-1.16.1-1.fc38.x86_64 and libheif-1.15.2-1.fc38.x86_64
- cannot install the best update candidate for package libheif-freeworld-1.15.2-1.fc38.x86_64
- cannot install the best update candidate for package libheif-1.15.2-1.fc38.x86_64
==========================================================================================================================================
Package Architecture Version Repository Size
==========================================================================================================================================
Skipping packages with conflicts:
(add '--best --allowerasing' to command line to force their upgrade):
libheif x86_64 1.16.1-1.fc38 updates 288 k
Transaction Summary
==========================================================================================================================================
Skip 1 Package
Nothing to do.
Complete!
我试过dnf install libheif
从Fedora_文档但这没有用。
答案1
答案2
看起来您的 RPMFusion 存储库有问题 - libheif-freeworld
。也许他们还没有更新软件包。
与此同时,您可以通过以下方式更新:
sudo dnf update --exclude='libheif*'
答案3
以前的答案确实有效,现在有一个更新,我libheif
何时sudo dnf update
获得新更新的软件包:
libheif x86_64 1.16.1-1.fc38 updates 288 k
libheif-freeworld x86_64 1.16.1-1.fc38 rpmfusion-free-updates 51 k
大多数情况下,任何与您类似的问题您可能只需要等待更新即可@拉森&@Artem S.塔什金诺夫说。