Noted in FS#23342. When the user attempts to install an ignored package
and answers no when asked whether to install it, pacman bails out with:
"error: target not found: packagename"
This is because satisfiers are not found for the package and execution
continues to process_group(), where the package is treated as a group
(which does not exist).
In addition, test ignore006.py is updated with PACMAN_RETCODE=0 since
saying no to installing an ignored package should not be considered an
error.
Signed-off-by: Pang Yan Han <pangyanhan@gmail.com>
---
src/pacman/sync.c | 7 +++++++
test/pacman/tests/ignore006.py | 2 +-
2 files changed, 8 insertions(+), 1 deletions(-)
On Sat, Mar 19, 2011 at 9:09 AM, Pang Yan Han <pangyanhan@gmail.com> wrote:
> Noted in FS#23342. When the user attempts to install an ignored package
> and answers no when asked whether to install it, pacman bails out with:
>
> "error: target not found: packagename"
>
> This is because satisfiers are not found for the package and execution
> continues to process_group(), where the package is treated as a group
> (which does not exist).
>
> In addition, test ignore006.py is updated with PACMAN_RETCODE=0 since
> saying no to installing an ignored package should not be considered an
> error.
>
> Signed-off-by: Pang Yan Han <pangyanhan@gmail.com>
> ---