I am having problems in installing updates, it looks like there is a broken dependency with perl-bignum. I can install other updates using --skip-broken. I have tried installing Math::BigInt and Math::BigRat manually using cpan, but dnf still can’t update perl-bignum.
I am seeing this on two different Fedora 35 machines. Does anyone know how to resolve this issue?
# sudo dnf update
Last metadata expiration check: 0:01:30 ago on Fri 04 Feb 2022 01:05:40 PM PST.
Dependencies resolved.
Problem: cannot install the best update candidate for package perl-bignum-0.53-2.fc35.noarch
- nothing provides perl(Math::BigInt) >= 1.999825 needed by perl-bignum-0.60-1.fc35.noarch
- nothing provides perl(Math::BigRat) >= 0.2618 needed by perl-bignum-0.60-1.fc35.noarch
================================================================================
Package Architecture Version Repository Size
================================================================================
Skipping packages with broken dependencies:
perl-bignum noarch 0.60-1.fc35 updates 41 k
Transaction Summary
================================================================================
Skip 1 Package
Nothing to do.
Complete!
On my F35 system I tried installing perl-bignum with this result.
$ sudo dnf install perl-bignum
[sudo] password for jvian:
Last metadata expiration check: 0:10:17 ago on Fri 04 Feb 2022 04:20:12 PM MST.
Dependencies resolved.
Problem: cannot install the best candidate for the job
- nothing provides perl(Math::BigInt) >= 1.999825 needed by perl-bignum-0.60-1.fc35.noarch
- nothing provides perl(Math::BigRat) >= 0.2618 needed by perl-bignum-0.60-1.fc35.noarch
====================================================================================================================================
Package Architecture Version Repository Size
====================================================================================================================================
Installing:
perl-bignum noarch 0.53-2.fc35 fedora 43 k
Installing dependencies:
perl-Math-BigRat noarch 0.2617-2.fc35 fedora 38 k
Skipping packages with broken dependencies:
perl-bignum noarch 0.60-1.fc35 updates 41 k
Note that the perl-Math-BigRat package it is willing to install is a lower version than is needed for perl-bignum 0.60-1.fc35 so it reverts to installing 0.53-2.fc35 instead.
I think you will need to wait for the packages to be available that support the later version of perl-bignum.
The available version of perl-Math-BigInt is 1.9998.24-1 and perl-Math-BigRat is 0.2617-2. Thus perl-bignum cannot be upgraded at present.