FS#25691 - Pacman should let explicitly requested packages take precendence over those in groups
|
Details
Summary and Info:
Allow Pacman to recognise when an explicitly requested package is a replacement for a package that is being installed because it is part of a group. Steps to Reproduce: pacman -S base fcron The above command fails because "fcron" conflicts with "cronie" even though "fcron" is a valid substitute for "cronie" and that the command entered did not explicitly ask for "cronie". This feature request is to allow Pacman to recognise that "cronie" was not specifically requested whereas "fcron" was and therefore should take precedence. Pacman should omit "cronie" in this scenario. The current behaviour is a problem when trying to automate installs from scripts because the default behaviour is to react to a conflict by terminating. The suggested use of "pacman base fcron --ignore cronie" also does not work: Pacman reports that "cronie" is in ignorepkg but chooses to install it anyway (the default "Y" selection is taken when scripted -the default here ought to be "N".): pacman -S base fcron --ignore cronie :: Synchronising package databases... downloading core.db... downloading extra.db... downloading community.db... :: cronie is in IgnorePkg/IgnoreGroup. Install anyway? [Y/n] resolving dependencies... looking for inter-conflicts... error: unresolvable package conflicts detected :: cronie and fcron are in conflict (cron) error: failed to install all packages |
This task depends upon