opkg update failed on Arduino Yun

Hi, I've just performed a kernel update on my Arduino Yun. The upgrade apparently went OK. uname seems to return the correct version.

root@Yun:~# uname -a
Linux Yun 3.3.8 #1 Fri Nov 14 08:57:34 CET 2014 mips GNU/Linux

When I try to run opkg update, I get the following errors:

root@Yun:~# opkg update
Downloading http://downloads.arduino.cc/openwrtyun/1/packages/Packages.gz.
Downloading http://downloads.arduino.cc/openwrtyun/1/packages/Packages.sig.
Signature check failed.
Remove wrong Signature file.
Collected errors:
 * opkg_download: Failed to download http://downloads.arduino.cc/openwrtyun/1/packages/Packages.gz: Error.
 * opkg_download: Failed to download http://downloads.arduino.cc/openwrtyun/1/packages/Packages.sig: Error.

Has someone else ran into this same problem? Thanks, Tuan Bui

I also :sob: :sob: :sob:

Hi,
I’ve had similar results (see below). Trying to install node.js.
Could not attach the .sig files in /etc/opkg

FYI: I’m in California. Have plans to demonstrate node.js to
the local node.js community in San Francisco, California
next month. Likely, Joyent & pubnub people will likely be in the room.

Thanks, back to lunch
jesse@munibox.com


root@Arduino:/etc/opkg# uname -a
Linux Arduino 3.3.8 #1 Fri Nov 14 08:57:34 CET 2014 mips GNU/Linux
root@Arduino:/etc/opkg# opkg update
Downloading http://download.linino.org/dogstick/all-in-one/latest/packages//Packages.gz.
Updated list of available packages in /var/opkg-lists/attitude_adjustment.
Downloading http://download.linino.org/dogstick/all-in-one/latest/packages//Packages.sig.
Signature check failed.
Remove wrong Signature file.
root@Arduino:/etc/opkg# ls -l /etc/opkg
-rw-r–r-- 1 root root 0 Nov 14 03:00 secring.gpg
-rw-r–r-- 1 root root 1200 Nov 14 03:00 trustdb.gpg
-rw-r–r-- 1 root root 3836 Nov 14 03:00 trusted.gpg
root@Arduino:/etc/opkg#

I found the downloads.arduino.cc DNS to arduinoide.objects.dreamhost.com (8.7.198.45) to be wrong. change hosts 64.90.32.4 downloads.arduino.cc you can.

Tried. Did not help. It appears {host}.arduino.cc is on CDN
‘traceroute’ indicates as such. Likely a cache problem.

Jesse

