Hi:
I am using OpenWRT (which uses opkg as the package manager).
Here is my opkg.conf file:
src/gz snapshots
http://downloads.openwrt.org/snapshots/trunk/ar71xx/packages
dest
root /
dest ram /tmp
dest usb /mnt/sdb1
lists_dir ext /var/opkg-lists
option overlay_root /jffs
What I did was add the usb destination (which is just a mounted USB
drive used as extended storage). When installing packages I simply
install to that destination as follows:
opkg -dest usb install package-name.
That succesfully installs the package with root being /mnt/sdb1.
However, my problem is if I ever want to remove that package, I can't
seem to figure out how to do that. If I try opkg -dest usb remove
package-name it says not installed, if I leave out the -dest option it
says removing from root set but doesn't actually remove any of the
files and opkg list_installed still shows that package installed.
Also, when installing under dest usb it creates a new /mnt/sdb1/usr/
lib/opkg/conf directory with all the package-name.list files, etc. The
strange thing is, if I just erase everything under /mnt/sdb1 and do a
opkg list_installed, it still shows the packages that were installed
under /mnt/sdb1 as installed. Not sure where it is caching what
packages are installed and which ones aren't.
Any help would be appreciated.
Thanks