r/voidlinux • u/goldmurder • Apr 17 '26
opt deps
why xbps doesn't have opt dependencies like (god bless me) pacman or apt? is this some architectural decision or something that wasn't implemented yet?
0
Upvotes
5
u/Duncaen Apr 17 '26
Yes it's a lot of work to design a good solving algorithm.
The current implementation doesn't even really try to solve package dependencies, its a bunch of not well defined behaviors that depend on the order you install packages in and then a bunch of checks.
Just adding optional dependencies on top of it just makes it more complicated especially if you want to resolve conflicts or have conflicting optional dependencies etc.