Uploaded image for project: 'HipChat'
  1. HipChat
  2. HCPUB-369

Support new versions of APT

    XMLWordPrintable

    Details

    • Last commented by user?:
      true
    • Symptom Severity:
      Minor
    • Platform:
      Linux client

      Description

      Summary

      Support new versions of APT

      Environment

      HipChat for Linux - Ubuntu 16.04 and its derivatives.

      Steps to Reproduce

      1. In Ubuntu 16.04
      2. follow the instruction from the Website
        sudo sh -c 'echo "deb https://atlassian.artifactoryonline.com/atlassian/hipchat-apt-client $(lsb_release -c -s) main" > /etc/apt/sources.list.d/atlassian-hipchat4.list'
        wget -O - https://atlassian.artifactoryonline.com/atlassian/api/gpg/key/public | sudo apt-key add -
        sudo apt-get update
        sudo apt-get install hipchat4

      Expected Results

      Installation is successful

      Actual Results

      W: Failed to fetch https://atlassian.artifactoryonline.com/atlassian/hipchat-apt-client/dists/xenial/Release No Hash entry in Release file /var/lib/apt/lists/partial/atlassian.artifactoryonline.com_atlassian_hipchat-apt-client_dists_xenial_Release, which is considered strong enough for security purposes
      E: Some index files failed to download. They have been ignored, or old ones used instead.

      Notes

      New versions of APT require to include "Hash:" field in release file. Also SHA1 hashes are now deprecated and APT tosses a warning about that. So there should be SHA256 hashes added.

      Here's an exact error message shown after "apt-get update" command:
      W: Failed to fetch https://atlassian.artifactoryonline.com/atlassian/hipchat-apt-client/dists/xenial/Release No Hash entry in Release file /var/lib/apt/lists/partial/atlassian.artifactoryonline.com_atlassian_hipchat-apt-client_dists_xenial_Release, which is considered strong enough for security purposes
      E: Some index files failed to download. They have been ignored, or old ones used instead.

      Workaround

      Download and install .deb file directly here

        Attachments

          Issue Links

            Activity

              Dates

              • Created:
                Updated:
                Resolved:
                Last commented:
                2 years, 18 weeks, 2 days ago