until -package:base-compat -package:distribution-opensuse package:classy-prelude is:exact

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