Welcome to the Pacman bug tracker. Please search the current bugs and feature requests before filing a new one! Use advanced search and select "Search in Comments".

* Please select the correct category and version.
* Write a descriptive summary, background info, and provide a reproducible test case whenever possible.

FS#72999 - IgnorePkg affects also not installed dependencies

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


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

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.