[pacman-dev] Alternatives system brainstorm

Daan van Rossum d.r.vanrossum at gmx.de
Sat Oct 19 14:25:11 UTC 2019


* on Saturday, 2019-10-19 22:43 +1000, Allan McRae <allan at archlinux.org> wrote:

> $ pacman -S b
> resolving dependencies...
> :: There are 2 providers available for foo:
> :: Repository test
>    1) a-foo  2) b-foo
> 
> Enter a number (default=1):
> 
> It just picks the wrong one by default...

Maybe pacman can print additional information to help the user choose between the options, such as the number of additional dependencies each of the choices would pull in (recursively), or even press a certain key to list those dependencies.  The options could then also be sorted by this number instead of alphabetically.

This still leaves the issue that default providers are not specified for a base install and that the user gets asked about sh-bash, awk-gawk, cc-gcc.  Even with sensible ordering, the user would have to press "enter" three times...
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: not available
URL: <https://lists.archlinux.org/pipermail/pacman-dev/attachments/20191019/a0f79a40/attachment.sig>


More information about the pacman-dev mailing list