diff options
author | Andrew Gregory <andrew.gregory.8@gmail.com> | 2013-05-18 21:53:32 +0200 |
---|---|---|
committer | Allan McRae <allan@archlinux.org> | 2013-06-26 07:32:15 +0200 |
commit | ec831e05f58e3db1c06aadb23a87b5b82ab3ebf3 (patch) | |
tree | 038c95cdd849f1b434c1a75e79ca879754ad634d /lib/libalpm/deps.h | |
parent | 00513823dc9e15c4de12c02f8faa4dd72ca4ee4e (diff) | |
download | pacman-ec831e05f58e3db1c06aadb23a87b5b82ab3ebf3.tar.gz pacman-ec831e05f58e3db1c06aadb23a87b5b82ab3ebf3.tar.xz |
deps.c: check for indirect deps when ordering
On upgrades, indirect dependencies were not being detected if there was
a dependency in between them that was not part of the transaction. For
example, with the dependency chain: pkg1 -> pkg2 -> pkg3, if pkg1 and
pkg3 are being upgraded but not pkg2 pacman would not order pkg1 and
pkg3 properly.
This was particularly problematic when replacements were involved
because the replaced package(s) would be removed at the start of the
transaction. If an install script required the replacer and lacked
a direct dependency, it could fail.
Fixes FS#32764.
Partially fixes FS#23011.
Signed-off-by: Andrew Gregory <andrew.gregory.8@gmail.com>
Signed-off-by: Allan McRae <allan@archlinux.org>
Diffstat (limited to 'lib/libalpm/deps.h')
0 files changed, 0 insertions, 0 deletions