Historical bug tracker for the Pacman package manager.
The pacman bug tracker has moved to gitlab:
https://gitlab.archlinux.org/pacman/pacman/-/issues
This tracker remains open for interaction with historical bugs during the transition period. Any new bugs reports will be closed without further action.
The pacman bug tracker has moved to gitlab:
https://gitlab.archlinux.org/pacman/pacman/-/issues
This tracker remains open for interaction with historical bugs during the transition period. Any new bugs reports will be closed without further action.
FS#64566 - [pacman] package repo is ignored in PkgIgnore and --ignore
Attached to Project:
Pacman
Opened by Dario (dario86) - Tuesday, 19 November 2019, 02:41 GMT
Last edited by morganamilo (morganamilo) - Tuesday, 19 November 2019, 02:51 GMT
Opened by Dario (dario86) - Tuesday, 19 November 2019, 02:41 GMT
Last edited by morganamilo (morganamilo) - Tuesday, 19 November 2019, 02:51 GMT
|
DetailsIf multiple repos have a package with the same name, the repo from which the package is to be installed can be specified as in «pacman -S [repository name]/[package name]». However if multiple repos have a package with the same name, a package from a specific repo cannot be ignored.
Example: I have two repos in pacman.conf: the first is [alpha] and the second is [bravo]. Both repos contain a package named «foo». I can install «foo» from [bravo] with «pacman -S bravo/foo». The problem is that if I want to ignore the same package in [alpha], the name of the repo, in this case [alpha], is ignored if you put «--ignore alpha/foo» on the command line. It is ignored in IgnorePkg as well. |
This task depends upon
Closed by morganamilo (morganamilo)
Tuesday, 19 November 2019, 02:51 GMT
Reason for closing: Duplicate
Additional comments about closing: See FS#20361
Tuesday, 19 November 2019, 02:51 GMT
Reason for closing: Duplicate
Additional comments about closing: See FS#20361
I'm not even sure why it would make sense to ignore a package only from one repository. If you're ignoring updates to the software it should not matter which repository level it came from. pacman will *always* only see the first candidate for the package, unless you specify pacman -S repo/pkgname or -U ./pkgfile which circumvents the usual filtering logic.