apk upgrade --available should not consider cache as available repo
When doing apk upgrade —available, apk will consider cached (adn installed?) packages as available. We want it to always prefer the repository version and not the installed when doing —available.
(from redmine: issue id 2831, created on 2014-04-04, closed on 2014-04-17)
- Revision ec1a3d57 by Timo Teräs on 2014-04-04T09:56:13Z:
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.