I am attempting to install the Arduino development environment under ubuntu on the 410c board. It should be easy, the instructions I was given say to do the following:
sudo apt-get install arduino-mk
sudo apt-get install arduino
Unfortunately when I try the apt-get gets to the step where it is trying to load openjdk-7-jre-headless, it has one of two problems. 1) it stops loading when it gets to 4945kB/38.6MB,(always the same place) or 2) it finished loading, but then apt-get complains the download is the wrong size and refuses to go any further.
I tried some obvious things (in no particular order):
sudo apt-get install --fix-missing arduino
sudo apt-get clean
sudo apt-get update
Curiously when I attempt the update I always get a duplicate packages error:
Hit http://repo.linaro.org vivid InRelease
Hit http://repo.linaro.org vivid InRelease
Hit http://ports.ubuntu.com vivid InRelease
Hit http://repo.linaro.org vivid/main arm64 Packages
Hit http://repo.linaro.org vivid/main Sources
Hit http://repo.linaro.org vivid/main arm64 Packages
Hit http://ports.ubuntu.com vivid/main Sources
Hit http://ports.ubuntu.com vivid/universe Sources
Ign http://repo.linaro.org vivid/main Translation-en
Ign http://repo.linaro.org vivid/main Translation-en
Hit http://ports.ubuntu.com vivid/main Translation-en
Hit http://ports.ubuntu.com vivid/universe Translation-en
Hit http://ports.ubuntu.com vivid/main arm64 Packages
Hit http://ports.ubuntu.com vivid/universe arm64 Packages
Reading package lists... Done
W: Duplicate sources.list entry http://ports.ubuntu.com/ubuntu-ports/ vivid/main arm64 Packages (/var/lib/apt/lists/ports.ubuntu.com_ubuntu-ports_dists_vivid_main_binary-arm64_Packages)
W: Duplicate sources.list entry http://ports.ubuntu.com/ubuntu-ports/ vivid/universe arm64 Packages (/var/lib/apt/lists/ports.ubuntu.com_ubuntu-ports_dists_vivid_universe_binary-arm64_Packages)
W: You may want to run apt-get update to correct these problems
Any hints on what I need to do to get the Arduino package installed?