How to in­stall the Twin­kle soft pho­ne on (K)Ubuntu 14.04 Trus­ty Tahr 5

In (K)Ubuntu 14.04 LTS Trus­ty Tahr, the Twin­kle soft­pho­ne ap­p­li­ca­ti­on is so­mehow packa­ged wron­gly so that due to mis­sing de­pen­den­ci­es, Twin­kle can­not start up in gra­phi­cal mo­de. Un­til a cor­rec­ted packa­ge is re­leased, you can re­sur­rect Twin­kle by using the ver­si­on from Ubun­tu 12.04 LTS. To do that, per­form the fol­lo­wing steps:

1) Add the Ubun­tu 12.04 packa­ge sour­ces to the sys­tem. For this, add the fol­lo­wing li­nes to /etc/apt/sources.list:

## Ubun­tu 12.04 for packa­ges to be in­stal­led from ol­der re­lease due to bugs
deb http://​ar​chi​ve​.ubun​tu​.com/​u​b​u​n​tu/ pre­cise re­stric­ted main mul­ti­ver­se uni­ver­se

2) Ex­clu­de the­se packa­ges from the de­fault up­date me­cha­nism – packa­ges from here should on­ly be in­stal­led on spe­cial re­quest. Do this by ad­ding the fol­lo­wing li­nes to /​etc/​apt/​preferences (crea­te the fi­le if it does not exist so far):

Packa­ge: *
Pin: re­lease a=precise
Pin-Prio­ri­ty: 400

3) In­stall twin­kle from Ubun­tu 12.04 LTS Pre­cise Pan­go­lin by is­suing the fol­lo­wing com­man­ds:

apt-get up­date
apt-get in­stall twinkle/​precise

This forces to in­stall the twin­kle packa­ge from the just-ad­ded „pre­cise“ packa­ge sour­ce which ac­tual­ly is Ubun­tu 12.04. If you had in­stal­led twin­kle be­fo­re from Ubun­tu 14.04, apt-get will warn you that you are go­ing to down­gra­de the packa­ge. It might al­so in­stall so­me fur­ther li­bra­ries from Ubun­tu 12.04. Not that the com­mand will out­put the ver­si­on num­ber of the twin­kle packa­ge which is ac­tual­ly cho­sen by selec­ting the „pre­cise“ packa­ge sour­ce (no­te that be­low Ger­man lo­ca­li­sa­ti­on is gi­ven):

Ver­si­on »1:1.4.2-2.1« (Ubuntu:12.04/precise [am­d64]) für »twin­kle« ge­wählt.

Af­ter that, twin­kle should be star­ta­ble again. It is now the ol­der ver­si­on which works wi­thout pro­blems – and has the cor­rect de­pen­den­ci­es so that the gra­phi­cal in­ter­face co­mes up.

4) Af­ter ha­ving in­stal­led the old ver­si­on, you ha­ve to fix it so that sub­se­quent „apt-get up­grade“ com­man­ds do not over­wri­te it wi­th the (bro­ken) ver­si­on from 14.04 again. For this, add ano­ther ent­ry to /​etc/​apt/​preferences:

Packa­ge: twin­kle
Pin: ver­si­on 1:1.4.2-2.1
Pin-Prio­ri­ty: 500

No­te that we pin the packa­ge to the ver­si­on which has be­en out­put by the „apt-get in­stall“ com­mand above.

By using the /​etc/​apt/​preferences fi­le, we ha­ve the great ad­van­ta­ge that all packa­ge ma­nage­ment front­ends obey the pin­ning. Lo­cking a packa­ge e.g. in syn­aptic will not in­flu­en­ce the apt com­mand li­ne tools.

5) Fi­nal­ly, apt-get might com­plain about so­me au­to-in­stal­led packa­ges which are not nee­ded any mo­re. The­se are li­bra­ries nee­ded by 14.04’s twin­kle which are not nee­ded by any other packa­ge. Re­mo­ve the­se wi­th

apt-get au­to­re­mo­ve

Af­ter all the­se steps, you ha­ve a working twin­kle again and you had not to tweek the packa­ge ma­nage­ment out of its li­mits.

Three months la­ter…

Af­ter in­stal­ling twin­kle this way, I used it for about six weeks. Un­for­t­u­n­a­te­ly, it be­ca­me mo­re and mo­re un­sta­ble, pro­bab­ly due to up­dated li­bra­ries or other stuff, which mo­ved my sys­tem mo­re and mo­re away from precise’s en­vi­ron­ment. When my twin­kle cras­hed in three of four at­tempts to an­s­wer an in­co­m­ing call, I fi­nal­ly mo­ved away from it. Now, I am using sflp­ho­ne, which be­ca­me usa­ble af­ter so­me up­dates of Trus­ty Thar. Un­for­t­u­n­a­te­ly, it mas­si­ve­ly lacks do­cu­men­ta­ti­on, I can­not find the com­mand-li­ne cli­ent and the desk­top in­te­gra­ti­on is far away from the sta­te I had wi­th twin­kle.

All the other VoIP soft pho­nes of Ubun­tu and even bey­ond are unusuable – eit­her due to tech­ni­cal in­ca­pa­bi­li­ties or due to even worse in­te­gra­ti­on in­to my desk­top – be­ar wi­th me, but I’d li­ke to an­s­wer a call pu­re­ly by key­board and not pus­hing the mou­se all over the desk­top.

Over all, the sta­te and qua­li­ty of VoIP soft­pho­ne cli­ents on Li­nux is ra­ther un­con­vin­cing, even in 2014…

Schreibe einen Kommentar

Deine E-Mail-Adresse wird nicht veröffentlicht. Erforderliche Felder sind mit * markiert.

5 Gedanken zu “How to in­stall the Twin­kle soft pho­ne on (K)Ubuntu 14.04 Trus­ty Tahr

  • Xulian


    All your pro­ce­du­re worked for me wi­th an up­dated Ubun­tu 14.04.02 from Ubun­tu 12.04.
    The on­ly dif­fe­ren­ce was I must use /etc/apt/preferences.d/twinkle fi­le to per­form your in­di­ca­ti­ons.

    To­day is working fi­ne, but I will start loo­king for a sub­sti­tu­te to be re­a­dy as so­on it starts to de­gra­de per­for­man­ce.

        • Franco Calagreti

          i add Packa­ge: *
          Pin: re­lease a=precise
          Pin-Prio­ri­ty: 400
          apt-get in­stall twinkle/​precise
          Lettu­ra elen­co dei pac­chet­ti… Fat­to

          E: Cam­po non val­i­do nel fi­le del­le pre­fe­ren­ze /​etc/​apt/​preferences, man­ca l’intestazione „Packa­ge“