root@Arduino:/etc# traceroute 64.90.32.4
traceroute to 64.90.32.4 (64.90.32.4), 30 hops max, 38 byte packets
1 192.168.0.1 (192.168.0.1) 1.193 ms 0.828 ms 0.872 ms
2 cpe-104-32-160-1.socal.res.rr.com (104.32.160.1) 10.847 ms 9.381 ms 8.603 ms
3 tge0-9-0-18.lsajcatj02h.socal.rr.com (76.167.30.185) 10.528 ms 9.195 ms 9.467 ms
4 agg22.lsaicaev02r.socal.rr.com (72.129.18.88) 13.966 ms 16.594 ms 14.121 ms
5 agg26.tustcaft01r.socal.rr.com (72.129.17.2) 18.600 ms 16.076 ms 15.788 ms
6 107.14.19.30 (107.14.19.30) 13.042 ms 14.709 ms 20.407 ms
7 ae3.pr1.lax10.tbone.rr.com (107.14.19.56) 14.558 ms 14.083 ms 14.610 ms
8 fxp0.a0.mia95.adelphiacom.net (66.109.7.38) 16.784 ms 14.288 ms 14.627 ms
9 xe-0-1-0.mpr1.lax103.us.zip.zayo.com (64.125.30.45) 25.359 ms 15.607 ms 15.032 ms
10 64.125.187.174.t00867-02.above.net (64.125.187.174) 17.511 ms 16.451 ms 16.874 ms
11 ip-64-90-32-78.dreamhost.com (64.90.32.78) 20.941 ms ip-64-90-32-72.dreamhost.com (64.90.32.72) 15.052 ms 15.309 ms
12 objects.dreamhost.com (64.90.32.4) 20.582 ms 14.665 ms 15.035 ms
root@Arduino:/etc# traceroute download.linino.org
traceroute to download.linino.org (88.198.63.58), 30 hops max, 38 byte packets
1 192.168.0.1 (192.168.0.1) 1.186 ms 1.002 ms 1.939 ms
2 cpe-104-32-160-1.socal.res.rr.com (104.32.160.1) 10.822 ms 8.404 ms 9.043 ms
3 tge0-9-0-18.lsajcatj02h.socal.rr.com (76.167.30.185) 9.541 ms 10.433 ms 9.109 ms
4 agg22.lsaicaev02r.socal.rr.com (72.129.18.88) 15.294 ms 13.599 ms 15.176 ms
5 agg26.tustcaft01r.socal.rr.com (72.129.17.2) 13.642 ms 13.885 ms 14.970 ms
6 107.14.17.134 (107.14.17.134) 19.375 ms 15.054 ms 15.674 ms
7 ae3.pr1.lax10.tbone.rr.com (107.14.19.56) 14.726 ms 14.689 ms ae2.pr1.lax10.tbone.rr.com (107.14.19.54) 15.901 ms
8 216.156.65.225.ptr.us.xo.net (216.156.65.225) 15.543 ms 14.002 ms 14.456 ms
9 207.88.15.94.ptr.us.xo.net (207.88.15.94) 17.247 ms 15.228 ms 14.648 ms
10 206.111.11.65.ptr.us.xo.net (206.111.11.65) 15.106 ms 18.749 ms 14.759 ms
11 ae-6.r21.lsanca03.us.bb.gin.ntt.net (129.250.5.69) 16.653 ms 23.562 ms 15.298 ms
12 ae-5.r22.asbnva02.us.bb.gin.ntt.net (129.250.3.54) 84.481 ms 78.603 ms *
13 ae-4.r20.frnkge04.de.bb.gin.ntt.net (129.250.3.21) 178.452 ms 209.313 ms 178.080 ms
14 ae-3.r03.frnkge03.de.bb.gin.ntt.net (129.250.6.249) 180.508 ms 179.991 ms 180.054 ms
15 hetzner-0.r03.frnkge03.de.ce.gin.ntt.net (213.198.72.230) 178.773 ms 184.572 ms 184.812 ms
16 core4.hetzner.de (213.239.245.2) 174.860 ms 184.977 ms 180.667 ms
17 core22.hetzner.de (213.239.245.17) 180.400 ms 182.479 ms 180.470 ms
18 juniper1.rz13.hetzner.de (213.239.245.82) 185.281 ms 184.451 ms 193.237 ms
19 hos-tr3.ex3k10.rz13.hetzner.de (213.239.224.75) 186.309 ms hos-tr1.ex3k10.rz13.hetzner.de (213.239.224.11) 196.984 ms hos-tr3.ex3k10.rz13.hetzner.de (213.239.224.75) 193.181 ms
20 download.linino.org (88.198.63.58) 190.104 ms !C 183.093 ms !C 184.233 ms !C

The server seems down so the Yun can't download the package list. If it is down it will be up soon.

Hi Angelo9999, Thanks for your message. I am still getting:

root@Arduino:/# opkg update
Downloading http://download.linino.org/dogstick/all-in-one/latest/packages//Packages.gz.
Updated list of available packages in /var/opkg-lists/attitude_adjustment.
Downloading http://download.linino.org/dogstick/all-in-one/latest/packages//Packages.sig.
Signature check failed.
Remove wrong Signature file.

My guess is either the CDN is having problems, or the proxy or cache is having problems. If downloads.arduino.cc is hosted on dreamhost.com, as is suggested, I must assume the problem lies there.

