AUK9527 / Are-u-ok

7.88k stars 1.72k forks source link

passwall 2 安装失败 没有tcping这个包 #162

Closed ss8688 closed 2 months ago

ss8688 commented 3 months ago

某几个依赖包是源里面没有的,比如tcping。 用的openwrt 官方构建

-rw-r--r--    1 root     root      50365880 Apr  5 14:51 /tmp/is-root/tmp/PassWall2_1.28-4_aarch64_a53_all_sdk_22.03.6.run
acd448d5784f5bf6cdde3a62aa6709d9  /tmp/is-root/tmp/PassWall2_1.28-4_aarch64_a53_all_sdk_22.03.6.run
Verifying archive integrity...  100%   MD5 checksums are OK. All good.
Uncompressing passwall2_1.28-4_with_sdk_22.03.6_libopenssl_1.1  100%  
Downloading https://istore.linkease.com/repo/all/compat/Packages.gz
Updated list of available packages in /var/opkg-lists/istore_compat
Downloading https://istore.linkease.com/repo/all/compat/Packages.sig
Signature check passed.
Downloading https://downloads.openwrt.org/releases/23.05.3/targets/rockchip/armv8/packages/Packages.gz
Updated list of available packages in /var/opkg-lists/openwrt_core
Downloading https://downloads.openwrt.org/releases/23.05.3/targets/rockchip/armv8/packages/Packages.sig
Signature check passed.
Downloading https://downloads.openwrt.org/releases/23.05.3/packages/aarch64_generic/base/Packages.gz
Updated list of available packages in /var/opkg-lists/openwrt_base
Downloading https://downloads.openwrt.org/releases/23.05.3/packages/aarch64_generic/base/Packages.sig
Signature check passed.
Downloading https://downloads.openwrt.org/releases/23.05.3/packages/aarch64_generic/luci/Packages.gz
Updated list of available packages in /var/opkg-lists/openwrt_luci
Downloading https://downloads.openwrt.org/releases/23.05.3/packages/aarch64_generic/luci/Packages.sig
Signature check passed.
Downloading https://downloads.openwrt.org/releases/23.05.3/packages/aarch64_generic/packages/Packages.gz
Updated list of available packages in /var/opkg-lists/openwrt_packages
Downloading https://downloads.openwrt.org/releases/23.05.3/packages/aarch64_generic/packages/Packages.sig
Signature check passed.
Downloading https://downloads.openwrt.org/releases/23.05.3/packages/aarch64_generic/routing/Packages.gz
Updated list of available packages in /var/opkg-lists/openwrt_routing
Downloading https://downloads.openwrt.org/releases/23.05.3/packages/aarch64_generic/routing/Packages.sig
Signature check passed.
Downloading https://downloads.openwrt.org/releases/23.05.3/packages/aarch64_generic/telephony/Packages.gz
Updated list of available packages in /var/opkg-lists/openwrt_telephony
Downloading https://downloads.openwrt.org/releases/23.05.3/packages/aarch64_generic/telephony/Packages.sig
Signature check passed.
Unknown package 'brook'.
Unknown package 'haproxy'.
Unknown package 'hysteria'.
Unknown package 'naiveproxy'.
Package shadowsocks-libev-config (3.3.5-11) installed in root is up to date.
Unknown package 'shadowsocks-libev-ss-local'.
Unknown package 'shadowsocks-libev-ss-redir'.
Unknown package 'shadowsocks-libev-ss-server'.
Unknown package 'shadowsocks-rust-sslocal'.
Unknown package 'shadowsocks-rust-ssserver'.
Unknown package 'shadowsocksr-libev-ssr-local'.
Unknown package 'shadowsocksr-libev-ssr-redir'.
Unknown package 'shadowsocksr-libev-ssr-server'.
Unknown package 'simple-obfs'.
Unknown package 'sing-box'.
Unknown package 'tcping'.
Unknown package 'tuic-client'.
Package v2ray-geoip (202402220038-1) installed in root is up to date.
Package v2ray-geosite (20240221053250-1) installed in root is up to date.
Unknown package 'v2ray-plugin'.
Unknown package 'xray-core'.
Collected errors:
 * pkg_hash_fetch_best_installation_candidate: Packages for brook found, but incompatible with the architectures configured
 * opkg_install_cmd: Cannot install package brook.
 * pkg_hash_fetch_best_installation_candidate: Packages for haproxy found, but incompatible with the architectures configured
 * opkg_install_cmd: Cannot install package haproxy.
 * pkg_hash_fetch_best_installation_candidate: Packages for hysteria found, but incompatible with the architectures configured
 * opkg_install_cmd: Cannot install package hysteria.
 * pkg_hash_fetch_best_installation_candidate: Packages for naiveproxy found, but incompatible with the architectures configured
 * opkg_install_cmd: Cannot install package naiveproxy.
 * pkg_hash_fetch_best_installation_candidate: Packages for shadowsocks-libev-ss-local found, but incompatible with the architectures configured
 * opkg_install_cmd: Cannot install package shadowsocks-libev-ss-local.
 * pkg_hash_fetch_best_installation_candidate: Packages for shadowsocks-libev-ss-redir found, but incompatible with the architectures configured
 * opkg_install_cmd: Cannot install package shadowsocks-libev-ss-redir.
 * pkg_hash_fetch_best_installation_candidate: Packages for shadowsocks-libev-ss-server found, but incompatible with the architectures configured
 * opkg_install_cmd: Cannot install package shadowsocks-libev-ss-server.
 * pkg_hash_fetch_best_installation_candidate: Packages for shadowsocks-rust-sslocal found, but incompatible with the architectures configured
 * opkg_install_cmd: Cannot install package shadowsocks-rust-sslocal.
 * pkg_hash_fetch_best_installation_candidate: Packages for shadowsocks-rust-ssserver found, but incompatible with the architectures configured
 * opkg_install_cmd: Cannot install package shadowsocks-rust-ssserver.
 * pkg_hash_fetch_best_installation_candidate: Packages for shadowsocksr-libev-ssr-local found, but incompatible with the architectures configured
 * opkg_install_cmd: Cannot install package shadowsocksr-libev-ssr-local.
 * pkg_hash_fetch_best_installation_candidate: Packages for shadowsocksr-libev-ssr-redir found, but incompatible with the architectures configured
 * opkg_install_cmd: Cannot install package shadowsocksr-libev-ssr-redir.
 * pkg_hash_fetch_best_installation_candidate: Packages for shadowsocksr-libev-ssr-server found, but incompatible with the architectures configured
 * opkg_install_cmd: Cannot install package shadowsocksr-libev-ssr-server.
 * pkg_hash_fetch_best_installation_candidate: Packages for simple-obfs found, but incompatible with the architectures configured
 * opkg_install_cmd: Cannot install package simple-obfs.
 * pkg_hash_fetch_best_installation_candidate: Packages for sing-box found, but incompatible with the architectures configured
 * opkg_install_cmd: Cannot install package sing-box.
 * pkg_hash_fetch_best_installation_candidate: Packages for tcping found, but incompatible with the architectures configured
 * opkg_install_cmd: Cannot install package tcping.
 * pkg_hash_fetch_best_installation_candidate: Packages for tuic-client found, but incompatible with the architectures configured
 * opkg_install_cmd: Cannot install package tuic-client.
 * pkg_hash_fetch_best_installation_candidate: Packages for v2ray-plugin found, but incompatible with the architectures configured
 * opkg_install_cmd: Cannot install package v2ray-plugin.
 * pkg_hash_fetch_best_installation_candidate: Packages for xray-core found, but incompatible with the architectures configured
 * opkg_install_cmd: Cannot install package xray-core.
