Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Unable to update Hipchat 4 on Linux Mint 17.2

Steven Hines March 13, 2016

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

2 votes
janthiemen March 23, 2016

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/

Sverre Rakkenes March 28, 2016

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.

0 votes
Steven Hines April 15, 2016

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
AUG Leaders

Atlassian Community Events