【 使用环境 】 测试环境
【 OB or 其他组件 】
【 使用版本 】latest
【问题描述】
Debian 12,按照 OceanBase 社区版 快速上手文档 使用方式二软件包方式一键安装脚本出错。关键错误信息如下
W: http://mirrors.oceanbase.com/oceanbase/community/stable/debian/bookworm/amd64/./InRelease: Key is stored in legacy trusted.gpg keyring (/etc/apt/trusted.gpg), see the DEPRECATION section in apt-key(8) for details.
E: Failed to fetch http://mirrors.oceanbase.com/oceanbase/community/stable/debian/bookworm/amd64/./Packages.gz File has unexpected size (18705 != 15723). Mirror sync in progress? [IP: 119.167.185.91 80]
Hashes of expected file:
- Filesize:15723 [weak]
- SHA512:f46e5a8a01a0e3719a1e4d04bbed72f4cc9d1141f34438152ac7e9a243336e770621d458d4ed8d8f7a18b2197cd2f1f6097c2a03638bba3d6f4bc101ff891592
- SHA256:c6e87d8450579cb3e48afda3d36f7716c0b590e554880b4dead4bdeedce516e6
- SHA1:88fba71835d209ff39ff36707cbe00431829b1f9 [weak]
- MD5Sum:49b771e73d537968cb5d82109cef9689 [weak]
Release file created at: Mon, 16 Dec 2024 11:12:04 +0000
E: Some index files failed to download. They have been ignored, or old ones used instead.
【复现路径】
- 使用Debian12 Cloud Image创建KVM虚拟机
- 使用可免密sudo的普通用户执行
sudo bash -c "$(curl -s https://obbusiness-private.oss-cn-shanghai.aliyuncs.com/download-center/opensource/service/installer.sh)"
- 运行结果如下
debian@test-oceanbase-01:~$ sudo bash -c "$(curl -s https://obbusiness-private.oss-cn-shanghai.aliyuncs.com/download-center/opensource/service/installer.sh)"
Get:1 file:/etc/apt/mirrors/debian.list Mirrorlist [51 B]
Get:3 file:/etc/apt/mirrors/debian-security.list Mirrorlist [60 B]
Get:7 http://mirrors.oceanbase.com/oceanbase/community/stable/debian/bookworm/amd64 ./ InRelease [1743 B]
Get:8 http://mirrors.oceanbase.com/oceanbase/community/stable/debian/bookworm/amd64 ./ Packages [15.7 kB]
Err:8 http://mirrors.oceanbase.com/oceanbase/community/stable/debian/bookworm/amd64 ./ Packages
File has unexpected size (18705 != 15723). Mirror sync in progress? [IP: 119.167.185.90 80]
Hashes of expected file:
- Filesize:15723 [weak]
- SHA512:f46e5a8a01a0e3719a1e4d04bbed72f4cc9d1141f34438152ac7e9a243336e770621d458d4ed8d8f7a18b2197cd2f1f6097c2a03638bba3d6f4bc101ff891592
- SHA256:c6e87d8450579cb3e48afda3d36f7716c0b590e554880b4dead4bdeedce516e6
- SHA1:88fba71835d209ff39ff36707cbe00431829b1f9 [weak]
- MD5Sum:49b771e73d537968cb5d82109cef9689 [weak]
Release file created at: Mon, 16 Dec 2024 11:12:04 +0000
Hit:2 https://[REDACTED]/debian-trixie-proxy bookworm InRelease
Hit:4 https://[REDACTED]/debian-trixie-proxy bookworm-updates InRelease
Hit:5 https://[REDACTED]/debian-trixie-proxy bookworm-backports InRelease
Hit:6 https://[REDACTED]/debian-trixie-security-proxy bookworm-security InRelease
Reading package lists... Done
W: http://mirrors.oceanbase.com/oceanbase/community/stable/debian/bookworm/amd64/./InRelease: Key is stored in legacy trusted.gpg keyring (/etc/apt/trusted.gpg), see the DEPRECATION section in apt-key(8) for details.
E: Failed to fetch http://mirrors.oceanbase.com/oceanbase/community/stable/debian/bookworm/amd64/./Packages.gz File has unexpected size (18705 != 15723). Mirror sync in progress? [IP: 119.167.185.90 80]
Hashes of expected file:
- Filesize:15723 [weak]
- SHA512:f46e5a8a01a0e3719a1e4d04bbed72f4cc9d1141f34438152ac7e9a243336e770621d458d4ed8d8f7a18b2197cd2f1f6097c2a03638bba3d6f4bc101ff891592
- SHA256:c6e87d8450579cb3e48afda3d36f7716c0b590e554880b4dead4bdeedce516e6
- SHA1:88fba71835d209ff39ff36707cbe00431829b1f9 [weak]
- MD5Sum:49b771e73d537968cb5d82109cef9689 [weak]
Release file created at: Mon, 16 Dec 2024 11:12:04 +0000
E: Some index files failed to download. They have been ignored, or old ones used instead.
installer: command failed: apt update
【附件及日志】
Linux环境信息:
debian@test-oceanbase-01:~$ cat /etc/os-release
PRETTY_NAME="Debian GNU/Linux 12 (bookworm)"
NAME="Debian GNU/Linux"
VERSION_ID="12"
VERSION="12 (bookworm)"
VERSION_CODENAME=bookworm
ID=debian
HOME_URL="https://www.debian.org/"
SUPPORT_URL="https://www.debian.org/support"
BUG_REPORT_URL="https://bugs.debian.org/"
debian@test-oceanbase-01:~$ uname -a
Linux test-oceanbase-01 6.1.0-38-cloud-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.147-1 (2025-08-02) x86_64 GNU/Linux
【备注】基于 LLM 和开源文档 RAG 的论坛小助手已开放测试,在发帖时输入 [@论坛小助手] 即可召唤小助手,欢迎试用!