Perl-bignum Broken Dependency

,

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!

2 Likes

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.

1 Like

I did an upgrade and this is fixed now:

Packages Altered:
    Upgrade  perf-5.16.5-200.fc35.x86_64                             @updates
    Upgraded perf-5.15.4-200.fc35.x86_64                             @@System
    Upgrade  perl-Math-BigInt-1:1.9998.25-1.fc35.noarch              @updates
    Upgraded perl-Math-BigInt-1:1.9998.24-1.fc35.noarch              @@System
    Upgrade  perl-Math-BigInt-FastCalc-0.501.200-1.fc35.x86_64       @updates
    Upgraded perl-Math-BigInt-FastCalc-0.501.100-1.fc35.x86_64       @@System
    Upgrade  perl-Math-BigRat-0.2618-1.fc35.noarch                   @updates
    Upgraded perl-Math-BigRat-0.2617-2.fc35.noarch                   @@System
    Upgrade  perl-bignum-0.60-1.fc35.noarch                          @updates
    Upgraded perl-bignum-0.53-2.fc35.noarch                          @@System
    Upgrade  pipewire-0.3.45-1.fc35.x86_64                           @updates
    Upgraded pipewire-0.3.44-1.fc35.x86_64                           @@System
    Upgrade  pipewire-alsa-0.3.45-1.fc35.x86_64                      @updates
    Upgraded pipewire-alsa-0.3.44-1.fc35.x86_64                      @@System
    Upgrade  pipewire-gstreamer-0.3.45-1.fc35.x86_64                 @updates
    Upgraded pipewire-gstreamer-0.3.44-1.fc35.x86_64                 @@System
    Upgrade  pipewire-jack-audio-connection-kit-0.3.45-1.fc35.x86_64 @updates
    Upgraded pipewire-jack-audio-connection-kit-0.3.44-1.fc35.x86_64 @@System
    Upgrade  pipewire-libs-0.3.45-1.fc35.x86_64                      @updates
    Upgraded pipewire-libs-0.3.44-1.fc35.x86_64                      @@System
    Upgrade  pipewire-pulseaudio-0.3.45-1.fc35.x86_64                @updates
    Upgraded pipewire-pulseaudio-0.3.44-1.fc35.x86_64                @@System
    Upgrade  pipewire-utils-0.3.45-1.fc35.x86_64                     @updates
    Upgraded pipewire-utils-0.3.44-1.fc35.x86_64                     @@System
    Upgrade  rpmdevtools-9.6-1.fc35.noarch                           @updates
    Upgraded rpmdevtools-9.5-2.fc35.noarch                           @@System

Yep, looks like it is fixed now.

1 Like