overlay
Using OpenWRT, DD-WRT or LEDE on a device with USB ports it is possible to use an external drive or pen drive for some overlay rootfs to install stuff that normaly could not be installed due to the size.
corruption
For some reason I don’t yet understand I had a corruption on the overlay fs and I could not install any software or even check what was installed using opkg.
solution
Some guy from #lede-dev IRC channel gave me a short snippet to fix this and I wanted to share it here with you:
for i in /usr/lib/opkg/info/*.control
do
sed -e '/Architecture:/ i\Status: install user installed' $i; echo ""
done > /usr/lib/opkg/status
thx pal!