You are not logged in.
Is it possible for Arch Linux repository maintainers to change the default provider of a package?
[root@f ~]# LC_ALL=C.UTF-8 pacman -S netcat
:: There are 2 providers available for netcat:
:: Repository extra
1) gnu-netcat 2) openbsd-netcat
Enter a number (default=1): 2
gnu-netcat really shouldn't be the default as it is more than 21 years old and has no IPv6 support. openbsd-netcat should be the default. Is this possible to change or is it alphabetically sorted?
Offline
Mod note: moving to Pacman Issues.
Sakura:-
Mobo: MSI MAG X570S TORPEDO MAX // Processor: AMD Ryzen 9 5950X @4.9GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD
Making lemonade from lemons since 2015.
Offline
according to the issue page it's getting removed so it will be a non issue soon™
Offline
I'll try to look into it, from a first glance it should either be dropped or made ranking behind the openbsd variant.
Offline
Fwwi, nc (openbsd), netcat (gnu) and ncat (nmap) are not fully compatible implementations of the same concept.
A generic dependency will only work for basic invocation by the client process and if any user has some local scripts depending on gnu-netcat, simply replacing that w/ nc can cause weird failure b/c of colliding parameters (notably -t) or missing features.
You're almost looking at a java-like situation…
Compatible w/ all three:
https://github.com/marlam/msmtp/blob/ma … tpq/msmtpq has "nc -vz"
https://github.com/ugoviti/synbak/blob/ … s.sh#L1436 checks for netcat or nc and only uses "-w"
Hard-depends on openbsd-netcat:
https://archlinux.org/packages/extra/any/cloud-init/
https://archlinux.org/packages/extra/x86_64/libvirt/
Open question: https://archlinux.org/packages/extra/x86_64/zed/
The rest are make/check dependencies.
Offline