until -package:numeric-prelude -package:base-prelude -package:distribution-opensuse -package:extra -package:rebase -package:snap-core package:conferer -is:exact

This utility function run a list of IO actions and returns the first that return a Just, if no one does, returns Nothing