Software 'duds' can be remedied.
For hardware - it's not easy to spot a system that's been ridden hard and put away wet. There's always a chance you'll get system that's a tired old horse that looks good on the outside.
Probably your best option is to confirm the parts are known to be good quality.
Any buyer-protection system in place for your purchase (ebay?)?