Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Receiving error about Packages.gz being the incorrect size #5

Closed
csnider-li opened this issue Apr 28, 2022 · 2 comments
Closed

Receiving error about Packages.gz being the incorrect size #5

csnider-li opened this issue Apr 28, 2022 · 2 comments
Assignees

Comments

@csnider-li
Copy link

Ubuntu 20.04
When running apt-get update I receive the following error.
`Get:12 https://developer.download.nvidia.com/compute/cuda/repos/ubuntu2004/x86_64 Packages [481 kB]
Err:12 https://developer.download.nvidia.com/compute/cuda/repos/ubuntu2004/x86_64 Packages
File has unexpected size (631054 != 481481). Mirror sync in progress? [IP: 152.195.19.142 443]
Hashes of expected file:

  • Filesize:481481 [weak]
  • SHA256:8556d67c6d380c957f05057f448d994584a135d7ed75e5ae6bb25c3fc1070b0b
  • SHA1:c5ea9556407a3b5daec4aac530cd038e9b490441 [weak]
  • MD5Sum:a5513131dbd2d4e50f185422ebb43ac9 [weak]
    Release file created at: Mon, 25 Apr 2022 23:27:19 +0000
    Fetched 1575 B in 1s (1818 B/s)
    Reading package lists... Done
    E: Failed to fetch https://developer.download.nvidia.com/compute/cuda/repos/ubuntu2004/x86_64/Packages.gz File has unexpected size (631054 != 481481). Mirror sync in progress? [IP: 152.195.19.142 443]
    Hashes of expected file:
    - Filesize:481481 [weak]
    - SHA256:8556d67c6d380c957f05057f448d994584a135d7ed75e5ae6bb25c3fc1070b0b
    - SHA1:c5ea9556407a3b5daec4aac530cd038e9b490441 [weak]
    - MD5Sum:a5513131dbd2d4e50f185422ebb43ac9 [weak]
    Release file created at: Mon, 25 Apr 2022 23:27:19 +0000
    E: Some index files failed to download. They have been ignored, or old ones used instead.`

I've already run apt-get clean however the error persists.
When I manually download the Packages.gz file it shows the correct size
`wget https://developer.download.nvidia.com/compute/cuda/repos/ubuntu2004/x86_64/Packages.gz
--2022-04-28 11:45:29-- https://developer.download.nvidia.com/compute/cuda/repos/ubuntu2004/x86_64/Packages.gz
Resolving developer.download.nvidia.com (developer.download.nvidia.com)... 152.195.19.142
Connecting to developer.download.nvidia.com (developer.download.nvidia.com)|152.195.19.142|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 631054 (616K) [application/x-gzip]
Saving to: 'Packages.gz'

Packages.gz 100%[===============================================================================>] 616.26K --.-KB/s in 0.008s

2022-04-28 11:45:29 (72.5 MB/s) - 'Packages.gz' saved [631054/631054]`

I've waited several hours to see if it was truly a mirror issue however the error still persist. I've also tried this on multiple servers with the same result.

@kmittman kmittman self-assigned this Apr 28, 2022
@kmittman
Copy link
Collaborator

Hi sorry I must have missed this one among the notifications from #4
The CUDA repository for ubuntu2004/x86_64 should be working now. However there are known issues with the CDN for the other repositories.

@csnider-li
Copy link
Author

Hi, no problem and thanks for the reply. It started working about an hour after creating my issue. Not sure what the fix was but it looks good now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants