Can only upload one sketch (cannot repeat the operation)

I have a problem uploading sketches to an Arduino Yun connected to my Mac OS X 10.9.4 and using Arduino IDE 1.5.7.

I discovered that after uploading a first sketch (Blink.ino for example), I can no longer repeat the operation and always get the following message:

Connecting to programmer: .avrdude: Send: . [1b] 
avrdude: Send: S [53] 
avrdude: ser_recv(): programmer is not responding
avrdude: butterfly_recv(): programmer is not responding

I have tried ...
1- changing the Arduino IDE 1.5.7 (used the official beta version and several nightly builds)
2- pressing the reset buttons on the board
3- upgrading to OpenWrt-Yun 1.4.1 (did it twice)
4- using different programmers and ports in the Arduino IDE
5- using different USB cables and physical ports
6- uninstalling applications on my Mac that may interfere with the USB ports (LEAP motion, Android File Transfer, ...)

The only thing that does work (but it only works once) is uploading a sketch immediately after rebooting my Mac.

I've noticed that after I get the "programmer is not responding" error message, close all applications, and try to reboot my Mac, it doesn't want to shutdown. I have to force it by pressing the Power On/Off button.

I also read the troubleshooting section (http://www.arduino.cc/en/Guide/Troubleshooting#upload) , but nothing helped.

One last thing. I currently have Java 8 installed

java version "1.8.0_20"
Java(TM) SE Runtime Environment (build 1.8.0_20-b26)
Java HotSpot(TM) 64-Bit Server VM (build 25.20-b23, mixed mode)

I thank you very much in advance.

I found a similar topic as mine: Arduino Yun stuck in "uploading". - Arduino Yún - Arduino Forum

Unfortunately, no solution was found.

As a workaround to this annoying problem, I've started uploading my sketches via WiFi [Tools->Port->Arduino at 192.168.xx.xx (Arduino Yun)] . It's a bit slower but works every time.

We have a problem with maveriks and ide 1.5.7. Can you downgrade to 1.5.6 and retry?

We may have spotted the problem: see IDE 1.5.7 does not load onto yun board on mac OS X 10.9.4 - #10 by federicofissore - Arduino Yún - Arduino Forum

I tried the latest test build, but it failed. See IDE 1.5.7 does not load onto yun board on mac OS X 10.9.4 - Arduino Yún - Arduino Forum

A usable workaround was found. Please see IDE 1.5.7 does not load onto yun board on mac OS X 10.9.4 - Arduino Yún - Arduino Forum