"all but at most one" - What does it mean?

"At most one" means zero or one.

"All but at most one" means "all" (all minus zero) or "all but one" (all minus one).

But wow, what a confusing sentence!