diff options
author | Nagy Gabor <ngaba@petra.hos.u-szeged.hu> | 2007-07-25 14:47:46 +0200 |
---|---|---|
committer | Dan McGee <dan@archlinux.org> | 2007-08-20 15:24:28 -0400 |
commit | 13525255dcd257e69d7c246bf32ceb263fbc31b9 (patch) | |
tree | b0c7da95ad565899a6095d26e431e7207b4b48cb /lib/libalpm/deps.c | |
parent | b1808930ce45a034981626fc20bbc7920890899e (diff) |
Add sync1003 pactest.
The sync package pkg3 depends on the sync package pkg2, but pkg1 replaces pkg2.
So pkg2 is added to the remove list.
When checkdeps checks if pkg2 can be removed, it looks at the packages that require pkg2
(with the RequiredBy field of pkg2), but this doesn't contain pkg3 at this point.
RequiredBy fields are only updated after the packages are installed.
Proposed solution : checkdeps should know both the remove and upgrade list to decide properly.
Reference:
http://www.archlinux.org/pipermail/pacman-dev/2007-July/008972.html
Signed-off-by: Chantry Xavier <shiningxc@gmail.com>
Diffstat (limited to 'lib/libalpm/deps.c')
0 files changed, 0 insertions, 0 deletions