Signature check failed when updating opkg

Hi guys

I have been using an arduino yun for some days an installed a few good packages and got a webserver with sqlite3 and php up and running perfectly.
Two days ago, I wanted to «opkg update» to install another package, when all of a sudden opkg said:

«Signature check failed, Remove wrong Signature file».

Unfortunately, google knows nothing about this case. I have used the function before several times without problems, have a steady, well functioning internet connection and did nothing manually to any package (except altering php.ini and uhhtp.conf).

Do you have any idea how to get the problem gone?

Thanks,
Dani

A few facts:

root@yun:~# opkg update
Downloading http://download.linino.org/dogstick/all-in-one/latest/packages//Packages.gz.
Updated list of available packages in /var/opkg-lists/barrier_breaker.
Downloading http://download.linino.org/dogstick/all-in-one/latest/packages//Packages.sig.
Signature check failed.
Remove wrong Signature file.
root@yun:~# ping download.linino.org
PING download.linino.org (88.198.63.58): 56 data bytes
64 bytes from 88.198.63.58: seq=0 ttl=50 time=47.725 ms
64 bytes from 88.198.63.58: seq=1 ttl=50 time=43.001 ms
^C
— download.linino.org ping statistics —
2 packets transmitted, 2 packets received, 0% packet loss
round-trip min/avg/max = 43.001/45.363/47.725 ms

root@yun:~# /sbin/ifconfig
eth1 Link encap:Ethernet HWaddr 90:A2:DA:F9:07:2B
UP BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)
Interrupt:4

lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
UP LOOPBACK RUNNING MTU:65536 Metric:1
RX packets:36 errors:0 dropped:0 overruns:0 frame:0
TX packets:36 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:2976 (2.9 KiB) TX bytes:2976 (2.9 KiB)

wlan0 Link encap:Ethernet HWaddr 90:A2:DA:F1:07:2B
inet addr:10.0.1.7 Bcast:10.0.1.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:1207 errors:0 dropped:13 overruns:0 frame:0
TX packets:580 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:32
RX bytes:585046 (571.3 KiB) TX bytes:65620 (64.0 KiB)

root@yun:~# nslookup download.linino.org
Server: 127.0.0.1
Address 1: 127.0.0.1 localhost

Name: download.linino.org
Address 1: 2a01:4f8:131:49::3 download.linino.org
Address 2: 88.198.63.58 download.linino.org

root@yun:~# cat /etc/resolv.conf
search lan
nameserver 127.0.0.1

root@yun:~# cat /etc/opkg.conf
src/gz barrier_breaker http://download.linino.org/dogstick/all-in-one/latest/packages/
dest root /
dest ram /tmp
lists_dir ext /var/opkg-lists
option overlay_root /overlay
option check_signature

The last line in your /etc/opkg.conf looks strange, my /etc/opkg.conf

src/gz barrier_breaker http://download.linino.org/dogstick/all-in-one/latest/packages/
dest root /
dest ram /tmp
lists_dir ext /var/opkg-lists
option overlay_root /overlay
option check_signature

Ups, my mistake, you are right: I must have somehow copied the inital error-message as well.
In fact, it looks like

root@yun:~# cat /etc/opkg.conf 
src/gz barrier_breaker http://download.linino.org/dogstick/all-in-one/latest/packages/
dest root /
dest ram /tmp
lists_dir ext /var/opkg-lists
option overlay_root /overlay
option check_signature

Thanks for pointing that out. I'm still looking for a solution.
Dani

output of

uname -a

The signature file store at "/tmp/opkg-lists"

rm -rf /tmp/opkg-lists

then re-run update.

Hi sonnyyu

You were a moment too late (or I was a moment too quick). I reflashed the whole linino-image and reconfigured the system. I had it all written down, so it didn't take mee too long. I'll try your approach the next time I get to this state. For the moment, everything is fine and the signature-check is passed.

Thanks, Dani

Hi Guys,

Thanks for the awesome advise. I was redirected here by a google search. I tried the options outlined but the REAL REASON why I was getting the 'Signature check failed' error was this:

I did not have my YUN CONNECTED TO THE INTERNET. :o :o :o :o

Hope this helps others in the same plight.

Cherio,
Steven de Salas