Can't install Jami from their repo

5 respuestas [Último envío]
strypey
Desconectado/a
se unió: 05/14/2015

Jami is now officially supporting Trisquel on the download page of their website. I've tried following these instructions and had some difficulty, and described in the comment thread here:
https://trisquel.info/en/forum/jami-version-trisquel-8-repos-still-called-ring#comment-145334

I seem to have got to the point where apt is querying the Jami repo when I run sudo apt-get update, but when I run sudo apt-get install jami OR sudo apt install jami, it produces this output:

Reading package lists... Done

Building dependency tree

Reading state information... Done

Some packages could not be installed. This may mean that you have requested an impossible situation or if you are using the unstable distribution that some required packages have not yet been created or been moved out of Incoming.

> The following information may help to resolve the situation:

The following packages have unmet dependencies:

jami : Depends: libayatana-appindicator3-1 (>= 0.4.90) but it is not installable

Depends: libgtk-3-0 (>= 3.21.5) but 3.18.9-1ubuntu3.3 is to be installed

Depends: libqrencode4 (>= 3.2.0) but it is not installable

Depends: libqt5core5a (>= 5.12.2) but 5.5.1+dfsg-16ubuntu7.6 is to be installed

Depends: libstdc++6 (>= 9) but 5.4.0-6ubuntu1~16.04.12 is to be installed

Depends: jami-daemon (= 20191128.1.4c44bb7~dfsg1-1) but it is not going to be installed

E: Unable to correct problems, you have held broken packages.

(End of quote)

It could be related that I now have this output when I run sudo apt upgrade:

> The following packages have been kept back:
libpulse-mainloop-glib0 libpulse0 libpulse0:i386
libpulsedsp pulseaudio-module-gconf pulseaudio-module-x11
pulseaudio-utils

Although this was not the case when I first hit the problem. I also noticed that the output for Jami resulting from sudo apt update is:

Hit:1 https://dl.jami.net/nightly/ubuntu_19.10 ring InRelease

So it looks like I've somehow added the wrong repo. I figured out how this happened and explained it to the Jami devs here:
https://git.jami.net/savoirfairelinux/jami-packaging/issues/39#note_16986

However, I'm unsure of the best way to fix the problem. That Jami repo doesn't appear in /etc/apt/sources.list and it doesn't appear under "other software" in the Software and Updates applet in the System Preferences either. I'm not sure how to remove it or edit it. Any suggestions?

chaosmonk

I am a member!

I am a translator!

Desconectado/a
se unió: 07/07/2017

> However, I'm unsure of the best way to fix the problem. That Jami repo
> doesn't appear in /etc/apt/sources.list

What is the output of

$ ls /etc/apt/sources.list.d

?

kenogo (no verificado)
kenogo

I've taken at a look at their page. They install to /etc/apt/sources.list.d/jami.list

So what you need to do is edit this file (with root permissions) to change any occurance of "ubuntu_19.10" to "ubuntu_16.04". Then run `sudo apt update` and `sudo apt install jami`

Haven't tried it myself so feel free to come back to me if there are any further problems.

nadebula.1984
Desconectado/a
se unió: 05/01/2018

Maybe he needs to change any occurrence of "eoan" to "xenial" (code names of 19.10 and 16.04 LTS respectively).

kenogo (no verificado)
kenogo

Nah, while that’s how unofficial repos usually do the naming (which makes sense, because the official repos do it the same way), Jami does it differently.

strypey
Desconectado/a
se unió: 05/14/2015

That seems to be working. Thanks a lot Kenogo.