avrdude error

I had this very same problem with my brand new arduino nano v3.0
It turned out that my nano had a 168 chip, not 328, wich i was certain it had. When this was corrected in the IDE, everything works great.