FS#72999 - IgnorePkg affects also not installed dependencies

Attached to Project: Pacman
Opened by Tomas (Tomaqa) - Monday, 13 December 2021, 15:18 GMT
Last edited by Allan McRae (Allan) - Sunday, 04 December 2022, 02:18 GMT
Task Type Bug Report
Category Backend/Core
Status Closed
Assigned To No-one
Architecture All
Severity Medium
Priority Normal
Reported Version 6.0.0
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Summary and Info:
A package `<pkg>` that is in IgnorePkg needs a dependency `<dep_pkg>`, that is also in IgnorePkg. None of these packages is installed yet (!)
In this case, it is not possible to install the package without specifying its dependency explicitly.
I suppose that this is not correct behavior, since IgnorePkg is not for preventing packages from being installed, but it is for preventing packages from being upgraded.

Steps to Reproduce:
pacman --ignore <pkg> --ignore <dep_pkg> -S <pkg>

This would work:
pacman --ignore <pkg> --ignore <dep_pkg> -S <pkg> <dep_pkg>
This task depends upon

Closed by  Allan McRae (Allan)
Sunday, 04 December 2022, 02:18 GMT
Reason for closing:  Not a bug
Comment by Tomas (Tomaqa) - Monday, 13 December 2021, 15:53 GMT
Note: the approach with explicitly installing `<dep_pkg>` "works", but marks the package as explicit, not as a dependency.
Comment by Allan McRae (Allan) - Monday, 13 December 2021, 22:53 GMT
This seems to be expected behaviour to me.

Loading...