Thanks Jesse

jessemonroy650: Hi Angelo9999, Thanks for your message. I am still getting:

root@Arduino:/# opkg update
Downloading http://download.linino.org/dogstick/all-in-one/latest/packages//Packages.gz.
Updated list of available packages in /var/opkg-lists/attitude_adjustment.
Downloading http://download.linino.org/dogstick/all-in-one/latest/packages//Packages.sig.
Signature check failed.
Remove wrong Signature file.

My guess is either the CDN is having problems, or the proxy or cache is having problems. If downloads.arduino.cc is hosted on dreamhost.com, as is suggested, I must assume the problem lies there.

Thanks Jesse

You try to download update package from Yun's ODM (Original Design Manufacturer) site. Post question here

http://www.linino.org/forum/

kally788: I found the downloads.arduino.cc DNS to arduinoide.objects.dreamhost.com (8.7.198.45) to be wrong. change hosts 64.90.32.4 downloads.arduino.cc you can.

I had the exact same problem. After adding an entry "downloads.arduino.cc 64.90.32.4" to hostnames the issue is resolved. The package data can now be downloaded and updated.

FYI:

root@Arduino:~# uname -a Linux Arduino 3.3.8 #1 Fri Nov 14 08:57:34 CET 2014 mips GNU/Linux root@Arduino:~# cat /etc/opkg.conf src/gz attitude_adjustment http://downloads.arduino.cc/openwrtyun/1/packages dest root / dest ram /tmp lists_dir ext /var/opkg-lists option overlay_root /overlay option check_signature root@Arduino:~# opkg update Downloading http://downloads.arduino.cc/openwrtyun/1/packages/Packages.gz. Updated list of available packages in /var/opkg-lists/attitude_adjustment. Downloading http://downloads.arduino.cc/openwrtyun/1/packages/Packages.sig. Signature check passed. root@Arduino:~# ls -al /var/opkg-lists drwxr-xr-x 2 root root 80 Jan 21 01:58 . drwxrwxrwt 15 root root 460 Jan 21 01:58 .. -rw-r--r-- 1 root root 285167 Jan 21 01:58 attitude_adjustment -rw-r--r-- 1 root root 543 Jan 21 01:58 attitude_adjustment.sig root@Arduino:~#

Just wanted to say the advice here is a bit dated. I was having the same problem and chased the rabbit down the hole because of this post. I changed the /etc/hosts file to reflect the 64.90.32.4 IP address. This didn't fix anything.

Turned out it was the usual kind of mistake... :confused:

I was ssh'd into my Yun over the Yun's wireless network, but the Yun wasn't ethernet'd into the Internet. Because my desktop was connected via Ethernet to the Internet I forgot to check through the maze of cables on my desk to see that the Yun wasn't plugged in.

Then I had to go back into the hosts file and delete the additions.

The correct IP for the update was 5.254.114.221

download.linino.org is still unreacheable. What's the workaround for this situation?

Go into Luci and re-sync your Yun clock to browser time then try opkg update again.

gandarez: download.linino.org is still unreacheable. What's the workaround for this situation?

download.linino.org is repository of Yun's ODM (Original design manufacturer) , and has far less packages than Arduino Yun's repository. Upgrade to Arduino Yun firmware will automatically point to correct one.

correct one should be "http://downloads.arduino.cc/"

Please upgrade your Yún - latest is 1.5.3

http://forum.arduino.cc/index.php?topic=279008.0

Hi! To allow the Yun to download and update the linino packages, you have to configure an wifi internet connection at the Luci pannel, as shown in the figure attached.
Have you already tried to do it?

sonnyyu: download.linino.org is repository of Yun's ODM (Original design manufacturer) , and has far less packages than Arduino Yun's repository. Upgrade to Arduino Yun firmware will automatically point to correct one. ...

It is no long true as today. Both linino.org and Yun repository are very closed. Feel free to use either one.