[pacman-dev] [PATCHv2] libalpm: Search for replacers before literals

Allan McRae allan at archlinux.org
Mon Mar 4 04:59:09 EST 2013


On 04/03/13 18:48, Olivier Brunel wrote:
> Since 882bff36 literals would be searched before replacers, resulting in a
> package being replaced by another not actually being replaced under certain
> conditions (e.g. they're both in the same repo).
> 
> This change effectively reversed the expectations in test sync132. This patch
> switches the order back to replacers first, thus making sure if a package is
> replacing another one, the change will always happen, even if both are in the
> same repo.
> 
> Note that a package replacing another one in a repo with higher priority will
> not be done, see FS#11737 and test sync1105
> 
> Signed-off-by: Olivier Brunel <i.am.jack.mail at gmail.com>
> ---
> Now includes a test for the case described in FS#11737.
> 
> This patch is in addition to the other patch (to not reinstall a replaced
> package), so I called this new test sync1105 to avoid conflicts.
> 

Signed-off-by: Allan




More information about the pacman-dev mailing list