While istalling any package i am getting and error

I am using Rocky Linux 9, if i install any packages i am getting an error stating that.

Error: There are no enabled repositories in “/etc/yum.repos.d”, “/etc/yum/repos.d”, “/etc/distro.repos.d”.

But in the repository path i can see the repos config file.

total 32
-rw-r–r–. 1 root root 1552 Apr 14 17:22 epel-testing.repo
-rw-r–r–. 1 root root 1457 Jun 14 01:01 epel.repo
-rw-r–r–. 1 root root 6586 Apr 27 01:35 rocky-addons.repo
-rw-r–r–. 1 root root 1161 Apr 27 01:35 rocky-devel.repo
-rw-r–r–. 1 root root 2385 Jun 14 01:01 rocky-extras.repo
-rw-r–r–. 1 root root 3414 Jun 14 01:01 rocky.repo
-rw–w----. 1 root root 280 Jun 15 01:04 sdcss.repo

Can any one help me on this issue

Even though repositories may exist, it does not mean they are enabled. You or another user likely went and set enabled=0 under each repository. I would see this page for information on what repositories are typically enabled by default on Rocky Linux.

dnf repolist all will how you all the repo’s that are enabled

So I need to change from enabled=0 to enabled=1 on each repository?

Thanks @nazunalika , after enabling to 1 i can able to sync the repo & can install the packages.