由于错误“没有提供 python3.8dist(python-magic)”而无法升级到 fedora

由于错误“没有提供 python3.8dist(python-magic)”而无法升级到 fedora

我正在使用 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!

我尝试再次安装该软件包 -

    $ sudo dnf install PackageKit-glib
    Last metadata expiration check: 0:04:10 ago on Tue 01 Dec 2020 02:42:17 AM EST.
    Package PackageKit-glib-1.1.13-3.fc32.x86_64 is already installed.
    Package PackageKit-glib-1.1.13-3.fc32.i686 is already installed.
    Dependencies resolved.
    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

以下是我的系统中 Python 版本的详细信息 -

    $ which python
    /usr/bin/python
    $ which python3
    /usr/bin/python3
    $ python --version
    Python 3.8.6
    $ python3 --version
    Python 3.8.6
    

我该如何解决上述问题?

答案1

我做到了sudo dnf remove PackageKit-glib -y,然后升级

相关内容