Is there a FOSS only repo like Debain’s main? I couldn’t see anywhere in The official repos if core allows non-free repos.
Is there a FOSS only repo like Debain’s main? I couldn’t see anywhere in The official repos if core allows non-free repos.
Because it adds something that is not essential, so it is not “simple”. If package A depends on package B with an incompatible license then it needs to provide a means to specify alternate packages. Arch follows upstream with best effort possible, so changing dependency could be seen as breaking that. However, pacman already supports choosing alternate packages during installation so technically they could add it, but how many percentage of users are needing that convenience? Not to mention the arch team will need to maintain said list of alternatives for every dependencies. If you want, you can add it yourself via pacman hook to prevent you from accidentally installing non free software, or write a wrapper for pacman, or use other distro like Parabola.
I don’t think this requires any maintenance or swapping out alternatives. Just do a quick license check (I’m pretty sure that already part of package metadata) and put a little warning symbol if it is non-Free.
So if I do something like “pacman -Ss browser” it’ll put little flags against non-Free options so I know to be extra careful to install them.
Yes, that is called a pacman hook. As you expect, it is easy enough to add. You’re welcome to discuss your pull request to the arch maintainer.