Unknown package 'luci-app-passwall2'.
Installing luci-i18n-passwall2-zh-cn (git-24.079.57320-3ba865f) to root...
Collected errors:
 * pkg_hash_check_unresolved: cannot find dependency tcping for luci-app-passwall2
 * pkg_hash_fetch_best_installation_candidate: Packages for luci-app-passwall2 found, but incompatible with the architectures configured
 * opkg_install_cmd: Cannot install package luci-app-passwall2.
 * satisfy_dependencies_for: Cannot satisfy the following dependencies for luci-i18n-passwall2-zh-cn:
 *      tcping
 * opkg_install_cmd: Cannot install package luci-i18n-passwall2-zh-cn.
bcseputetto commented 2 months ago

@ss8688 这是架构不兼容的问题,并不是因为没有 tcping 软件包,.run 包里面,除了一些防火墙的组件以外,包含了这些所需要的依赖。

ss8688 commented 2 months ago

@ss8688 这是架构不兼容的问题,并不是因为没有 tcping 软件包,.run 包里面,除了一些防火墙的组件以外,包含了这些所需要的依赖。

这个是 r2s 构架是aarch64_cortex-a53

bcseputetto commented 2 months ago

@ss8688 你固件配置的 aarch64_generic,至少源是这么写的。

ss8688 commented 2 months ago

