忘记、过去
2023-09-22 16:39 deepin
sudo rm /var/lib/apt/lists/*
删除本地 apt 缓存,检查 /etc/apt/sourecs.list
和 /etc/apt/sources.list.d/
文件夹中是否写入了第三方仓库 https://artifacts.elastic.co/packages/8.x/apt stable/main
,把这个仓库删除,然后重新执行 sudo apt update
Reply Like 1 View the author
更新提示无法联网,手动更新提示如下,如何处理?
忽略:11 https://artifacts.elastic.co/packages/8.x/apt stable/main i386 Packages
错误:13 https://artifacts.elastic.co/packages/8.x/apt stable/main amd64 Contents (deb)
Hash 校验和不符
Hashes of expected file:
Hashes of received file:
Release file created at: Wed, 20 Sep 2023 01:22:17 +0000
命中:10 https://artifacts.elastic.co/packages/8.x/apt stable/main amd64 Packages
正在读取软件包列表... 完成
E: 无法下载 store:/var/lib/apt/lists/partial/artifacts.elastic.co_packages_8.x_apt_dists_stable_main_Contents-amd64.gz Hash 校验和不符
Hashes of expected file:
Hashes of received file:
Release file created at: Wed, 20 Sep 2023 01:22:17 +0000
E: 部分索引文件下载失败。如果忽略它们,那将转而使用旧的索引文件。