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

Issues with sha256 checksums #88

Open
MWigger opened this issue Jul 29, 2019 · 2 comments
Open

Issues with sha256 checksums #88

MWigger opened this issue Jul 29, 2019 · 2 comments

Comments

@MWigger
Copy link

MWigger commented Jul 29, 2019

Hello,
since a few days we have an issue that the sha256 checksums are not currectly written into the repodata.json
This results in the following message on client side:


CondaMultiError: ChecksumMismatchError: Conda detected a mismatch between the expected content and downloaded content
for url 'http://internal-mirror/conda/anaconda/linux-64/pyqt-5.9.2-py27h05f1152_2.tar.bz2'.
  download saved to:[...] pyqt-5.9.2-py27h05f1152_2.tar.bz2
  expected sha256: 9aa0fa86d8331b06286f0da0b1bef3d32780d65a69c29433a434b46abdb84e13
  actual sha256: 999239e84ec2163de3094909cd4c05dd18fa28182a03bead3f5f3c4e9f853f58

(happened with several packages)
From what we see the download is correct and the upstream repodata.json includes the correct sha256 checksum. also the md5sum is correct.
we updated now from 0.7.2. to 0.8.0, but the issue remains

@dcendents
Copy link

We have the same problem.

pandas-profiling-1.4.1-py36_0.tar.bz2 sha256 is d882cccd4861fd6b5deca8b25ffafe94a050860045d536e48d181c8d3735b3c9

in repodata.json in the conda-mirror, the value is set to: 7afe3715c7b3dbfe43428630eea5de3e49d0279efff68ecd44404c1751d1d234

This is in a brand new mirror. I can't understand where that value comes from...

@dcendents
Copy link

I've found a workaround, by using the full URL, the sha256 field is ok. I really don't understand why, but it works.

This will mirror the anaconda repo and the sha256 values will be wrong in repodata.json: conda-mirror --upstream-channel anaconda ...

The following command will work: conda-mirror --upstream-channel https://conda.anaconda.org/anaconda ...

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