In case no internet or deploying a large number of Yun. The local packages repository will help.

mkdir -p ~/ipk
cd ~/ipk
cat Packages | grep "Filename: " >downloadfile.txt
sed -i 's/Filename: /http:\/\/\/openwrtyun\/1\/packages\//g' downloadfile.txt


sudo apt-get install -y aria2
time aria2c -x 16 -i  downloadfile.txt


Status Legend:
(OK):download completed.

real    0m56.810s
user    0m3.708s
sys     0m6.676s

Change feed to local:

nano /etc/opkg.conf
#src/gz attitude_adjustment
src/gz local file:////mnt/sda1/packages
opkg update


Comments powered by CComment