Setup local packages repository

I copied to another microSD and it is ok now.

I changed the text file

nano /etc/opkg.conf
#src/gz attitude_adjustment http://downloads.arduino.cc/openwrtyun/1/packages
src/gz local file:////mnt/sda1/openwrtyun
opkg update

But I get:

root@Arduino:/mnt/sda1# opkg update
Collected errors:

  • opkg_conf_load: Could not lock /var/lock/opkg.lock: Resource temporarily unavailable.