After following the first two instructions on https://www.hipchat.com/downloads#linux I then run
sudo apt-get update
A lot of packages are updated but the operation ends with the warnings and errors:
W: Failed to fetch http://dl.google.com/linux/chrome/deb/dists/stable/Release Unable to find expected entry 'main/binary-i386/Packages' in Release file (Wrong sources.list entry or malformed file) W: Failed to fetch https://atlassian.artifactoryonline.com/atlassian/hipchat-apt-client/dists/rafaela/main/binary-amd64/Packages HttpError404 W: Failed to fetch https://atlassian.artifactoryonline.com/atlassian/hipchat-apt-client/dists/rafaela/main/binary-i386/Packages HttpError404 E: Some index files failed to download. They have been ignored, or old ones used instead.
Checking to see what's in the .list file:
$ cat /etc/apt/sources.list.d/atlassian-hipchat4.list deb https://atlassian.artifactoryonline.com/atlassian/hipchat-apt-client rafaela main
If I then try the install itself I get:
$ sudo apt-get install hipchat4 Reading package lists... Done Building dependency tree Reading state information... Done E: Unable to locate package hipchat4
I've had the same problem. This happens because your release (rafaela in this case) is not available. You can solve this by rerunning the first command:
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'
and replacing "$(lsb_release -c -s)" with a distribution that is available, for example trusty (the complete list is here: https://atlassian.artifactoryonline.com/atlassian/hipchat-apt-client/dists/
works for me, if you `cat /etc/debian_version`, you can see what "equivalent Debian version your linux is running, in my case it is Jessie. and then just replace rafaela with jessie in the apt source file, and it works fine.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks for the advice, this was addressed by Atlassian in https://jira.atlassian.com/browse/HCPUB-287
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.