如何在 Ubuntu 16.04 上安装 hipchat

如何在 Ubuntu 16.04 上安装 hipchat

当我将其 repo 添加到 apt 源并运行时,出现以下错误apt update

E: 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.

我知道这是因为包签名的安全性发生了变化,并且我已经向 Atlassian 开具了支持票,但我还没有收到他们的回复。

与此同时,有没有什么解决方法?

答案1

在 Atlassian 修复该 repo 之前,你可以下载deb 文件并使用 dpkg 安装:

    wget https://atlassian.artifactoryonline.com/atlassian/hipchat-apt-client/pool/HipChat4-4.0.1517-Linux.deb
    sudo dpkg -i HipChat4-4.0.1517-Linux.deb

答案2

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 

相关内容