diff options
author | Dan McGee <dan@archlinux.org> | 2010-07-26 05:31:55 +0200 |
---|---|---|
committer | Dan McGee <dan@archlinux.org> | 2010-07-27 17:10:55 +0200 |
commit | f8d7cd6b2623a864aa85fbdcdd629f3ff92a631c (patch) | |
tree | 5d32188274a1a57261f7fb9c4b4d17c00f421677 /lib/libalpm/po/remove-potcdate.sin | |
parent | e702f56ea671c6cd1154a0ddb41fa63e97587c85 (diff) | |
download | pacman-f8d7cd6b2623a864aa85fbdcdd629f3ff92a631c.tar.gz pacman-f8d7cd6b2623a864aa85fbdcdd629f3ff92a631c.tar.xz |
Maintain a list of seen packages when installing a group
As reported in FS#20221, we don't always do the right thing when installing
a group and using the --needed option. This was due to the code pulling
packages based on what was already in the transaction's add list, but
completely ignoring the fact that we may have already seen and skipped this
same package in an earlier repository.
Add a list to the private _alpm_sync_pkg() function that allows us to have
this extra information so we don't mistakenly downgrade a package when using
--needed.
Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'lib/libalpm/po/remove-potcdate.sin')
0 files changed, 0 insertions, 0 deletions