Yesterday ,i have execute the command:
Today, i have to install install some packages with opkg install,it says that can't find it.
opkg install coreutils-nohup
Unknown package 'coreutils-nohup'.
* opkg_install_cmd: Cannot install package coreutils-nohup.
So i re-update and install packages.
How to keep opkg update permanently?
the opkg package list isn't saved in flash. so it's permanent until next reboot.
The opkg package list isn't saved in flash by default , can it be forced to be saved in specified disk?
you could try /etc/opkg.conf
root@OpenWrt:~# df /var
Filesystem 1K-blocks Used Available Use% Mounted on
tmpfs 3932384 2908 3929476 0% /tmp
I want to mount /var on /.
dest root /
dest ram /tmp
dest /var /
lists_dir ext /var/opkg-lists
option overlay_root /overlay
Reboot my router , the /var is still mounted on /tmp.
You don't mount the
/ in opkg. Leave
/var where it is and change the
lists_dir to e.g
Keeping the downloaded package lists in a permanent location doesn't really make sense. Packages are constantly rebuilt and updated, so the package lists will get out of sync (at least-) ~daily. While that doesn't mean every installable package changes within that time frame, you still need to update in order to find out.