sudo apt-get update更新错误
E: 无法下载 https://mirrors.aliyun.com/mxlinux/mx/repo/dists/bookworm/main/binary-amd64/Packages.gz 文件尺寸不符(215147 != 215142)。您使用的镜像正在同步中? [IP: 180.130.96.112 443]
Hashes of expected file:
- Filesize:215142 [weak]
- SHA256:5ee5025fa22aa9c4d89c904c48e8331aa4cde2b3073c6297ae6f5175be086017
- SHA1:3bef172e7973ca424fa087c1911e2c6a43e6c1d1 [weak]
- MD5Sum:cee7d6f4bdddb276d85dbb2905bef13c [weak]
Release file created at: Sat, 12 Oct 2024 02:42:08 +0000
E: 无法下载 https://mirrors.aliyun.com/mxlinux/mx/repo/dists/bookworm/main/binary-i386/Packages.gz
E: 部分索引文件下载失败。如果忽略它们,那将转而使用旧的索引文件。
错误:
pip config set global.index-url https://mirrors.aliyun.com/pypi/simple/
Writing to /home/HHF/.config/pip/pip.conf
sudo vim mx.list
# MX Community Main and Test Repos
deb https://mirrors.aliyun.com/mxlinux/mx/repo/ bookworm main non-free
# deb https://mirrors.aliyun.com/mxlinux/mx/testrepo/ bookworm test
(# 使用HTTPS代替HTTP:有时候阿里云可能会对某些操作进行HTTPS限制,试着换成https://mirrors.aliyun.com/mxlinux/mx/repo/dists/bookworm/main/binary-amd64/Packages.gz) 更换地址成功更新!
#ahs hardware stack repo
deb https://mirrors.aliyun.com/mxlinux/mx/repo/ bookworm ahs