solver: do not consider packages in cache as 'available'
'available' really means 'available in one or more configured repository'. Cache is not a repository we track, so those are only available for installation, but not available as preferred to be installed from repository. fixes #2831.
Showing with 16 additions and 5 deletions