Id go the illy if you have to get it from a supermarket, Illy uses good beans and roasts them well, Illy packaging prevents them going rancid, *although it will lack the richness and flavor of fresh coffee. IMO they need to be used up in a few hours or they become like any other stale coffee.
Some supermarkets are becoming a bit more aware of coffee and introducing products that have roast dates etc. If its roasted within a reasonable time i would choose that.
Personally i found it to hard to get to a roasters regularly and supermarket coffee sucks.
I can recommend home roasting