Unable to update Hipchat 4 on Linux Mint 17.2

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

 

 

 

 

 

 

 

2 answers

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.

Thanks for the advice, this was addressed by Atlassian in https://jira.atlassian.com/browse/HCPUB-287

Suggest an answer

Log in or Sign up to answer
Community showcase
Published Nov 14, 2018 in Hipchat Cloud

Hipchat Cloud and Stride End of Life: Just over 90 days away

Earlier this year we made the difficult decision to discontinue our team messaging tools, Stride and Hipchat. The end of life date for Stride and Hipchat Cloud is quickly approaching - February 15, 2...

28,359 views 0 7
Read article

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you