Usermin upgrade fails, missing perl-exporter-tiny?

SYSTEM INFORMATION
OS type and version AlmaLinux 8.8
Webmin version 2.101
Usermin version 1.861
Virtualmin version 7.7
Theme version 21.04

Trying to upgrade Usermin to v2.001-1 fails with,

Last metadata expiration check: 0:12:23 ago on Fri Aug 18 13:10:34 2023.
Error: 
 Problem: package perl-List-MoreUtils-0.428-2.el8.noarch requires perl(Exporter::Tiny), but none of the providers can be installed
  - cannot install both usermin-2.001-1.noarch and usermin-1.861-1.noarch
  - cannot install the best update candidate for package usermin-1.861-1.noarch
  - problem with installed package perl-List-MoreUtils-0.428-2.el8.noarch
(try to add '--allowerasing' to command line to replace conflicting packages or '--skip-broken' to skip uninstallable packages or '--nobest' to use not only best candidate packages)

.. install failed!

If I use dnf update --nobest I get

Last metadata expiration check: 0:34:45 ago on Fri 18 Aug 2023 01:10:34 PM BST.
Dependencies resolved.

 Problem 1: package python3-future-0.18.3-4.el8.noarch obsoletes python2-future < 0.18.3-4.el8 provided by python2-future-0.18.2-2.el7.noarch
  - package python2-parsedatetime-2.4-6.el7.noarch requires python2-future, but none of the providers can be installed
  - cannot install the best update candidate for package python2-future-0.18.2-2.el7.noarch
  - problem with installed package python2-parsedatetime-2.4-6.el7.noarch
 Problem 2: package perl-List-MoreUtils-0.428-2.el8.noarch requires perl(Exporter::Tiny), but none of the providers can be installed
  - cannot install both usermin-2.001-1.noarch and usermin-1.861-1.noarch
  - cannot install the best update candidate for package usermin-1.861-1.noarch
  - problem with installed package perl-List-MoreUtils-0.428-2.el8.noarch
================================================================================
 Package        Architecture  Version         Repository                   Size
================================================================================
Skipping packages with conflicts:
(add '--best --allowerasing' to command line to force their upgrade):
 usermin        noarch        2.001-1         virtualmin-universal         16 M

Transaction Summary
================================================================================
Skip  1 Package

It seems to me that I am perhaps missing some modules,

python2-future
perl-exporter-tiny

Is that where my problem lies, if so what would be the best way to install them?

Edit: do I perhaps use dnf update --allowerasing ?

dnf update --best --allowerasing

This worked. I’ll know for next time.

1 Like

This topic was automatically closed 8 days after the last reply. New replies are no longer allowed.