avrdude: AVR Part "m328p" not found.

Hi Folks,

I just got my arduino board and try to get a LED to blink.

now I get this error when uploading through the gui:

avrdude: AVR Part "m328p" not found.

Valid parts are:
  m6450 = ATMEGA6450      [/usr/share/arduino-0017/hardware/tools/avrdude.conf:12304]
  m3250 = ATMEGA3250      [/usr/share/arduino-0017/hardware/tools/avrdude.conf:12115]
  m645 = ATMEGA645       [/usr/share/arduino-0017/hardware/tools/avrdude.conf:11926]
  m325 = ATMEGA325       [/usr/share/arduino-0017/hardware/tools/avrdude.conf:11737]
  usb1287 = AT90USB1287     [/usr/share/arduino-0017/hardware/tools/avrdude.conf:11549]
  usb1286 = AT90USB1286     [/usr/share/arduino-0017/hardware/tools/avrdude.conf:11360]
  usb647 = AT90USB647      [/usr/share/arduino-0017/hardware/tools/avrdude.conf:11171]
  usb646 = AT90USB646      [/usr/share/arduino-0017/hardware/tools/avrdude.conf:10981]
  t84  = ATtiny84        [/usr/share/arduino-0017/hardware/tools/avrdude.conf:10798]
  t44  = ATtiny44        [/usr/share/arduino-0017/hardware/tools/avrdude.conf:10616]
  t24  = ATtiny24        [/usr/share/arduino-0017/hardware/tools/avrdude.conf:10434]
  m2561 = ATMEGA2561      [/usr/share/arduino-0017/hardware/tools/avrdude.conf:10241]
  m2560 = ATMEGA2560      [/usr/share/arduino-0017/hardware/tools/avrdude.conf:10048]
  m1281 = ATMEGA1281      [/usr/share/arduino-0017/hardware/tools/avrdude.conf:9860]
  m1280 = ATMEGA1280      [/usr/share/arduino-0017/hardware/tools/avrdude.conf:9671]
  m640 = ATMEGA640       [/usr/share/arduino-0017/hardware/tools/avrdude.conf:9483]
  t85  = ATtiny85        [/usr/share/arduino-0017/hardware/tools/avrdude.conf:9302]
  t45  = ATtiny45        [/usr/share/arduino-0017/hardware/tools/avrdude.conf:9123]
  t25  = ATtiny25        [/usr/share/arduino-0017/hardware/tools/avrdude.conf:8943]
  pwm3b = AT90PWM3B       [/usr/share/arduino-0017/hardware/tools/avrdude.conf:8762]
  pwm2b = AT90PWM2B       [/usr/share/arduino-0017/hardware/tools/avrdude.conf:8579]
  pwm3 = AT90PWM3        [/usr/share/arduino-0017/hardware/tools/avrdude.conf:8396]
  pwm2 = AT90PWM2        [/usr/share/arduino-0017/hardware/tools/avrdude.conf:8212]
  t2313 = ATtiny2313      [/usr/share/arduino-0017/hardware/tools/avrdude.conf:8025]
  m168 = ATMEGA168       [/usr/share/arduino-0017/hardware/tools/avrdude.conf:7837]
  m88  = ATMEGA88        [/usr/share/arduino-0017/hardware/tools/avrdude.conf:7651]
  m48  = ATMEGA48        [/usr/share/arduino-0017/hardware/tools/avrdude.conf:7464]
  t861 = ATTINY861       [/usr/share/arduino-0017/hardware/tools/avrdude.conf:7276]
  t461 = ATTINY461       [/usr/share/arduino-0017/hardware/tools/avrdude.conf:7087]
  t261 = ATTINY261       [/usr/share/arduino-0017/hardware/tools/avrdude.conf:6898]
  t26  = ATTINY26        [/usr/share/arduino-0017/hardware/tools/avrdude.conf:6741]
  m8535 = ATMEGA8535      [/usr/share/arduino-0017/hardware/tools/avrdude.conf:6583]
  m8515 = ATMEGA8515      [/usr/share/arduino-0017/hardware/tools/avrdude.conf:6425]
  m8   = ATMEGA8         [/usr/share/arduino-0017/hardware/tools/avrdude.conf:6265]
  m161 = ATMEGA161       [/usr/share/arduino-0017/hardware/tools/avrdude.conf:6125]
  m32  = ATMEGA32        [/usr/share/arduino-0017/hardware/tools/avrdude.conf:5950]
  m6490 = ATMEGA6490      [/usr/share/arduino-0017/hardware/tools/avrdude.conf:5757]
  m649 = ATMEGA649       [/usr/share/arduino-0017/hardware/tools/avrdude.conf:5572]
  m3290p = ATMEGA3290P     [/usr/share/arduino-0017/hardware/tools/avrdude.conf:5389]
  m3290 = ATMEGA3290      [/usr/share/arduino-0017/hardware/tools/avrdude.conf:5204]
  m329p = ATMEGA329P      [/usr/share/arduino-0017/hardware/tools/avrdude.conf:5019]
  m329 = ATMEGA329       [/usr/share/arduino-0017/hardware/tools/avrdude.conf:4835]
  m169 = ATMEGA169       [/usr/share/arduino-0017/hardware/tools/avrdude.conf:4655]
  m163 = ATMEGA163       [/usr/share/arduino-0017/hardware/tools/avrdude.conf:4512]
  m162 = ATMEGA162       [/usr/share/arduino-0017/hardware/tools/avrdude.conf:4316]
  m644p = ATMEGA644P      [/usr/share/arduino-0017/hardware/tools/avrdude.conf:4126]
  m644 = ATMEGA644       [/usr/share/arduino-0017/hardware/tools/avrdude.conf:3936]
  m324p = ATMEGA324P      [/usr/share/arduino-0017/hardware/tools/avrdude.conf:3745]
  m164p = ATMEGA164P      [/usr/share/arduino-0017/hardware/tools/avrdude.conf:3554]
  m16  = ATMEGA16        [/usr/share/arduino-0017/hardware/tools/avrdude.conf:3376]
  c32  = AT90CAN32       [/usr/share/arduino-0017/hardware/tools/avrdude.conf:3185]
  c64  = AT90CAN64       [/usr/share/arduino-0017/hardware/tools/avrdude.conf:2995]
  c128 = AT90CAN128      [/usr/share/arduino-0017/hardware/tools/avrdude.conf:2805]
  m128 = ATMEGA128       [/usr/share/arduino-0017/hardware/tools/avrdude.conf:2627]
  m64  = ATMEGA64        [/usr/share/arduino-0017/hardware/tools/avrdude.conf:2446]
  m103 = ATMEGA103       [/usr/share/arduino-0017/hardware/tools/avrdude.conf:2306]
  8535 = AT90S8535       [/usr/share/arduino-0017/hardware/tools/avrdude.conf:2185]
  8515 = AT90S8515       [/usr/share/arduino-0017/hardware/tools/avrdude.conf:2071]
  4434 = AT90S4434       [/usr/share/arduino-0017/hardware/tools/avrdude.conf:1988]
  4433 = AT90S4433       [/usr/share/arduino-0017/hardware/tools/avrdude.conf:1864]
  2343 = AT90S2343       [/usr/share/arduino-0017/hardware/tools/avrdude.conf:1740]
  2333 = AT90S2333       [/usr/share/arduino-0017/hardware/tools/avrdude.conf:1655]
  2313 = AT90S2313       [/usr/share/arduino-0017/hardware/tools/avrdude.conf:1542]
  4414 = AT90S4414       [/usr/share/arduino-0017/hardware/tools/avrdude.conf:1429]
  1200 = AT90S1200       [/usr/share/arduino-0017/hardware/tools/avrdude.conf:1314]
  t15  = ATtiny15        [/usr/share/arduino-0017/hardware/tools/avrdude.conf:1181]
  t13  = ATtiny13        [/usr/share/arduino-0017/hardware/tools/avrdude.conf:1008]
  t12  = ATtiny12        [/usr/share/arduino-0017/hardware/tools/avrdude.conf:875]
  t11  = ATtiny11        [/usr/share/arduino-0017/hardware/tools/avrdude.conf:811]

