Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

软件包刷新列表失败 #13000

Closed
1 task done
XXXstyle opened this issue Nov 14, 2024 · 12 comments
Closed
1 task done

软件包刷新列表失败 #13000

XXXstyle opened this issue Nov 14, 2024 · 12 comments

Comments

@XXXstyle
Copy link

详细叙述

近期的拉取编译,手动选择使用18.06 luci后无法刷新软件包列表,不知道是不是跟luci有关系,https://downloads.openwrt.org确定是可以正常访问的,
OPKG 配置
dest root /
dest ram /tmp
lists_dir ext /var/opkg-lists
option overlay_root /overlay

重复 issue

  • 没有类似的 issue

具体型号

nanopi

详细日志

Downloading https://downloads.openwrt.org/snapshots/targets/rockchip/armv8/packages/Packages.gz
*** Failed to download the package list from https://downloads.openwrt.org/snapshots/targets/rockchip/armv8/packages/Packages.gz

Downloading https://downloads.openwrt.org/snapshots/packages/aarch64_generic/base/Packages.gz
*** Failed to download the package list from https://downloads.openwrt.org/snapshots/packages/aarch64_generic/base/Packages.gz

Downloading https://downloads.openwrt.org/snapshots/packages/aarch64_generic/luci/Packages.gz
*** Failed to download the package list from https://downloads.openwrt.org/snapshots/packages/aarch64_generic/luci/Packages.gz

Downloading https://downloads.openwrt.org/snapshots/packages/aarch64_generic/packages/Packages.gz
*** Failed to download the package list from https://downloads.openwrt.org/snapshots/packages/aarch64_generic/packages/Packages.gz

Downloading https://downloads.openwrt.org/snapshots/packages/aarch64_generic/routing/Packages.gz
*** Failed to download the package list from https://downloads.openwrt.org/snapshots/packages/aarch64_generic/routing/Packages.gz

Downloading https://downloads.openwrt.org/snapshots/packages/aarch64_generic/telephony/Packages.gz
*** Failed to download the package list from https://downloads.openwrt.org/snapshots/packages/aarch64_generic/telephony/Packages.gz

Collected errors:

@XXXstyle
Copy link
Author

Downloading https://downloads.openwrt.org/snapshots/targets/rockchip/armv8/packages/Packages.gz 手动打开 https://downloads.openwrt.org/snapshots/targets/rockchip/armv8/packages/ CTRL+F 搜索Packages.gz,未搜索到 其他同理。

没明白,,Packages.gz不存在,是哪里做过修改了吗?

@xingshu1990
Copy link

xingshu1990 commented Nov 14, 2024

Downloading https://downloads.openwrt.org/snapshots/targets/rockchip/armv8/packages/Packages.gz 手动打开 https://downloads.openwrt.org/snapshots/targets/rockchip/armv8/packages/ CTRL+F 搜索Packages.gz,未搜索到 其他同理。下载https://downloads.openwrt.org/snapshots/targets/rockchip/armv8/packages/Packages.gz手动打开https://downloads.openwrt.org/snapshots/targets/rockchip/armv8/packages/ CTRL+F 搜索Packages.gz,未搜索到其他同理。

没明白,,Packages.gz不存在,是哪里做过修改了吗?


不清楚,我的也是昨天发现https://mirrors.cloud.tencent.com 腾讯的源有问题,不能访问,结果换成其他源了
补充一下:我的是树莓派3B+
#src/gz openwrt_core https://mirrors.cloud.tencent.com/lede/snapshots/targets/bcm27xx/bcm2710/packages
#src/gz openwrt_base https://mirrors.cloud.tencent.com/lede/snapshots/packages/aarch64_cortex-a53/base
#src/gz openwrt_kenzo https://mirrors.cloud.tencent.com/lede/snapshots/packages/aarch64_cortex-a53/kenzo
#src/gz openwrt_luci https://mirrors.cloud.tencent.com/lede/releases/18.06.9/packages/aarch64_cortex-a53/luci
#src/gz openwrt_packages https://mirrors.cloud.tencent.com/lede/snapshots/packages/aarch64_cortex-a53/packages
#src/gz openwrt_routing https://mirrors.cloud.tencent.com/lede/snapshots/packages/aarch64_cortex-a53/routing
#src/gz openwrt_small https://mirrors.cloud.tencent.com/lede/snapshots/packages/aarch64_cortex-a53/small
#src/gz openwrt_telephony https://mirrors.cloud.tencent.com/lede/snapshots/packages/aarch64_cortex-a53/telephony

