# Dnf does not show all packages - Rocky 8

**URL:** <https://forums.rockylinux.org/t/dnf-does-not-show-all-packages-rocky-8/19534>\
**Category:** Rocky Linux Help & Support\
**Created:** [August 28, 2025, 12:13pm UTC](https://forums.rockylinux.org/t/dnf-does-not-show-all-packages-rocky-8/19534 "2025-08-28T12:13:24Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![troth2023](https://avatars.discourse-cdn.com/v4/letter/t/f14d63/32.png) [@troth2023](https://forums.rockylinux.org/u/troth2023)\
**Post date:** [August 28, 2025, 12:13pm UTC](https://forums.rockylinux.org/t/dnf-does-not-show-all-packages-rocky-8/19534/1 "2025-08-28T12:13:24Z")

</div>

In a Rocky 8.10 installation, _dnf_ does not show all packages that are available on the mirror.

On that server, I have (among others) the AppStream repo with URL [http://our-mirror/rocky/8/AppStream/x86\_64/os](http://our-mirror/rocky/8/AppStream/x86_64/os), and I can look directly into that directory on the mirror.

I was asked to install `perl-sigtrap`, which dnf did not find.

In that directory on the mirror, the rpm is there: `perl-sigtrap-1.09-473.module+el8.10.0+1616+0d20cc68.noarch.rpm`

Now, I would be completely fine learning that it is not possible to combine this perl with that perl, perl with module-perl or whatever.

However, I cannot understand why an otherwise working mirror (where I have updated the repo-data in the meanwhile) would have an rpm that is not accessible to dnf on an otherwise working server.

---

<div class="post-metadata">

**Author:** ![iwalker](https://sea2.discourse-cdn.com/flex020/user_avatar/forums.rockylinux.org/iwalker/32/2599_2.png) [@iwalker](https://forums.rockylinux.org/u/iwalker)\
**Post date:** [August 28, 2025, 12:34pm UTC](https://forums.rockylinux.org/t/dnf-does-not-show-all-packages-rocky-8/19534/2 "2025-08-28T12:34:58Z")

</div>

Yeah, it’s a weird one that. On Rocky 9 you can search for it and it appears as a normal package.

```auto
root@rocky9:~# dnf list *sigtrap*
Last metadata expiration check: 3:14:37 ago on Thu 28 Aug 2025 11:18:24 AM CEST.
Installed Packages
perl-sigtrap.noarch 1.09-481.1.el9_6 @appstream

```

unfortunately the same command on RL8 doesn’t show anything. I even checked `dnf module list` on this too, and nothing there either. Even if I attempt to search the devel repo, since according to here: [https://pkgs.org/search/?q=perl-sigtrap](https://pkgs.org/search/?q=perl-sigtrap) it shows up in AppStream and Devel too.

@neil @label do you perhaps know why this package doesn’t show up?

---

<div class="post-metadata">

**Author:** ![label](https://avatars.discourse-cdn.com/v4/letter/l/c5a1d2/32.png) [@label](https://forums.rockylinux.org/u/label)\
**Post date:** [August 28, 2025, 1:39pm UTC](https://forums.rockylinux.org/t/dnf-does-not-show-all-packages-rocky-8/19534/3 "2025-08-28T13:39:57Z")

</div>

It’s a module package. Unless the module is enabled or hotfixes are enabled (not recommended), that package will not show up in a dnf list or repoquery. There’s no other way around this.

If you’re trying to tell dnf to list module packages, you need to use module info.

```auto
[root@cm01 ~]# dnf module info perl | grep sigtrap
                 : perl-sigtrap-0:1.09-473.module+el8.10.0+1616+0d20cc68.noarch
[root@cm01 ~]#

```

Removing the grep will list everything and you can find that this package belongs to perl:5.32.

---

<div class="post-metadata">

**Author:** ![iwalker](https://sea2.discourse-cdn.com/flex020/user_avatar/forums.rockylinux.org/iwalker/32/2599_2.png) [@iwalker](https://forums.rockylinux.org/u/iwalker)\
**Post date:** [August 28, 2025, 1:51pm UTC](https://forums.rockylinux.org/t/dnf-does-not-show-all-packages-rocky-8/19534/4 "2025-08-28T13:51:43Z")

</div>

Thx @label

```auto
root@rocky8:~# dnf module list perl
Last metadata expiration check: 1:21:55 ago on Thu 28 Aug 2025 02:28:26 PM CEST.
Rocky Linux 8 - AppStream
Name Stream Profiles Summary                                           
perl 5.24 common [d], minimal Practical Extraction and Report Language          
perl 5.26 [d][e] common [d], minimal Practical Extraction and Report Language          
perl 5.30 common [d], minimal Practical Extraction and Report Language          
perl 5.32 common [d], minimal Practical Extraction and Report Language          

Hint: [d]efault, [e]nabled, [x]disabled, [i]nstalled

```

with the default being 5.26, then:

```auto
dnf module enable perl:5.32

```

should sort that out and make it available.

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex020/uploads/rockylinux/original/1X/91b7219eec10e30013422e4df76c1d898711a5d5.svg) [@system](https://forums.rockylinux.org/u/system)\
**Post date:** [October 27, 2025, 1:51pm UTC](https://forums.rockylinux.org/t/dnf-does-not-show-all-packages-rocky-8/19534/5 "2025-10-27T13:51:57Z")

</div>

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