OpenWrt opkg Fail After Update Jul 7th 2018 Words: 144
This post is created 2 years ago, the content may be outdated.

After updating the OpenWrt using the latest snapshot firmware from the Official Sites, opkg update and opkg install packageName broken for unknown reason.

The output looks like this:

1
2
3
4
5
6
7
8
Package fetchmail version 6.3.26-1a has no valid architecture, ignoring.
Package fetchmail-nossl version 6.3.26-1a has no valid architecture, ignoring.
Package libradiusclient-ng version 0.5.6-1 has no valid architecture, ignoring.
Package libwxbase version 2.8.12-1 has no valid architecture, ignoring.
Package oidentd version 2.0.8-2 has no valid architecture, ignoring.
Package openswan version 2.6.43-2 has no valid architecture, ignoring.
Package proftpd version 1.3.5a-1 has no valid architecture, ignoring.
Package psmisc version 22.21-2 has no valid architecture, ignoring.

Reset the opkg configuration is one possible method to solved the problem.

1
2
rm /overlay/upper/etc/opkg.conf
reboot


EOF