src/gz openwrt_core https://downloads.openwrt.org/releases/18.06.9/targets/brcm2708/bcm2710/packages
src/gz openwrt_base https://downloads.openwrt.org/releases/18.06.9/packages/aarch64_cortex-a53/base
src/gz openwrt_luci https://downloads.openwrt.org/releases/18.06.9/packages/aarch64_cortex-a53/luci
src/gz openwrt_packages https://downloads.openwrt.org/releases/18.06.9/packages/aarch64_cortex-a53/packages
src/gz openwrt_routing https://downloads.openwrt.org/releases/18.06.9/packages/aarch64_cortex-a53/routing
src/gz openwrt_telephony https://downloads.openwrt.org/releases/18.06.9/packages/aarch64_cortex-a53/telephony

@XXXstyle
Copy link
Author

Downloading https://downloads.openwrt.org/snapshots/targets/rockchip/armv8/packages/Packages.gz 手动打开 https://downloads.openwrt.org/snapshots/targets/rockchip/armv8/packages/ CTRL+F 搜索Packages.gz,未搜索到 其他同理。下载https://downloads.openwrt.org/snapshots/targets/rockchip/armv8/packages/Packages.gz手动打开https://downloads.openwrt.org/snapshots/targets/rockchip/armv8/packages/ CTRL+F 搜索Packages.gz,未搜索到其他同理。

没明白,,Packages.gz不存在,是哪里做过修改了吗?

不清楚,我的也是昨天发现https://mirrors.cloud.tencent.com 腾讯的源有问题,不能访问,结果换成其他源了 补充一下:我的是树莓派3B+ #src/gz openwrt_core https://mirrors.cloud.tencent.com/lede/snapshots/targets/bcm27xx/bcm2710/packages #src/gz openwrt_base https://mirrors.cloud.tencent.com/lede/snapshots/packages/aarch64_cortex-a53/base #src/gz openwrt_kenzo https://mirrors.cloud.tencent.com/lede/snapshots/packages/aarch64_cortex-a53/kenzo #src/gz openwrt_luci https://mirrors.cloud.tencent.com/lede/releases/18.06.9/packages/aarch64_cortex-a53/luci #src/gz openwrt_packages https://mirrors.cloud.tencent.com/lede/snapshots/packages/aarch64_cortex-a53/packages #src/gz openwrt_routing https://mirrors.cloud.tencent.com/lede/snapshots/packages/aarch64_cortex-a53/routing #src/gz openwrt_small https://mirrors.cloud.tencent.com/lede/snapshots/packages/aarch64_cortex-a53/small #src/gz openwrt_telephony https://mirrors.cloud.tencent.com/lede/snapshots/packages/aarch64_cortex-a53/telephony

src/gz openwrt_core https://downloads.openwrt.org/releases/18.06.9/targets/brcm2708/bcm2710/packages src/gz openwrt_base https://downloads.openwrt.org/releases/18.06.9/packages/aarch64_cortex-a53/base src/gz openwrt_luci https://downloads.openwrt.org/releases/18.06.9/packages/aarch64_cortex-a53/luci src/gz openwrt_packages https://downloads.openwrt.org/releases/18.06.9/packages/aarch64_cortex-a53/packages src/gz openwrt_routing https://downloads.openwrt.org/releases/18.06.9/packages/aarch64_cortex-a53/routing src/gz openwrt_telephony https://downloads.openwrt.org/releases/18.06.9/packages/aarch64_cortex-a53/telephony

好吧,,难搞。。

@gitbruc
Copy link

gitbruc commented Nov 15, 2024

这问题咋不解决啊,折磨了我一晚上

@justamanm
Copy link

