SYSTEM INFORMATION
OS type and version: AlmaLinux 10.3 (Mauve Lion), upgraded from 10.2
Webmin version: 2.670 installed, 2.680 blocked
Virtualmin version: 8.3.0 GPL (wbm-virtual-server-8.3.0.gpl-1)
Webserver version: Apache httpd 2.4.63 (httpd-2.4.63-13.el10_2.8)
Related packages: dnf-4.20.0-28.el10.alma.1, wbm-jailkit-1.1-1, wbm-php-pear-1.6-1, wbm-ruby-gems-1.9-1, virtualmin-gpl-release-7.1-1
Problem: dnf update fails to update webmin 2.670 → 2.680:
Error:
Problem: cannot install both webmin-2.680-1.noarch from virtualmin-noarch and webmin-2.670-1.noarch from @System
- package wbm-jailkit-1.1-1.noarch from @System requires /usr/libexec/webmin, but none of the providers can be installed
- cannot install the best update candidate for package webmin-2.670-1.noarch
- cannot install the best update candidate for package wbm-jailkit-1.1-1.noarch
--allowerasing would remove three plugins (preview with --assumeno):
Upgrading:
webmin noarch 2.680-1 virtualmin-noarch 29 M
Removing dependent packages:
wbm-jailkit noarch 1.1-1 @virtualmin-noarch 53 k
wbm-php-pear noarch 2:1.6-1 @virtualmin-noarch 49 k
wbm-ruby-gems noarch 2:1.9-1 @virtualmin-noarch 53 k
Nothing obsoletes these plugins, and the repo has no newer builds of them.
What appears to be the cause: the plugins require the directory path rather than the package:
# dnf repoquery --requires wbm-jailkit wbm-php-pear wbm-ruby-gems | sort -u
/bin/sh
/usr/bin/perl
/usr/libexec/webmin
wbm-virtual-server
webmin-2.680 doesn’t explicitly provide that path:
# dnf repoquery --provides webmin-2.680
config(webmin) = 2.680-1
perl(WebminCore)
webmin = 2.680-1
webmin-custom
webmin-nftables
webmin-postgresql
It does still ship the directory:
# dnf repoquery -l webmin-2.680 | grep -x /usr/libexec/webmin
/usr/libexec/webmin
dnf on EL10 doesn’t load filelists metadata by default (optional_metadata_types = is empty), so it can’t match the path requirement against the repo package. The installed 2.670 only satisfies it through the local rpmdb.
Workaround, confirmed with --assumeno: with filelists loaded, the update resolves with nothing removed:
# dnf update --setopt=optional_metadata_types=filelists --assumeno
Upgrading:
webmin noarch 2.680-1 virtualmin-noarch 29 M
Transaction Summary
Upgrade 1 Package
Suggested fix: change these plugins to Requires: webmin (the package name) instead of the path, or add Provides: /usr/libexec/webmin to the webmin spec.
Question: can you confirm the --setopt=optional_metadata_types=filelists workaround is safe to use until fixed packages are published? I’ve held off updating Webmin until I hear back. I’d also like to keep wbm-jailkit installed, since I plan to enable jails later.