Closed icandura closed 8 months ago
另外想执行选项3卸载再重新安装,也没有package被卸载,界面也正常使用
搞定了,重新安装了一次,这回认真看了安装过程发现关键点在taskd
luci-lib-taskd
luci-app-store
这三个安装包,虽然已经下载了安装包,但是可能安装命令没识别到后面的版本,所以都提示Unknown package
,完整的相关内容如下
Saving to: '/tmp/taskd_1.0.3-1_all.ipk'
taskd_1.0.3-1_all.ipk 100%[=================================================>] 2.34K --.-KB/s in 0s
2023-10-11 16:55:20 (487 MB/s) - '/tmp/taskd_1.0.3-1_all.ipk' saved [2401/2401]
Unknown package 'taskd'.
Collected errors:
* pkg_hash_check_unresolved: cannot find dependency script-utils for taskd
* pkg_hash_check_unresolved: cannot find dependency coreutils-stty for taskd
* pkg_hash_fetch_best_installation_candidate: Packages for taskd found, but incompatible with the architectures configured
* opkg_install_cmd: Cannot install package taskd.
Saving to: '/tmp/luci-lib-taskd_1.0.18_all.ipk'
luci-lib-taskd_1.0.18_all.ipk 100%[=================================================>] 6.79K --.-KB/s in 0s
2023-10-11 16:55:21 (884 MB/s) - '/tmp/luci-lib-taskd_1.0.18_all.ipk' saved [6949/6949]
Unknown package 'luci-lib-taskd'.
Collected errors:
* pkg_hash_check_unresolved: cannot find dependency taskd (>= 1.0.3-1) for luci-lib-taskd
* pkg_hash_check_unresolved: cannot find dependency taskd for luci-lib-taskd
* pkg_hash_fetch_best_installation_candidate: Packages for luci-lib-taskd found, but incompatible with the architectures configured
* opkg_install_cmd: Cannot install package luci-lib-taskd.
Saving to: '/tmp/luci-app-store_0.1.14-1_all.ipk'
luci-app-store_0.1.14-1_all.i 100%[=================================================>] 92.77K --.-KB/s in 0.09s
2023-10-11 16:55:21 (1.06 MB/s) - '/tmp/luci-app-store_0.1.14-1_all.ipk' saved [94998/94998]
Unknown package 'luci-app-store'.
Collected errors:
* pkg_hash_check_unresolved: cannot find dependency luci-lib-taskd (>= 1.0.17) for luci-app-store
* pkg_hash_check_unresolved: cannot find dependency tar for luci-app-store
* pkg_hash_check_unresolved: cannot find dependency coreutils-stat for luci-app-store
* pkg_hash_check_unresolved: cannot find dependency luci-lib-taskd for luci-app-store
* pkg_hash_fetch_best_installation_candidate: Packages for luci-app-store found, but incompatible with the architectures configured
* opkg_install_cmd: Cannot install package luci-app-store.
最终解决方法也很简单,进入 /tmp/
文件夹手动安装这几个包就行了(不同时期安装具体下载到的版本号可能不一致,建议用tab
键补全)
opkg install taskd_1.0.3-1_all.ipk
opkg install luci-lib-taskd_1.0.18_all.ipk
opkg install luci-app-store_0.1.14-1_all.ipk
手动安装完成后再刷新 iStore商店 就出来了
谢谢指出问题。一会我在优化一下逻辑。谢谢!
软路由:4500U 固件版本 OpenWrt R23.7.7 GDQ V2[2023] Compiled by eSir with iStoreOS Style / LuCI Master (git-23.198.59743-991daf5) 内核版本 5.15.122 问题描述:运行脚本后各方面都正常,但是不出现商店,印象中SSH里面安装过程没有啥报错信息。![QQ截图20231011161832](https://github.com/wukongdaily/commonscript/assets/7588059/68ebeeb8-55cc-4c91-96f5-a19f41117407)