How to search if a package is available or not in a particular repository using dnf ?
For example this command works- # sudo dnf --enablerepo=updates-testing --refresh --best install geany-1.30.1-1.fc25
It shows me the list of packages to be installed with dependencies resolved.
But when i try -# sudo dnf --enablerepo=updates-testing search geany-1.30.1-1.fc25
This is what i get:
Last metadata expiration check: 0:01:04 ago on Tue Mar 21 09:48:13 2017.
Error: No matches found.
Even when i try this command-# sudo dnf --enablerepo=updates-testing info geany
it gives me the package information.
So why doesn't the search option works if its available for download ? how do i search then for a particular package in a particular repository.