@ss8688 你固件配置的 aarch64_generic,至少源是这么写的。

才发现,但是文档里说能兼容aarch64_generic啊。 Screenshot_2024-04-08-11-02-29-447_com kiwibrowser browser-edit

ss8688 commented 2 months ago

就是没有tcping这个包的问题,应该是大多数第三方构建里是有这个包的,但官方构建里是没有的

bcseputetto commented 2 months ago

@ss8688 R2S,R4S,R5S,R68S这些均兼容,KoolCenter就有为这些设备编译固件,但固件用的就是 aarch64_a53,你如果用KoolCenter的iStoreOS,那兼容肯定没问题,至少我没有遇到KoolCenter iStoreOS的用户跟我说会和你这样的报错

ss8688 commented 2 months ago

我尝试一下自己构建tcping

bcseputetto commented 2 months ago

@ss8688 我已经说了很多遍了,tcping软件包 包含在 .run包里面,你可以解包出来自己看下

sh 包名 --noexec --target /tmp/passwall2
ls /tmp/passwall2
ls /tmp/passwall2/depends
ss8688 commented 2 months ago

那应该是构架问题了

bcseputetto commented 2 months ago

image @ss8688

bcseputetto commented 2 months ago

@ss8688 而且你没有发现,你装不上的不止tcping 吗?上面一堆软件包都没有装上 报的错误都是 Packages for xxxxx found, but incompatible with the architectures configured

ss8688 commented 2 months ago

确实,但是我记得构架不兼容的报错不是这个,不知道为什么

ss8688 commented 2 months ago

而且有些包还不知怎么安上去了,比如Package v2ray-geoip (202402220038-1) installed in root is up to date,我也不知道是为什么……

bcseputetto commented 2 months ago

@ss8688 image 因为这些包没有架构要求,是通用的,luci也是通用的

bcseputetto commented 2 months ago

image passwall和passwall2 在某个版本开始减少了大量的必须依赖,必须依赖变成了上图我选中的那部分 而其余的依赖比如 ss-libev,ssr-libev,ss-rust,sing-box之类的都变成了可选依赖。 所以这些依赖就算不装上,luci部分也不会报错,所以你上面一堆软件包都没装上都报错了,但luci部分的依赖报错就只剩下一个 tcping了

HenryLuoCN commented 2 months ago

root@OpenWrt:/tmp# opkg install /tmp/luci-23.05_luci-app-passwall2_1.28-5_all.ipk Unknown package 'luci-app-passwall2'. Collected errors:

我就一个tcping报错,openWrt是官方的23.05。

bcseputetto commented 2 months ago

@HenryLuoCN 你要先安装 tcping 啊,tcping不在软件源里

bcseputetto commented 2 months ago

@HenryLuoCN 而且看你这个luci ipk的命名,你这个是从 passwall官方项目下载的ipk,那你为什么没有去passwall官方项目下载依赖的压缩包呢?里面就有 tcping 以及其它依赖的软件包啊


哦,最近passwall2官方项目依赖包没有编译出来