justamanm commented Nov 15, 2024

同样
看了下,每个订阅地址下都没有Packages.gz,只有packages.adb、packages.adb.asc和packages.adb.sig
Snipaste_2024-11-15_19-08-55
问了下chatgpt

新格式的包索引文件:
packages.adb 是一种新的包索引格式,可能用于更高效的包管理。
packages.adb.asc 是 GPG 签名文件,用于验证 packages.adb 的完整性。
packages.adb.sig 同样是验证文件。

源可能已切换格式:
某些镜像可能已切换为支持 adb 索引格式的系统,而不再使用传统的 Packages.gz

我试了下换成清华源就行了

cd /etc/opkg/
cp distfeeds.conf distfeeds.conf.bak
sed -i 's_mirrors.tencent.com/lede/snapshots_mirrors.tuna.tsinghua.edu.cn/lede/releases/23.05.5_g' /etc/opkg/distfeeds.conf

换完后的地址(树莓派4b)

src/gz openwrt_core https://mirrors.tuna.tsinghua.edu.cn/lede/releases/23.05.5/targets/bcm27xx/bcm2711/packages
src/gz openwrt_base https://mirrors.tuna.tsinghua.edu.cn/lede/releases/23.05.5/packages/aarch64_cortex-a72/base
src/gz openwrt_kenzo https://mirrors.tuna.tsinghua.edu.cn/lede/releases/23.05.5/packages/aarch64_cortex-a72/kenzo
src/gz openwrt_luci https://mirrors.tencent.com/lede/releases/18.06.9/packages/aarch64_cortex-a72/luci
src/gz openwrt_oldpackages https://mirrors.tuna.tsinghua.edu.cn/lede/releases/23.05.5/packages/aarch64_cortex-a72/oldpackages
src/gz openwrt_packages https://mirrors.tuna.tsinghua.edu.cn/lede/releases/23.05.5/packages/aarch64_cortex-a72/packages
src/gz openwrt_routing https://mirrors.tuna.tsinghua.edu.cn/lede/releases/23.05.5/packages/aarch64_cortex-a72/routing
src/gz openwrt_small https://mirrors.tuna.tsinghua.edu.cn/lede/releases/23.05.5/packages/aarch64_cortex-a72/small
src/gz openwrt_telephony https://mirrors.tuna.tsinghua.edu.cn/lede/releases/23.05.5/packages/aarch64_cortex-a72/telephony

@wx2020
Copy link

wx2020 commented Nov 15, 2024

这样强行换源 会导致

同样 看了下,每个订阅地址下都没有Packages.gz,只有packages.adb、packages.adb.asc和packages.adb.sig Snipaste_2024-11-15_19-08-55 问了下chatgpt

新格式的包索引文件:
packages.adb 是一种新的包索引格式,可能用于更高效的包管理。
packages.adb.asc 是 GPG 签名文件,用于验证 packages.adb 的完整性。
packages.adb.sig 同样是验证文件。
源可能已切换格式:
某些镜像可能已切换为支持 adb 索引格式的系统,而不再使用传统的 Packages.gz

我试了下换成清华源就行了

cd /etc/opkg/
cp distfeeds.conf distfeeds.conf.bak
sed -i 's_mirrors.tencent.com/lede/snapshots_mirrors.tuna.tsinghua.edu.cn/lede/releases/23.05.5_g' /etc/opkg/distfeeds.conf

换完后的地址(树莓派4b)

