Artifactory搭的Ubuntu源出现“Hash Sum mismatch”
自己用 Artifactory 搭了 Ubuntu 源服务器,有时候执行 apt update 时会出现“Hash Sum mismatch”。
Get:21 https://example.cn/artifactory/ubuntu-remote bionic-backports/universe amd64 DEP-11 Metadata [9,288 B] Err:21 https://example.cn/artifactory/ubuntu-remote bionic-backports/universe amd64 DEP-11 Metadata Hash Sum mismatch Hashes of expected file: - Filesize:9288 [weak] - SHA256:a9b8207e558e185d3e8afbf07d0ccf19aeb2bb99ce51cf013e33340c07aacabb - SHA1:3c038afe266d601582f42fb6f90a17c554044911 [weak] - MD5Sum:d12148ff09543f81b393bb09e731aa53 [weak] Hashes of received file: - SHA256:4ac9a54ab7e09d329037cb1d2a3711b915eeff8084757e36422f0902a559bc2a - SHA1:6152247990fd25ceb020184ee6b516eeca353635 [weak] - MD5Sum:368a6ce0fff3faec974ce5952988dfc4 [weak] - Filesize:9288 [weak] Last modification reported: Tue, 15 Dec 2020 16:00:47 +0000 Release file created at: Fri, 18 Dec 2020 12:00:57 +0000 Get:22 https://example.cn/artifactory/ubuntu-remote bionic-security/main amd64 DEP-11 Metadata [49.0 kB]
解决方法是找到 Artifactory 里对应的出错的缓存文件删掉,让其重新下载。
按[1]里说的,这个问题已经解决了,但是在最新版里还是出现了。
- https://www.jfrog.com/jira/browse/RTFACT-7415
Thankls for finally wriuting abouit > Artifactory搭的Ubuntu源出现“Haash Summ mismatch” – lxwp < Liked it!