Hi Im using extroot to 2'5 HDD external
before i already make extroot to my HDD, then i disable extroot for a week and make some package changes and config to my openwrt (install & remove new packages). then i decide to move to extroot again after i got my new USB hub, but the problem is when i install new package, its make issue about kernal (i forgot) then i do force copy again from my router file to my HDD without remove old files in my HDD. my router can boot normal with HDD extroot and no issue anymore for install package, but whenever i run opkg install / remove it show error like this
anybody know how to fix this error message? its like some files missing, but i have no idea what file is that
opkg install lsqlite3 sqlite3-cli
Installing lsqlite3 (0.9.5-1) to root...
Downloading http://downloads.openwrt.org/releases/19.07.2/packages/mipsel_24kc/packages/lsqlite3_0.9.5-1_mipsel_24kc.ipk
Package sqlite3-cli (3310100-1) installed in root is up to date.
Configuring lsqlite3.
Collected errors:
* pkg_get_installed_files: Failed to open //usr/lib/opkg/info/libpthread.list: No such file or directory.
* pkg_get_installed_files: Failed to open //usr/lib/opkg/info/luci-mod-admin-full.list: No such file or directory.
* pkg_get_installed_files: Failed to open //usr/lib/opkg/info/kernel.list: No such file or directory.
you should manually "copy" all important data files off the extroot-overlay and recreate it. then in future if you want to jump back to no-extroot-overlay...(and install/remove packages) you should again, re-create the extroot-overlay filesystem.
if you go back to no-overlay... then alter package info... there will now be some inconsistencies (about what packages there are and where), when you re-enable the overlay again.
there is probably a way you could manually deal with the opkg sync issue... but it's easier just to re-create.
what is the purpose backup files if i should recreate extroot again?
u mean the process will be like this?
backup extroot -> recreate extroot with router overlay -> reinstall packages -> restore config for installed packages