Python

由於錯誤“沒有提供python3.8dist(python-magic)”而無法升級到fedora

  • December 7, 2020

我正在使用 Fedora 32。我做到了sudo dnf update -y

我得到以下錯誤 -

$ sudo dnf update -y
Last metadata expiration check: 1:24:24 ago on Mon 30 Nov 2020 04:42:35 PM EST.
Dependencies resolved.

Problem: cannot install the best update candidate for package lutris-0.5.7.1-1.fc32.x86_64
- nothing provides python3.8dist(python-magic) needed by lutris-0.5.8-1.fc32.x86_64
=================================================================================================
Package             Architecture        Version                      Repository            Size
=================================================================================================
Skipping packages with broken dependencies:
lutris              x86_64              0.5.8-1.fc32                 updates              819 k
Transaction Summary
=================================================================================================
Skip  1 Package

Nothing to do.
Complete!

我的作業系統詳細資訊是

$ lsb_release -a
LSB Version:    :core-4.1-amd64:core-4.1-noarch
Distributor ID: Fedora
Description:    Fedora release 32 (Thirty Two)
Release:        32
Codename:       ThirtyTwo

我該如何解決上述問題?

一般來說,您可以通過以下方式解決此類問題:

  1. 解除安裝存在依賴問題的包,在這種情況下lutris
  2. 執行系統升級,在本例中從 32 升級到 33。
  3. 重新安裝您在步驟 1 中刪除的軟體包。

這可能是最近的錯誤。其他使用者似乎也有這個問題。

引用自:https://serverfault.com/questions/1044482