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

Puppet bionic apt repo Hash Sum mismatch #9333

Closed
cedriclecoz opened this issue Apr 30, 2024 · 2 comments
Closed

Puppet bionic apt repo Hash Sum mismatch #9333

cedriclecoz opened this issue Apr 30, 2024 · 2 comments
Labels
bug Something isn't working

Comments

@cedriclecoz
Copy link

Describe the Bug

Cannot install puppet7 on a clean ubuntu bionic instance.

packages in http://apt.puppet.com/dists/bionic/puppet7/binary-amd64/ were updated yesterday evening, hash mismatch.

Expected Behavior

apt repos should be updated

Steps to Reproduce

Steps to reproduce the behavior:
On a ubuntu bionic image:

wget https://apt.puppetlabs.com/puppet7-release-bionic.deb -O puppet.deb
dpkg-reconfigure debconf -f noninteractive -p critical
dpkg -i puppet.deb
apt update

this returns:

Get:6 http://apt.puppet.com bionic/puppet7 amd64 Packages [40.1 kB]
Err:6 http://apt.puppet.com bionic/puppet7 amd64 Packages
  Hash Sum mismatch
  Hashes of expected file:
   - Filesize:40149 [weak]
   - SHA512:7a5cf571e1682d32b988cacdcaa5d922ec4dcf85fc260f6c277adc1c0b5eafc8377091f614e05ebb04c05a33219dcfd23a143a925a1599cdfb1272d8004630bb
   - SHA256:5b095bcd8b7643af54dcee67eb4c2bc7112bc28bc73d157ae4a006f204507ebc
   - SHA1:7abbdaedd9cfed9de77c7cb4f8693dfa0b48e5cc [weak]
   - MD5Sum:6fd19ae4c5ef33f101eced99ed46965b [weak]
  Hashes of received file:
   - SHA512:a8fc2d224e85b787d2e99d17336f2a31637b13f7720b86eb1366b708dded7e1ff57e5da0b110cc0b6e187e48c2669b6639a2f379b1848cd26d963dbb0d55eee9
   - SHA256:1c686de9f77bb4a52846a22fdae23ee83956a3fe485955700542a975b2e7bf6a
   - SHA1:b1799733c0d6613a37751832d43178639fbcdb69 [weak]
   - MD5Sum:5e5391bb667ae3c91b598ea78f0aaefe [weak]
   - Filesize:40149 [weak]
  Last modification reported: Tue, 30 Apr 2024 03:39:01 +0000
  Release file created at: Tue, 30 Apr 2024 03:36:55 +0000
Get:7 http://apt.puppet.com bionic/puppet7 all Packages [21.2 kB]
Err:7 http://apt.puppet.com bionic/puppet7 all Packages

Fetched 218 kB in 1s (351 kB/s)
Reading package lists... Done
E: Failed to fetch http://apt.puppet.com/dists/bionic/puppet7/binary-amd64/Packages.gz  Hash Sum mismatch
   Hashes of expected file:
    - Filesize:40149 [weak]
    - SHA512:7a5cf571e1682d32b988cacdcaa5d922ec4dcf85fc260f6c277adc1c0b5eafc8377091f614e05ebb04c05a33219dcfd23a143a925a1599cdfb1272d8004630bb
    - SHA256:5b095bcd8b7643af54dcee67eb4c2bc7112bc28bc73d157ae4a006f204507ebc
    - SHA1:7abbdaedd9cfed9de77c7cb4f8693dfa0b48e5cc [weak]
    - MD5Sum:6fd19ae4c5ef33f101eced99ed46965b [weak]
   Hashes of received file:
    - SHA512:a8fc2d224e85b787d2e99d17336f2a31637b13f7720b86eb1366b708dded7e1ff57e5da0b110cc0b6e187e48c2669b6639a2f379b1848cd26d963dbb0d55eee9
    - SHA256:1c686de9f77bb4a52846a22fdae23ee83956a3fe485955700542a975b2e7bf6a
    - SHA1:b1799733c0d6613a37751832d43178639fbcdb69 [weak]
    - MD5Sum:5e5391bb667ae3c91b598ea78f0aaefe [weak]
    - Filesize:40149 [weak]
   Last modification reported: Tue, 30 Apr 2024 03:39:01 +0000
   Release file created at: Tue, 30 Apr 2024 03:36:55 +0000
E: Failed to fetch http://apt.puppet.com/dists/bionic/puppet7/binary-all/Packages.gz
E: Some index files failed to download. They have been ignored, or old ones used instead.

Environment

  • Version puppet7
  • Platform Ubuntu 18.04

Additional Context

Trying to install puppet7 on a fresh ubuntu bionic instance.

@cedriclecoz cedriclecoz added the bug Something isn't working label Apr 30, 2024
@mhashizume
Copy link
Contributor

Thanks for filing this @cedriclecoz , this should be resolved. Are things behaving normally for you now?

@cedriclecoz
Copy link
Author

Yup, all good, thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants