FS#19866 - Error if a package listed for sync is also in ignore

Attached to Project: Pacman
Opened by Taylan Ulrich B. (taylanub) - Sunday, 20 June 2010, 00:31 GMT
Last edited by Allan McRae (Allan) - Wednesday, 30 June 2010, 13:28 GMT
Task Type Bug Report
Category General
Status Closed
Assigned To Dan McGee (toofishes)
Architecture All
Severity Medium
Priority Normal
Reported Version 3.4.0
Due in Version 3.4.1
Due Date Undecided
Percent Complete 100%
Votes 1
Private No

Details

If a package listed explicitly for syncing (i.e. `pacman -S foo bar baz`) is also ignored (via IgnorePkg, IgnoreGroup, or "--ignore"), AND if the user says no when he is asked if he wants to install it anyway, the following error is given and pacman quits immediately:
error: '<name_of_package>': could not find or read package

I know it's an illogical situation, but it's a bug anyway.

Attachment shows output of `pacman -S dash --ignore dash --debug`.

(This doesn't seem to happen with dependancies, or when doing -Su.)
(There's a different bug with group installations:  FS#19854 )
This task depends upon

Closed by  Allan McRae (Allan)
Wednesday, 30 June 2010, 13:28 GMT
Reason for closing:  Fixed
Additional comments about closing:  git commit 6c00ca8f
Comment by Dan McGee (toofishes) - Sunday, 20 June 2010, 20:24 GMT
I have a fix for this that will be sent to the ML shortly.
Comment by Allan McRae (Allan) - Wednesday, 30 June 2010, 13:27 GMT
Is fixed on the maint branch so will be in 3.4.1

> sudo src/pacman/pacman -S dash --ignore dash
:: dash is in IgnorePkg/IgnoreGroup. Install anyway? [Y/n] n
warning: skipping target: dash
there is nothing to do

Loading...