# "Hash Sum mismatch" from apt-get update in cuda images

**URL:** <https://forums.developer.nvidia.com/t/hash-sum-mismatch-from-apt-get-update-in-cuda-images/220686>\
**Category:** CUDA Setup and Installation\
**Created:** [July 14, 2022, 7:09am UTC](https://forums.developer.nvidia.com/t/hash-sum-mismatch-from-apt-get-update-in-cuda-images/220686 "2022-07-14T07:09:25Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![dennis.pan](https://sea2.discourse-cdn.com/nvidia/user_avatar/forums.developer.nvidia.com/dennis.pan/32/117820_2.png) [@dennis.pan](https://forums.developer.nvidia.com/u/dennis.pan)\
**Post date:** [July 14, 2022, 7:09am UTC](https://forums.developer.nvidia.com/t/hash-sum-mismatch-from-apt-get-update-in-cuda-images/220686/1 "2022-07-14T07:09:25Z")

</div>

Could anyone take a look?

E: Failed to fetch [https://developer.download.nvidia.com/compute/cuda/repos/ubuntu1804/x86\_64/Packages.gz](https://developer.download.nvidia.com/compute/cuda/repos/ubuntu1804/x86_64/Packages.gz) Hash Sum mismatch  
Hashes of expected file:  
- Filesize:815853 [weak]  
- SHA256:66e891d82894f08ecedac13c4e058ce5ea21882032c66a5b4d981cc2552f94a1  
- SHA1:7cc76dbdc9d32d50cf5a1d377c8c877bcef23dcd [weak]  
- MD5Sum:dc953e306c3b53f23ccdbe433881a800 [weak]  
Hashes of received file:  
- SHA256:989834105adeb2987d44b3da1cf0bd621e4a86a260f5790dd2f865105d231efe  
- SHA1:da0b54ecbb7f3dd76602bef508e9a8df901d1cd2 [weak]  
- MD5Sum:aa04b5a6fb8ceb8c4c0676ce2c144903 [weak]  
- Filesize:815853 [weak]  
Last modification reported: Mon, 11 Jul 2022 23:01:57 +0000  
Release file created at: Tue, 12 Jul 2022 15:01:44 +0000  
E: Some index files failed to download. They have been ignored, or old ones used instead.

---

<div class="post-metadata">

**Author:** ![dennis.pan](https://sea2.discourse-cdn.com/nvidia/user_avatar/forums.developer.nvidia.com/dennis.pan/32/117820_2.png) [@dennis.pan](https://forums.developer.nvidia.com/u/dennis.pan)\
**Post date:** [July 14, 2022, 7:30am UTC](https://forums.developer.nvidia.com/t/hash-sum-mismatch-from-apt-get-update-in-cuda-images/220686/2 "2022-07-14T07:30:10Z")

</div>

fyi @roarmstrong in case you have some idea bout this

---

<div class="post-metadata">

**Author:** ![won-mean.lee](https://sea2.discourse-cdn.com/nvidia/user_avatar/forums.developer.nvidia.com/won-mean.lee/32/177064_2.png) [@won-mean.lee](https://forums.developer.nvidia.com/u/won-mean.lee)\
**Post date:** [July 14, 2022, 5:45pm UTC](https://forums.developer.nvidia.com/t/hash-sum-mismatch-from-apt-get-update-in-cuda-images/220686/3 "2022-07-14T17:45:17Z")

</div>

Yep, we’re seeing it as well.

---

<div class="post-metadata">

**Author:** ![dennis.pan](https://sea2.discourse-cdn.com/nvidia/user_avatar/forums.developer.nvidia.com/dennis.pan/32/117820_2.png) [@dennis.pan](https://forums.developer.nvidia.com/u/dennis.pan)\
**Post date:** [July 14, 2022, 8:40pm UTC](https://forums.developer.nvidia.com/t/hash-sum-mismatch-from-apt-get-update-in-cuda-images/220686/4 "2022-07-14T20:40:18Z")

</div>

fyi @Robert_Crovella do you know anyone who can help?

---

<div class="post-metadata">

**Author:** ![ariel.young](https://developer.download.nvidia.com/images/forums/profile-default-devtalk-84.png) [@ariel.young](https://forums.developer.nvidia.com/u/ariel.young)\
**Post date:** [July 14, 2022, 11:25pm UTC](https://forums.developer.nvidia.com/t/hash-sum-mismatch-from-apt-get-update-in-cuda-images/220686/5 "2022-07-14T23:25:52Z")

</div>

This issue is also affecting me – I can no longer build my docker image based on nvidia/cuda. It appears that the sha1/sha256/md5 sums corresponding to Packages.gz in the InRelease file of the Ubuntu 18.04 Cuda repository are incorrect. Oddly, the sums for the Packages file are correct, and match the result of decompressing Packages.gz as well.

Is there any estimate on when this will be fixed?

---

<div class="post-metadata">

**Author:** ![greg.gallagher](https://developer.download.nvidia.com/images/forums/profile-default-devtalk-84.png) [@greg.gallagher](https://forums.developer.nvidia.com/u/greg.gallagher)\
**Post date:** [July 16, 2022, 6:02am UTC](https://forums.developer.nvidia.com/t/hash-sum-mismatch-from-apt-get-update-in-cuda-images/220686/6 "2022-07-16T06:02:24Z")

</div>

Just adding onto the pile, I’m seeing these issues with pulling the 18.04 packages. Looks like they just updated the packages a few days ago. It’s strange, sometimes I pull and don’t get the checksum errors.

---

<div class="post-metadata">

**Author:** ![kmittman](https://sea2.discourse-cdn.com/nvidia/user_avatar/forums.developer.nvidia.com/kmittman/32/39694_2.png) [@kmittman](https://forums.developer.nvidia.com/u/kmittman)\
**Post date:** [July 18, 2022, 3:55pm UTC](https://forums.developer.nvidia.com/t/hash-sum-mismatch-from-apt-get-update-in-cuda-images/220686/7 "2022-07-18T15:55:29Z")

</div>

Hi @dennis.pan, @won-mean.lee, @ariel.young, @greg.gallagher  
I’m taking a look now, will follow up on GitHub: [https://github.com/NVIDIA/cuda-repo-management/issues/7](https://github.com/NVIDIA/cuda-repo-management/issues/7)
