Всем привет.
Установив Ubuntu и попробовав обновить пакеты, я столкнулся со следующей ошибкой:
текст ошибки
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 | Get: 1 http://archive.ubuntu.com/ubuntu focal-updates/main amd64 libc6-dev amd64 2.31-0ubuntu9.2 [2,520 kB] Get: 2 http://repo.zabbix.com/zabbix/5.2/ubuntu focal/main amd64 zabbix-server-pgsql amd64 1:5.2.4-1+ubuntu20.04 [2,599 kB] Get: 3 http://archive.ubuntu.com/ubuntu focal-updates/main amd64 libc-dev-bin amd64 2.31-0ubuntu9.2 [71.8 kB] Get: 4 http://archive.ubuntu.com/ubuntu focal-updates/main amd64 libc6 amd64 2.31-0ubuntu9.2 [2,715 kB] Get: 5 http://archive.ubuntu.com/ubuntu focal-updates/main amd64 libc6 amd64 2.31-0ubuntu9.2 [2,715 kB] Get: 6 http://repo.zabbix.com/zabbix/5.2/ubuntu focal/main amd64 zabbix-agent amd64 1:5.2.4-1+ubuntu20.04 [203 kB] Get: 7 http://repo.zabbix.com/zabbix/5.2/ubuntu focal/main amd64 zabbix-frontend-php all 1:5.2.4-1+ubuntu20.04 [2,515 kB] Err http://archive.ubuntu.com/ubuntu focal-updates/main amd64 libc6 amd64 2.31-0ubuntu9.2 Hash Sum mismatch Hashes of expected file: - SHA512:2e5e62aa7426c436dad1ff71b7a689cbe334f4251b19fb2c22209ce1930315588f725dd60e44d2710d6dea1ff20f4b0b9167b4a469fefdc160e6535c0bd7f751 - SHA256:be7386ac249db6f5500f483456c135553a7b5b333388afa150a1f2ff3a294bb1 - SHA1:b1270449ee8ba6bb8f392d2a14a03c258e190df6 [weak] - MD5Sum:582b1c473c06200a9de9652915955642 [weak] - Filesize:2714688 [weak] Hashes of received file: - SHA512:f6e7e9ab05c7a1f5d4c740517188141d7c28a237ef452b6739d767a7060f51b72a9988758efbbdb6e437dbdb7d94823e29a5bc9b833d0a1b11cb479bf0429931 - SHA256:0949fdd153c7f4f057e37a7aa2ff783e4c1f5a779bc78844b5b2eac5df70df9e - SHA1:962e2dbb1cc79047fca556e977c1ada50752cc98 [weak] - MD5Sum:5067b45ddd3b86cf06f8b8f814ccba81 [weak] - Filesize:2714688 [weak] Last modification reported: Thu, 17 Dec 2020 00:19:45 +0000 Get: 8 http://archive.ubuntu.com/ubuntu focal-updates/main amd64 locales all 2.31-0ubuntu9.2 [3,872 kB] Get: 9 http://repo.zabbix.com/zabbix/5.2/ubuntu focal/main amd64 zabbix-frontend-php all 1:5.2.4-1+ubuntu20.04 [2,515 kB] Get: 10 http://archive.ubuntu.com/ubuntu focal-updates/main amd64 locales all 2.31-0ubuntu9.2 [3,872 kB] Get: 11 http://repo.zabbix.com/zabbix/5.2/ubuntu focal/main amd64 zabbix-apache-conf all 1:5.2.4-1+ubuntu20.04 [5,928 B] Get: 12 http://archive.ubuntu.com/ubuntu focal-updates/main amd64 libc-bin amd64 2.31-0ubuntu9.2 [639 kB] Get: 13 http://archive.ubuntu.com/ubuntu focal-updates/main amd64 libc-bin amd64 2.31-0ubuntu9.2 [639 kB] Err http://archive.ubuntu.com/ubuntu focal-updates/main amd64 libc-bin amd64 2.31-0ubuntu9.2 Hash Sum mismatch Hashes of expected file: - SHA512:f7392cee1e379b296b53485fb94280e087db0e12317b235658ac48371f682bcf5011f61591a323d1f619c8b7c8439fcb570ec7ba2cf7ef91721f0a45670abfc6 - SHA256:e78733b4974c8bfd705b9bba7930ce309267cecc39a6c90ee18bbe44052d0c48 - SHA1:3c39898eea26c6962e75525e564cb4db8e866397 [weak] - MD5Sum:f29c1bbae804d17af76acff694f27635 [weak] - Filesize:638668 [weak] Hashes of received file: - SHA512:9e58dbe33dee732251a092ecd6481accca2da012a1a137b5fa5445959b254423708dce69ddbe92f055bed3b48f5deb8b469e5a97d75d89ad4cebc12e5eef51e5 - SHA256:9026ed574697ca56aca19d8733d9133ea49319f79ae68a3d00947af0254cccd7 - SHA1:00bf9336ac44c47a7bf59f7ca1746242435f0667 [weak] - MD5Sum:3448fc51741978ad2d80675d87c27462 [weak] - Filesize:638668 [weak] Last modification reported: Thu, 17 Dec 2020 00:19:45 +0000 Get: 14 http://archive.ubuntu.com/ubuntu focal-updates/main amd64 ubuntu-drivers-common amd64 1:0.8.6.3~0.20.04.2 [52.2 kB] Get: 15 http://repo.zabbix.com/zabbix/5.2/ubuntu focal/main amd64 zabbix-apache-conf all 1:5.2.4-1+ubuntu20.04 [5,928 B] Get: 16 http://archive.ubuntu.com/ubuntu focal-updates/main amd64 ubuntu-drivers-common amd64 1:0.8.6.3~0.20.04.2 [52.2 kB] Get: 17 http://archive.ubuntu.com/ubuntu focal-updates/main amd64 lshw amd64 02.18.85-0.3ubuntu2.20.04.1 [271 kB] Get: 18 http://archive.ubuntu.com/ubuntu focal-updates/main amd64 lshw amd64 02.18.85-0.3ubuntu2.20.04.1 [271 kB] Get: 19 http://archive.ubuntu.com/ubuntu focal-updates/main amd64 grub-efi-amd64 amd64 2.04-1ubuntu26.8 [46.7 kB] Get: 20 http://archive.ubuntu.com/ubuntu focal-updates/main amd64 grub-efi-amd64 amd64 2.04-1ubuntu26.8 [46.7 kB] Get: 21 http://archive.ubuntu.com/ubuntu focal-updates/main amd64 grub2-common amd64 2.04-1ubuntu26.8 [590 kB] Get: 22 http://archive.ubuntu.com/ubuntu focal-updates/main amd64 grub2-common amd64 2.04-1ubuntu26.8 [590 kB] Get: 23 http://archive.ubuntu.com/ubuntu focal-updates/main amd64 grub-efi-amd64-signed amd64 1.142.10+2.04-1ubuntu26.8 [471 kB] Get: 24 http://archive.ubuntu.com/ubuntu focal-updates/main amd64 grub-efi-amd64-signed amd64 1.142.10+2.04-1ubuntu26.8 [471 kB] Get: 25 http://archive.ubuntu.com/ubuntu focal-updates/main amd64 grub-efi-amd64-bin amd64 2.04-1ubuntu26.8 [704 kB] Get: 26 http://archive.ubuntu.com/ubuntu focal-updates/main amd64 grub-efi-amd64-bin amd64 2.04-1ubuntu26.8 [704 kB] Get: 27 http://archive.ubuntu.com/ubuntu focal-updates/main amd64 grub-common amd64 2.04-1ubuntu26.8 [1,874 kB] Get: 28 http://archive.ubuntu.com/ubuntu focal-updates/main amd64 grub-common amd64 2.04-1ubuntu26.8 [1,874 kB] Fetched 19.1 MB in 5min 28s (58.2 kB/s) E: Failed to fetch http://archive.ubuntu.com/ubuntu/pool/main/g/glibc/libc6_2.31-0ubuntu9.2_amd64.deb: Hash Sum mismatch Hashes of expected file: - SHA512:2e5e62aa7426c436dad1ff71b7a689cbe334f4251b19fb2c22209ce1930315588f725dd60e44d2710d6dea1ff20f4b0b9167b4a469fefdc160e6535c0bd7f751 - SHA256:be7386ac249db6f5500f483456c135553a7b5b333388afa150a1f2ff3a294bb1 - SHA1:b1270449ee8ba6bb8f392d2a14a03c258e190df6 [weak] - MD5Sum:582b1c473c06200a9de9652915955642 [weak] - Filesize:2714688 [weak] Hashes of received file: - SHA512:f6e7e9ab05c7a1f5d4c740517188141d7c28a237ef452b6739d767a7060f51b72a9988758efbbdb6e437dbdb7d94823e29a5bc9b833d0a1b11cb479bf0429931 - SHA256:0949fdd153c7f4f057e37a7aa2ff783e4c1f5a779bc78844b5b2eac5df70df9e - SHA1:962e2dbb1cc79047fca556e977c1ada50752cc98 [weak] - MD5Sum:5067b45ddd3b86cf06f8b8f814ccba81 [weak] - Filesize:2714688 [weak] Last modification reported: Thu, 17 Dec 2020 00:19:45 +0000 E: Unable to fetch some packages; try '-o APT::Get::Fix-Missing=true' to continue with missing packages |
[свернуть]
Для её исправления необходимо сделать следующее:
1 2 3 | sudo su - mkdir /etc/gcrypt echo all >> /etc/gcrypt/hwf.deny |
После этого можно заново обновить пакеты.
Ссылки:
If you found an error, highlight it and press Shift + Enter or to inform us.