There is a new pull request by the-maldridge against master on the void-packages repository https://github.com/the-maldridge/void-packages remove-obsoletes https://github.com/void-linux/void-packages/pull/30147 xbps-src: Add remove-obsoletes command This cleans more than it probably should since it will clean several layers of nesting. We could enable globstar and iterate over everything it finds, but I'm not particularly keen on this. Open to changes on this, looking for feedback. A patch file from https://github.com/void-linux/void-packages/pull/30147.patch is attached