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#27660 - Handle case where group and package has the same name
Attached to Project:
Pacman
Opened by Magnus Therning (magus) - Wednesday, 21 December 2011, 14:58 GMT
Last edited by Allan McRae (Allan) - Sunday, 31 January 2016, 05:15 GMT
Opened by Magnus Therning (magus) - Wednesday, 21 December 2011, 14:58 GMT
Last edited by Allan McRae (Allan) - Sunday, 31 January 2016, 05:15 GMT
|
DetailsSummary and Info:
In some unfortunate cases there have been a group with the same name as a package, it is then not possible to install the group directly. See the discussion in https://mailman.archlinux.org/pipermail/arch-general/2011-April/019670.html Steps to Reproduce: Currently "systemd" is both a package and group in [community]. $ sudo pacman -Sg systemd systemd initscripts-systemd systemd systemd systemd systemd-arch-units $ sudo pacman -S systemd resolving dependencies... looking for inter-conflicts... Targets (1): systemd-37-2 Total Download Size: 0.79 MB Total Installed Size: 5.11 MB Proceed with installation? [Y/n] Suggestion: Would it not be good to be able to distinguish between groups and packages when calling 'pacman -S', e.g. by postfixing the group name ('pacman -S systemd/group' maybe)? |
This task depends upon
Closed by Allan McRae (Allan)
Sunday, 31 January 2016, 05:15 GMT
Reason for closing: Won't implement
Sunday, 31 January 2016, 05:15 GMT
Reason for closing: Won't implement
Side note: someone oughta smack the guy who did this. ;)
1) 95% of the time, people are installing packages, not groups.
2) Old database format had to load every single sync desc and depends file to get the list of groups; this was super expensive. This doesn't hold anymore, obviously.
I personally am a -1 on changing it that way; I feel like groups are only a helper, and an explicit package name should take preference, but that could just be me being stubborn.
```
# pacman -Sg rust
rust cargo
rust rust
rust rust-docs
```
How about users having to specify it explicitly when they are installing a group? CentOS/RHEL 7/6 uses "yum group install 'Development Tools'" and I've also seen "yum install @development-tools". A flag would also be possible.
Explicit is better than implicit, right?