Can't fully uninstall ipk - luci still show package as installed


I have strange bug with opkg at SNAPSHOT r8873-87c5fd348d. I made custom feed with my apps, sign them via usign

usign -G -s mime.key -p
opkg-key add
usign -S -m Packages -s mime.key -x Packages.sig

add my custom repo to opkg/customfeeds.conf and install some packages, and now I can't fully uninstall one of them.

opkg at terminal says that I don't have this package as installed

root@linksys-wrt:~# opkg remove luci-app-iperf
No packages removed.

root@linksys-wrt:~# opkg list-installed | grep luci-app-iperf

But LuCI says that it installed


I tried everything that I can - reboot device, force removal, force reinstall - nothing happend.

root@linksys-wrt:~# opkg install --force-reinstall luci-app-iperf
Installing luci-app-iperf (git-19.001.32670-08f6f0b-1) to root...
Collected errors:
 * opkg_download_pkg: Package luci-app-iperf is not available from any configured src.
 * opkg_install_pkg: Failed to download luci-app-iperf. Perhaps you need to run 'opkg update'?
 * opkg_install_cmd: Cannot install package luci-app-iperf.

LuCI still show this package. I'm looking for explain how opkg works, where it stored his database, why luci still show this package in web interface and how fix this bug?


I believe there is some leftover file:
Check in /usr/lib/opkg/info/ and the file /usr/lib/opkg/status

1 Like

thanks! there is leftover in /usr/lib/opkg/status