Arduino IDE 1.6.7 will not upload to Leonardo

I am trying to upload the Blink example to a Leonardo board from my RaspberryPi using IDE 1.6.7. I continue to get the error message: avrdude: error at /usr/share/arduino/hardware/tools/avrdude.conf:332:programmer type must be written as "id_type"

I can upload code to the board from my Windows running OS 8, but not from the RaspberryPi.

I have tried several of the solutions that i found on the forum related to this problem but none of them works for my situation.

The code in avrdude.conf starting at line 330 is id = "wiring"; desc = "Wiring"; type = wiring; ;

I have been stuck for the last two days. Any help would really be appreciated.