src/gz openwrt_core https://mirrors.tuna.tsinghua.edu.cn/lede/releases/23.05.5/targets/bcm27xx/bcm2711/packages
src/gz openwrt_base https://mirrors.tuna.tsinghua.edu.cn/lede/releases/23.05.5/packages/aarch64_cortex-a72/base
src/gz openwrt_kenzo https://mirrors.tuna.tsinghua.edu.cn/lede/releases/23.05.5/packages/aarch64_cortex-a72/kenzo
src/gz openwrt_luci https://mirrors.tencent.com/lede/releases/18.06.9/packages/aarch64_cortex-a72/luci
src/gz openwrt_oldpackages https://mirrors.tuna.tsinghua.edu.cn/lede/releases/23.05.5/packages/aarch64_cortex-a72/oldpackages
src/gz openwrt_packages https://mirrors.tuna.tsinghua.edu.cn/lede/releases/23.05.5/packages/aarch64_cortex-a72/packages
src/gz openwrt_routing https://mirrors.tuna.tsinghua.edu.cn/lede/releases/23.05.5/packages/aarch64_cortex-a72/routing
src/gz openwrt_small https://mirrors.tuna.tsinghua.edu.cn/lede/releases/23.05.5/packages/aarch64_cortex-a72/small
src/gz openwrt_telephony https://mirrors.tuna.tsinghua.edu.cn/lede/releases/23.05.5/packages/aarch64_cortex-a72/telephony

这样强行换源会导致安装的ipk与内核的Linux版本不一致:pkg_hash_check_unresolved: cannot find dependency kernel

@xingshu1990
Copy link

这样强行换源 会导致

同样 看了下,每个订阅地址下都没有Packages.gz,只有packages.adb、packages.adb.asc和packages.adb.sig Snipaste_2024-11-15_19-08-55 问了下chatgpt

新格式的包索引文件:
packages.adb 是一种新的包索引格式,可能用于更高效的包管理。
packages.adb.asc 是 GPG 签名文件,用于验证 packages.adb 的完整性。
packages.adb.sig 同样是验证文件。
源可能已切换格式:
某些镜像可能已切换为支持 adb 索引格式的系统,而不再使用传统的 Packages.gz

我试了下换成清华源就行了

cd /etc/opkg/
cp distfeeds.conf distfeeds.conf.bak
sed -i 's_mirrors.tencent.com/lede/snapshots_mirrors.tuna.tsinghua.edu.cn/lede/releases/23.05.5_g' /etc/opkg/distfeeds.conf

换完后的地址(树莓派4b)

src/gz openwrt_core https://mirrors.tuna.tsinghua.edu.cn/lede/releases/23.05.5/targets/bcm27xx/bcm2711/packages
src/gz openwrt_base https://mirrors.tuna.tsinghua.edu.cn/lede/releases/23.05.5/packages/aarch64_cortex-a72/base
src/gz openwrt_kenzo https://mirrors.tuna.tsinghua.edu.cn/lede/releases/23.05.5/packages/aarch64_cortex-a72/kenzo
src/gz openwrt_luci https://mirrors.tencent.com/lede/releases/18.06.9/packages/aarch64_cortex-a72/luci
src/gz openwrt_oldpackages https://mirrors.tuna.tsinghua.edu.cn/lede/releases/23.05.5/packages/aarch64_cortex-a72/oldpackages
src/gz openwrt_packages https://mirrors.tuna.tsinghua.edu.cn/lede/releases/23.05.5/packages/aarch64_cortex-a72/packages
src/gz openwrt_routing https://mirrors.tuna.tsinghua.edu.cn/lede/releases/23.05.5/packages/aarch64_cortex-a72/routing
src/gz openwrt_small https://mirrors.tuna.tsinghua.edu.cn/lede/releases/23.05.5/packages/aarch64_cortex-a72/small
src/gz openwrt_telephony https://mirrors.tuna.tsinghua.edu.cn/lede/releases/23.05.5/packages/aarch64_cortex-a72/telephony

这样强行换源会导致安装的ipk与内核的Linux版本不一致:pkg_hash_check_unresolved: cannot find dependency kernel

中间的23.05.5 换成18.06.9试试,
另外
kenzo small 这两个没mirrors.tuna.tsinghua.edu.cn源吧,要注释掉的。

@Travel2Here
Copy link

清华的里面也404了

@coolsnowwolf
Copy link
Owner

上游改成 apk 的数据库了

@coolsnowwolf
Copy link
Owner

修复了,用 v24.10 格式吧

@wx2020
Copy link

wx2020 commented Nov 17, 2024 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

8 participants
@xingshu1990 @coolsnowwolf @wx2020 @justamanm @Travel2Here @gitbruc @XXXstyle and others