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#49954 - New dependency type: "enhances"
Attached to Project:
Pacman
Opened by felix (fstirlitz) - Tuesday, 05 July 2016, 08:50 GMT
Last edited by Allan McRae (Allan) - Monday, 10 October 2016, 12:50 GMT
Opened by felix (fstirlitz) - Tuesday, 05 July 2016, 08:50 GMT
Last edited by Allan McRae (Allan) - Monday, 10 October 2016, 12:50 GMT
|
DetailsSemantics would be as follows: when a package has "enhances" dependencies, but none of the packages listed in "enhances" are installed, the package is considered unused (for the purposes of listing in pacman -Qt). Otherwise the package is considered used. "Enhances" dependencies may not block removal of enhanced packages; pacman may warn about "enhancing" packages becoming orphaned when an "enhanced" package is removed.
The primary use case for this would be debug packages (which currently use "requires", whose semantics is quite unsuited for this purpose), but I'm confident it can find other uses as well. |
This task depends upon
Please upgrade and give explications why optdepend and enhance are differents
Pacman's own pacman-debug package relies on "depends=(pacman)", and not, as stated by OP on "requires", which incidentally, I can't find in `man PKGBUILD`. I don't understand the difference, though, as there is a good tool to remove all packages that depend on a package, which is pacman -Rc.
Unless there are any follow-ups, I'd like to suggest to WONTFIX this task until the end of the year.