allow packages in the cache's installed to be selected for installation by the solver. add test case for the issue.