Uploaded image for project: 'Community Package Repository'
  1. Community Package Repository
  2. CPR-431

Hash sum mismatch when installing puppet-agent on xenial

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Normal
    • Resolution: Done
    • Affects Version/s: None
    • Fix Version/s: 2017/08/02
    • Labels:
      None
    • Environment:

      Vagrant machine with the box: config.vm.box = "ubuntu/xenial64"

    • Template:
    • Method Found:
      Needs Assessment
    • QA Risk Assessment:
      Needs Assessment

      Description

      I am running a vagrant VM and install a puppet agent on this.

      I am following the installation instruction provided in puppet docs and was working today earlier:

      #!/bin/bash
      wget https://apt.puppetlabs.com/puppetlabs-release-pc1-xenial.deb
      sudo dpkg -i puppetlabs-release-pc1-xenial.deb
      sudo apt-get update
      sudo apt-get install puppet-agent
      sudo sed -i -r "s/(secure_path=\")(.*)(\")/\1\2:\/opt\/puppetlabs\/bin\3/" /etc/sudoers
      rm -f puppetlabs-release-pc1-xenial.deb
      

      The following log is outputed:

      https://apt.puppetlabs.com/puppetlabs-release-pc1-xenial.deb
      ==> default: Resolving apt.puppetlabs.com (apt.puppetlabs.com)...
      ==> default: 52.84.177.103, 52.84.177.173, 52.84.177.47, ...
      ==> default: Connecting to apt.puppetlabs.com (apt.puppetlabs.com)|52.84.177.103|:443...
      ==> default: connected.
      ==> default: HTTP request sent, awaiting response...
      ==> default: 200 OK
      ==> default: Length: 13662 (13K) [application/x-debian-package]
      ==> default: Saving to: ‘puppetlabs-release-pc1-xenial.deb’
      ==> default:
      ==> default:      0K .......... ...
      ==> default:              100% 62.8M=0s
      ==> default: 2017-06-19 17:56:48 (62.8 MB/s) - ‘puppetlabs-release-pc1-xenial.deb’ saved [13662/13662]
      ==> default: Selecting previously unselected package puppetlabs-release-pc1.
      ==> default: (Reading database ... 53897 files and directories currently installed.)
      ==> default: Preparing to unpack puppetlabs-release-pc1-xenial.deb ...
      ==> default: Unpacking puppetlabs-release-pc1 (1.1.0-2xenial) ...
      ==> default: Setting up puppetlabs-release-pc1 (1.1.0-2xenial) ...
      ==> default: Ign:1 http://apt.puppetlabs.com xenial InRelease
      ==> default: Get:2 http://apt.puppetlabs.com xenial Release [26.8 kB]
      ==> default: Get:3 http://apt.puppetlabs.com xenial Release.gpg [841 B]
      ==> default: Get:4 http://apt.puppetlabs.com xenial/PC1 amd64 Packages [14.6 kB]
      ==> default: Ign:4 http://apt.puppetlabs.com xenial/PC1 amd64 Packages
      ==> default: Get:5 http://apt.puppetlabs.com xenial/PC1 all Packages [7,797 B]
      ==> default: Err:5 http://apt.puppetlabs.com xenial/PC1 all Packages
      ==> default:   Hash Sum mismatch
      ==> default: Get:4 http://apt.puppetlabs.com xenial/PC1 amd64 Packages [97.8 kB]
      ==> default: Hit:6 http://archive.ubuntu.com/ubuntu xenial InRelease
      ==> default: Get:7 http://security.ubuntu.com/ubuntu xenial-security InRelease [102 kB]
      ==> default: Get:8 http://security.ubuntu.com/ubuntu xenial-security/main Sources [77.0 kB]
      ==> default: Get:9 http://security.ubuntu.com/ubuntu xenial-security/restricted Sources [2,604 B]
      ==> default: Get:10 http://security.ubuntu.com/ubuntu xenial-security/universe Sources [35.1 kB]
      ==> default: Get:11 http://archive.ubuntu.com/ubuntu xenial-updates InRelease [102 kB]
      ==> default: Get:12 http://security.ubuntu.com/ubuntu xenial-security/multiverse Sources [1,144 B]
      ==> default: Get:13 http://archive.ubuntu.com/ubuntu xenial-backports InRelease [102 kB]
      ==> default: Get:14 http://security.ubuntu.com/ubuntu xenial-security/main amd64 Packages [291 kB]
      ==> default: Get:15 http://security.ubuntu.com/ubuntu xenial-security/main Translation-en [124 kB]
      ==> default: Get:16 http://security.ubuntu.com/ubuntu xenial-security/restricted amd64 Packages [7,420 B]
      ==> default: Get:17 http://security.ubuntu.com/ubuntu xenial-security/restricted Translation-en [2,428 B]
      ==> default: Get:18 http://security.ubuntu.com/ubuntu xenial-security/universe amd64 Packages [141 kB]
      ==> default: Get:19 http://security.ubuntu.com/ubuntu xenial-security/universe Translation-en [72.5 kB]
      ==> default: Get:20 http://security.ubuntu.com/ubuntu xenial-security/multiverse amd64 Packages [2,748 B]
      ==> default: Get:21 http://archive.ubuntu.com/ubuntu xenial/main Sources [868 kB]
      ==> default: Get:22 http://archive.ubuntu.com/ubuntu xenial/restricted Sources [4,808 B]
      ==> default: Get:23 http://archive.ubuntu.com/ubuntu xenial/universe Sources [7,728 kB]
      ==> default: Get:24 http://archive.ubuntu.com/ubuntu xenial/multiverse Sources [179 kB]
      ==> default: Get:25 http://archive.ubuntu.com/ubuntu xenial-updates/main Sources [256 kB]
      ==> default: Get:26 http://archive.ubuntu.com/ubuntu xenial-updates/restricted Sources [3,000 B]
      ==> default: Get:27 http://archive.ubuntu.com/ubuntu xenial-updates/universe Sources [161 kB]
      ==> default: Get:28 http://archive.ubuntu.com/ubuntu xenial-updates/multiverse Sources [5,668 B]
      ==> default: Get:29 http://archive.ubuntu.com/ubuntu xenial-updates/main amd64 Packages [565 kB]
      ==> default: Get:30 http://archive.ubuntu.com/ubuntu xenial-updates/main Translation-en [228 kB]
      ==> default: Get:31 http://archive.ubuntu.com/ubuntu xenial-updates/restricted amd64 Packages [7,772 B]
      ==> default: Get:32 http://archive.ubuntu.com/ubuntu xenial-updates/restricted Translation-en [2,548 B]
      ==> default: Get:33 http://archive.ubuntu.com/ubuntu xenial-updates/universe amd64 Packages [488 kB]
      ==> default: Get:34 http://archive.ubuntu.com/ubuntu xenial-updates/universe Translation-en [193 kB]
      ==> default: Get:35 http://archive.ubuntu.com/ubuntu xenial-updates/multiverse amd64 Packages [8,932 B]
      ==> default: Get:36 http://archive.ubuntu.com/ubuntu xenial-backports/main Sources [3,308 B]
      ==> default: Get:37 http://archive.ubuntu.com/ubuntu xenial-backports/universe Sources [4,048 B]
      ==> default: Get:38 http://archive.ubuntu.com/ubuntu xenial-backports/main amd64 Packages [4,688 B]
      ==> default: Get:39 http://archive.ubuntu.com/ubuntu xenial-backports/universe amd64 Packages [5,624 B]
      ==> default: Get:40 http://archive.ubuntu.com/ubuntu xenial-backports/universe Translation-en [2,872 B]
      ==> default: Fetched 11.9 MB in 39s (305 kB/s)
      ==> default: Reading package lists...
      ==> default: E: Failed to fetch http://apt.puppetlabs.com/dists/xenial/PC1/binary-all/Packages.gz  Hash Sum mismatch
      ==> default: E: Some index files failed to download. They have been ignored, or old ones used instead.
      

      I've seem the package list was changed today and maybe some signature changed.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              raphaeldovale Raphael do Vale
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Zendesk Support