This question is a follow-up to this recent question and related to that one.
Is there an easy example of an (infinite-dimensional) Banach space $X$ and a non-empty compact set $K \subset \mathbb{C}$ that can't be the spectrum of a bounded operator $A: X \to X$?
Of course, if $X$ contains an infinite-dimensional Hilbert space as a norm one complemented subspace and $\emptyset \neq K \subset \mathbb{C}$ is an arbitrary compact set then we can produce an operator $A: X \to X$ such that $\sigma(A) = K$.
As Jonas Meyer pointed out in his answer, the recent breakthrough by Argyros and Haydon settling the long-standing scalar-plus-compact problem (see Gowers's blog entry for some background) shows that there is a space with the property that the only possbile spectra of bounded operators are the countable and compact subsets of $\mathbb{C}$ with at most one accumulation point. (Update: Jonas Meyer has added further information and pointers to the literature to his answer, I'll refrain from repeating this information here since I couldn't add anything of interest.) But these examples are definitely far more involved than I would like them to be. If it turns out that the example has to be so difficult for some reason that eludes me, I'd like to hear about that, too.
More optimistically, one might ask:
Are there known classes of infinite-dimensional Banach spaces for which there is a characterization of the compact subsets of $\mathbb{C}$ that may arise as spectra of bounded operators?
A nice answer to this optimistic question would be: The class of such-and-such Banach spaces has the property that only/precisely the, say, totally disconnected compact subsets of $\mathbb{C}$ arise as spectra of bounded operators. Update: In view of the question in the title, I'm of course most interested in answers that exclude certain compact subsets of $\mathbb{C}$.
Update 2: I asked a slightly updated version of this question on MathOverflow.