It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

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
TAGS
Community showcase
Published in Hipchat

Hipchat Cloud and Stride have reached End of Life (updated)

All good things come to an end - thanks to all our customers and partners who have been along the Hipchat and Stride journey with us.  As of Feb 15th 2019, Hipchat Cloud and Stride have reached ...

35,201 views 9 8
Read article

Community Events

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

Find an event

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

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you