问题详情
命令:
curl -fsSL https://get.docker.com | bash -s docker --mirror Aliyun
root@ubuntu:~# curl -fsSL https://get.docker.com | bash -s docker --mirror Aliyun
# Executing docker install script, commit: 7d96bd3c5235ab2121bcb855dd7b3f3f37128ed4
+ sh -c 'apt-get -qq update >/dev/null'
E: Failed to fetch https://mirrors.aliyun.com/docker-ce/linux/ubuntu/dists/questing/stable/binary-amd64/Packages.bz2 File has unexpected size (8680 != 8869). Mirror sync in progress? [IP: 47.246.23.181 443]
Hashes of expected file:
- Filesize:8869 [weak]
- SHA512:a2f0a5d4d085df28f7e364e3199740d66ddaf48b1578a61785915fd4dc2d3383a174a1294c50f31d8bceee92ef35136813070c8b831b85aba7e15d1629fbbe9c
- SHA256:10e51fc6e84f48ea8b83666d9c3f921497957059621d9a040e62dede1ba32cb2
- SHA1:e460b2ab5245e695faf52989bab2c5178e0de866 [weak]
- MD5Sum:226b2c6a89eac6046a1daec65a5777db [weak]
Release file created at: Tue, 25 Nov 2025 14:16:13 +0000
E: Some index files failed to download. They have been ignored, or old ones used instead.
当前系统版本:
root@ubuntu:~# lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 25.10
Release: 25.10
Codename: questing
root@ubuntu:~# uname -a
Linux ubuntu 6.17.0-7-generic #7-Ubuntu SMP PREEMPT_DYNAMIC Sat Oct 18 10:10:29 UTC 2025 x86_64 GNU/Linux
版权:言论仅代表个人观点,不代表官方立场。转载请注明出处:https://www.stntk.com/question/109.html

重新访问一下,或者重启一下网卡,来源:数海云资讯的教程,https://www.shuhaiyun.com/asy/