diff --git a/depSolver.go b/depSolver.go index 100f296e..044cb9b9 100644 --- a/depSolver.go +++ b/depSolver.go @@ -280,6 +280,10 @@ func (ds *depSolver) findSatisfierAurCache(dep string) *rpc.Pkg { } } + if !config.Provides && providers.Len() >= 1 { + return providers.Pkgs[0] + } + if providers.Len() == 1 { return providers.Pkgs[0] }