I am an a gentoo box with:

0:501:kai@desktop ~ [0]$ eix arduino
[I] dev-embedded/arduino
     Available versions:  (~)0015-r1!b!s (~)0017!b!s {java}
     Installed versions:  0017!b!s(16:54:06 13.06.2010)(java)
     Description:         Arduino is an open-source AVR electronics prototyping platform

0:502:kai@desktop ~ [0]$ eix avrdude
[I] dev-embedded/avrdude
     Available versions:  5.4 5.5 ~5.8 {doc}
     Installed versions:  5.5(16:34:54 13.06.2010)(-doc)
     Description:         AVR Downloader/UploaDEr

* dev-embedded/gnome-avrdude
     Available versions:  ~0.1 {debug}
     Description:         GNOME GUI for avrdude

2 Treffer.
0:503:kai@desktop ~ [0]$ eix avr-libc
* dev-embedded/avr-libc
     Available versions:  1.6.2 ~1.6.4 ~1.6.8 {crosscompile_opts_headers-only doc nls}
     Description:         C library for Atmel AVR microcontrollers

0:504:kai@desktop ~ [0]$

What's the problem here? thanks

Your avrdude version is outdated, just like the version of the arduino software you're using. The latest one is V18, use it.

The latest version of avrdude is something like 5.10