28 Mar
2023
28 Mar
'23
3:47 p.m.
Hi LW,
A possible workaround could be to identify the virtual provides and choose a sensible provider for them.
Those sensible choices would be entered in a set F that will be installed with --asdeps BEFORE set E.
Ah, that's given me an idea. On machine A, I could ‘pacman -Qqd’ to get set D: all packages installed as dependencies. This will include those I've carefully picked to satisfy a virtual package. On machine B, I install set D with ‘--asdeps --needed’ before installing explicitly-installed set E. On this second run, pacman will find the virtual package's dependencies are already met and no questions will arise. Will that work? Is it a more complete answer for the wiki? -- Cheers, Ralph.