Getting this error trying to update:
No available modular metadata for modular package ‘nginx-filesystem-2:1.26.3-9.module+el9.8.0+40222+e48d13b6.1.noarch’; cannot be installed on the system
Getting this error trying to update:
No available modular metadata for modular package ‘nginx-filesystem-2:1.26.3-9.module+el9.8.0+40222+e48d13b6.1.noarch’; cannot be installed on the system
Have you tried using --refresh?
On my system:
[root@rocky9 jdieter]# dnf --refresh install nginx
Extra Packages for Enterprise Linux 9 - x86_64 27 kB/s | 19 kB 00:00
Extra Packages for Enterprise Linux 9 openh264 (From Cisco) - 2.5 kB/s | 993 B 00:00
Rocky Linux 9 - BaseOS 2.5 kB/s | 833 B 00:00
Rocky Linux 9 - AppStream 2.6 kB/s | 833 B 00:00
Rocky Linux 9 - Extras 3.0 kB/s | 3.1 kB 00:01
Rocky Linux 9 - Extras 9.7 kB/s | 17 kB 00:01
Rocky Linux 9 - Security 20 kB/s | 3.1 kB 00:00
Dependencies resolved.
===============================================================================================
Package Arch Version Repository Size
===============================================================================================
Installing:
nginx x86_64 2:1.26.3-9.module+el9.8.0+40222+e48d13b6.1 appstream 32 k
Installing dependencies:
nginx-core x86_64 2:1.26.3-9.module+el9.8.0+40222+e48d13b6.1 appstream 661 k
nginx-filesystem noarch 2:1.26.3-9.module+el9.8.0+40222+e48d13b6.1 appstream 9.9 k
rocky-logos-httpd noarch 90.17-1.el9 appstream 24 k
Transaction Summary
===============================================================================================
Install 4 Packages
Total download size: 727 k
Installed size: 2.0 M
Is this ok [y/N]:
Yes. The error occurred originally via updating from cockpit but it also happens when updating from the command line via dnf update --refresh. I don’t actually have nginx installed so I don’t know why I have nginx filesystem package. I’m wondering if I can safely remove it
use this
dnf module switch-to php:8.3
and
dnf module switch-to nginx:1.26
next
dnf update --refresh
I just removed nginx-filesystem. I don’t know why that was installed.
Just for anyone else having this issue, As I was too.
Initially I was getting the following…
Dependencies resolved.
Package Architecture Version Repository Size
Upgrading:
nginx x86_64 2:1.26.3-9.module+el9.8.0+40222+e48d13b6.1 appstream 32 k
nginx-core x86_64 2:1.26.3-9.module+el9.8.0+40222+e48d13b6.1 appstream 661 k
nginx-filesystem noarch 2:1.26.3-9.module+el9.8.0+40222+e48d13b6.1 appstream 9.9 k
Transaction Summary
Upgrade 3 Packages
Total download size: 703 k
Is this ok [y/N]: y
Downloading Packages:
(1/3): nginx-1.26.3-9.module+el9.8.0+40222+e48d13b6.1.x86_64.rpm 480 kB/s | 32 kB 00:00
(2/3): nginx-filesystem-1.26.3-9.module+el9.8.0+40222+e48d13b6.1.noarch.rpm 125 kB/s | 9.9 kB 00:00
(3/3): nginx-core-1.26.3-9.module+el9.8.0+40222+e48d13b6.1.x86_64.rpm 6.7 MB/s | 661 kB 00:00
Total 2.9 MB/s | 703 kB 00:00
Running transaction check
No available modular metadata for modular package 'nginx-2:1.26.3-9.module+el9.8.0+40222+e48d13b6.1.x86_64', it cannot be installed on the system
No available modular metadata for modular package 'nginx-core-2:1.26.3-9.module+el9.8.0+40222+e48d13b6.1.x86_64', it cannot be installed on the system
No available modular metadata for modular package 'nginx-filesystem-2:1.26.3-9.module+el9.8.0+40222+e48d13b6.1.noarch', it cannot be installed on the system
The downloaded packages were saved in cache until the next successful transaction.
You can remove cached packages by executing 'yum clean packages'.
Error: No available modular metadata for modular package
This is what resolved it for me (thanks @Xino).
dnf module switch-to nginx:1.26
Failed to set locale, defaulting to C.UTF-8
Last metadata expiration check: 0:04:25 ago on Sat Jun 27 18:46:26 2026.
Dependencies resolved.
Package Architecture Version Repository Size
Upgrading:
nginx-filesystem noarch 2:1.26.3-9.module+el9.8.0+40194+40adfc1b appstream 9.7 k
Enabling module streams:
nginx 1.26
Transaction Summary
Upgrade 1 Package
Total download size: 9.7 k
Is this ok [y/N]: y
Downloading Packages:
nginx-filesystem-1.26.3-9.module+el9.8.0+40194+40adfc1b.noarch.rpm 103 kB/s | 9.7 kB 00:00
Total 53 kB/s | 9.7 kB 00:00
Running transaction check
Transaction check succeeded.
Running transaction test
Transaction test succeeded.
Running transaction
Preparing : 1/1
Running scriptlet: nginx-filesystem-2:1.26.3-9.module+el9.8.0+40194+40adfc1b.noarch 1/2
Upgrading : nginx-filesystem-2:1.26.3-9.module+el9.8.0+40194+40adfc1b.noarch 1/2
Cleanup : nginx-filesystem-2:1.20.1-28.el9_8.2.rocky.0.1.noarch 2/2
Running scriptlet: nginx-filesystem-2:1.20.1-28.el9_8.2.rocky.0.1.noarch 2/2
Verifying : nginx-filesystem-2:1.26.3-9.module+el9.8.0+40194+40adfc1b.noarch 1/2
Verifying : nginx-filesystem-2:1.20.1-28.el9_8.2.rocky.0.1.noarch 2/2
Upgraded:
nginx-filesystem-2:1.26.3-9.module+el9.8.0+40194+40adfc1b.noarch
Complete!
Hope this helps others. ![]()
This was a compose error on our part that @skip77 fixed. You should now only get nginx-1.26 if you enable the module. Our apologies for the error. We’re putting in some extra checks to ensure it doesn’t happen again.