I had never really thought about it before, but it turns out that there are a number of package manager related patents: nesbitt.io/2026/06/08/p...
A reference list of patents and applications relevant to package manager design, with notes on prior art.
nesbitt.io
Andrew Nesbitt