There's nothing wrong with linear games. Bioshock, Portal and Half Life are about as linear as you can get, and they're great.
I don't really like how sandbox is becoming the thing to strive for and linear is something to be derided, particularly in mediocre games where it's just basically filler.