Yum and dnf not find any package

yum install net-snmp
Last metadata expiration check: 1:03:56 ago on Fri Sep 22 08:55:18 2023.
No match for argument: net-snmp
Error: Unable to find a match: net-snmp

here my package repos are enabled, package mangers up to date, also working this in different pc this works

i think here some kind of blockage, or lock in repo this error i am thinking or fire wall issue

guys if anybody have solution of this problem ?

You need to use the name of a package that exists.

Try searching for the package to discover the name.

sudo dnf search snmp

also do that but problem is any package manager not working
all package manager show me error package not found
and this work in different pc

What dnf repolist --all says?
At least fedora and updates are marked as enabled?

1 Like
sudo dnf update

works?

Try:

sudo dnf install --enablerepo=* net-snmp

Net-snmp appears to be in the fedora repo for both F38 and F39. What does dnf list net-snmp show as a result?
For F38 I get

# dnf list net-snmp
Last metadata expiration check: 0:31:14 ago on Fri 22 Sep 2023 09:17:51 AM CDT.
Available Packages
net-snmp.x86_64                                                1:5.9.3-2.fc38                                                 fedora

and the same for F39

# dnf list net-snmp
Last metadata expiration check: 1:22:07 ago on Fri 22 Sep 2023 08:24:45 AM CDT.
Available Packages
net-snmp.x86_64                                                1:5.9.4-1.fc39                                                 fedora

If that does not show the same result for you then it may be a repo config issue for you with dnf.