Manual Arduino Due Installation
I had the same problem described above. 
Error downloading http://downloads.arduino.cc/packages/package_index.json

I solved the problem, just deleting the temporary file: "package_index.json.tmp"