until -package:snap-core -package:elerea -package:conferer -package:foundation package:cabal-install-solver is:exact

until p f yields the result of applying f until p holds.