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

Nvidia Container Toolkit Fails checksum verification #2

Closed
peteches opened this issue Jul 18, 2020 · 2 comments
Closed

Nvidia Container Toolkit Fails checksum verification #2

peteches opened this issue Jul 18, 2020 · 2 comments

Comments

@peteches
Copy link

Hi, I've just tried install the nvidia container toolkit from your overlay, but I'm running into some trouble.

libnvidia-container installs finem but the checksums don't match the download, for either v1.1.1 or v1.1.2.

`
2020-07-18 16:48:53 (2.87 MB/s) - ‘/var/cache/distfiles/nvidia-container-toolkit-1.1.1.tar.gz.download’ saved [1767996]

!!! Fetched file: nvidia-container-toolkit-1.1.1.tar.gz VERIFY FAILED!
!!! Reason: Filesize does not match recorded size
!!! Got: 1767996
!!! Expected: 1768013
Refetching... File renamed to '/var/cache/distfiles/nvidia-container-toolkit-1.1.1.tar.gz.checksum_failure.6t89_j6d'`

And

`2020-07-18 16:55:31 (727 KB/s) - ‘/var/cache/distfiles/nvidia-container-toolkit-1.1.2.tar.gz.download’ saved [1744451]

!!! Fetched file: nvidia-container-toolkit-1.1.2.tar.gz VERIFY FAILED!
!!! Reason: Filesize does not match recorded size
!!! Got: 1744451
!!! Expected: 1744445
Refetching... File renamed to '/var/cache/distfiles/nvidia-container-toolkit-1.1.2.tar.gz.checksum_failure.tanunibo'
`
Many Thanks

@peteches
Copy link
Author

peteches commented Jul 18, 2020

Looking deeper it appears that NVIDIA have moved their repo from NVIDIA/container-toolkit to NVIDIA/nvidia-container-toolkit and re-packaged the tarball. There is a 301 in place from the old archive to the new, but the ebuild is failing because the packages are no longer the same. The new tarball extracts to a nvidia-container-toolkit dir instead of container-toolkit the ebuild expects.

I'm new to ebuilds, but I may be able to get a PR for you to fix this. 🤞

@vowstar
Copy link
Owner

vowstar commented Oct 8, 2020

Thank you!

@vowstar vowstar closed this as completed Oct 8, 2020
vowstar added a commit that referenced this issue Oct 8, 2020
Thanks @peteches!

Merged: #3
Closes: #2
Package-Manager: Portage-3.0.8, Repoman-3.0.1
Signed-off-by: Huang Rui <vowstar@gmail.com>
vowstar added a commit that referenced this issue Oct 8, 2020
Thanks @peteches!

Merged: #3
Closes: #2
Package-Manager: Portage-3.0.8, Repoman-3.0.1
Signed-off-by: Huang Rui <vowstar@gmail.com>
gentoo-bot pushed a commit to gentoo/guru that referenced this issue Oct 8, 2020
@peteches fixed the ebuild and BDEPEND
vowstar/vowstar-overlay#2
vowstar/vowstar-overlay#3

Package-Manager: Portage-3.0.8, Repoman-3.0.1
Signed-off-by: Huang Rui <vowstar@gmail.com>
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