linkease / istore

一个 Openwrt 标准的软件中心,纯脚本实现,只依赖Openwrt标准组件。支持其它固件开发者集成到自己的固件里面。更方便入门用户搜索安装插件。The iStore is a app store for OpenWRT
MIT License
1.46k stars 328 forks source link

安装失败: //usr/lib/opkg/info/luci-app-store.postinst: .: line 2: can't open '/etc/uci-defaults/luci-app-store' #136

Closed XueshiQiao closed 2 months ago

XueshiQiao commented 3 months ago

设备是 红米 AX6000,官方 OpenWRT 版本:LuCI openwrt-23.05 branch (git-24.073.29889-cd7e519) / OpenWrt 23.05.3 (r23809-234f1a2efa)

  1. 这个问题有没有解法?
  2. 有没有彻底卸载的命令? 感谢!
root@OpenWRT:~# /tmp/istore-reinstall.run
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100   612  100   612    0     0    233      0  0:00:02  0:00:02 --:--:--  5275
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100 98860  100 98860    0     0   581k      0 --:--:-- --:--:-- --:--:--  599k
Fetch feed list for aarch64_cortex-a53
Update feeds index
Downloading https://istore.linkease.com/repo/all/nas_luci/Packages.gz
Updated list of available packages in /tmp/is-root//tmp/opkg-lists/is_nas_luci
Downloading https://istore.linkease.com/repo/all/store/Packages.gz
Updated list of available packages in /tmp/is-root//tmp/opkg-lists/is_store
Downloading https://istore.linkease.com/repo/aarch64_cortex-a53/nas/Packages.gz
Updated list of available packages in /tmp/is-root//tmp/opkg-lists/is_nas
Downloading https://istore.linkease.com/repo/all/compat/Packages.gz
Updated list of available packages in /tmp/is-root//tmp/opkg-lists/istore_compat
Downloading https://downloads.openwrt.org/releases/23.05.3/targets/mediatek/filogic/packages/Packages.gz
Updated list of available packages in /tmp/is-root//tmp/opkg-lists/openwrt_core
Downloading https://downloads.openwrt.org/releases/23.05.3/packages/aarch64_cortex-a53/base/Packages.gz
Updated list of available packages in /tmp/is-root//tmp/opkg-lists/openwrt_base
Downloading https://downloads.openwrt.org/releases/23.05.3/packages/aarch64_cortex-a53/luci/Packages.gz
Updated list of available packages in /tmp/is-root//tmp/opkg-lists/openwrt_luci
Downloading https://downloads.openwrt.org/releases/23.05.3/packages/aarch64_cortex-a53/packages/Packages.gz
Updated list of available packages in /tmp/is-root//tmp/opkg-lists/openwrt_packages
Downloading https://downloads.openwrt.org/releases/23.05.3/packages/aarch64_cortex-a53/routing/Packages.gz
Updated list of available packages in /tmp/is-root//tmp/opkg-lists/openwrt_routing
Downloading https://downloads.openwrt.org/releases/23.05.3/packages/aarch64_cortex-a53/telephony/Packages.gz
Updated list of available packages in /tmp/is-root//tmp/opkg-lists/openwrt_telephony
Downloading https://istore.linkease.com/repo/all/meta/Packages.gz
Updated list of available packages in /tmp/is-root//tmp/opkg-lists/is_meta
Removing package luci-lib-taskd from root...
Removing package luci-lib-xterm from root...
Installing luci-lib-taskd (1.0.20) to root...
Downloading https://istore.linkease.com/repo/all/store/luci-lib-taskd_1.0.20_all.ipk
Installing luci-lib-xterm (4.18.0) to root...
Downloading https://istore.linkease.com/repo/all/store/luci-lib-xterm_4.18.0_all.ipk
Package luci-lib-xterm (4.18.0) installed in root is up to date.
Configuring luci-lib-xterm.
Configuring luci-lib-taskd.
Removing package luci-app-store from root...
Not deleting modified conffile /etc/config/istore.
Installing luci-app-store (0.1.25-0) to root...
Downloading https://istore.linkease.com/repo/all/store/luci-app-store_0.1.25-0_all.ipk
Configuring luci-app-store.
//usr/lib/opkg/info/luci-app-store.postinst: .: line 2: can't open '/etc/uci-defaults/luci-app-store': No such file or directory
Collected errors:
 * resolve_conffiles: Existing conffile /etc/config/istore is different from the conffile in the new package. The new conffile will be placed at /etc/config/istore-opkg.
tthaha110 commented 2 months ago

我也碰到了

jjm2473 commented 2 months ago

这不是安装成功了吗?

jjm2473 commented 2 months ago

我测试了在 23.05.4 上可以安装成功,忽略那条错误就行了。

如果安装以后luci界面没出现istore菜单,那是因为luci默认的缓存机制有问题,需要退出再登录一次。

tthaha110 commented 2 months ago

我测试了在 23.05.4 上可以安装成功,忽略那条错误就行了。

如果安装以后luci界面没出现istore菜单,那是因为luci默认的缓存机制有问题,需要退出再登录一次。

一直没出现菜单,今天重新登录出现了,应该是缓存了! 谢谢这么快就回复了!😁

jjm2473 commented 2 months ago

对于原版的openwrt,只要不是在luci界面上直接安装,而是通过命令安装,都要自己刷新缓存,退出重新登录就行了。