How to install the Twinkle soft phone on (K)Ubuntu 14.04 Trusty Tahr 5


In (K)Ubuntu 14.04 LTS Trus­ty Tahr, the Twink­le soft­pho­ne app­li­ca­ti­on is somehow packa­ged wron­gly so that due to mis­sing depen­den­ci­es, Twink­le can­not start up in gra­phi­cal mode. Until a cor­rec­ted packa­ge is released, you can resur­rect Twink­le 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 sources to the sys­tem. For this, add the fol­lo­wing lines to /etc/apt/sources.list:

## Ubuntu 12.04 for packages to be installed from older release due to bugs
deb http://archive.ubuntu.com/ubuntu/ precise restricted main multiverse universe

2) Exclu­de the­se packa­ges from the default update mecha­nism – packa­ges from here should only be instal­led on spe­cial request. Do this by adding the fol­lo­wing lines to /etc/apt/preferences (crea­te the file if it does not exist so far):

Package: *
Pin: release a=precise
Pin-Priority: 400

3) Install twink­le from Ubun­tu 12.04 LTS Pre­cise Pan­go­lin by issuing the fol­lo­wing com­man­ds:

apt-get update
apt-get install twinkle/precise

This forces to install the twink­le packa­ge from the just-added „pre­cise” packa­ge source which actual­ly is Ubun­tu 12.04. If you had instal­led twink­le befo­re from Ubun­tu 14.04, apt-get will warn you that you are going to down­gra­de the packa­ge. It might also install some fur­t­her libra­ries from Ubun­tu 12.04. Not that the com­mand will out­put the ver­si­on num­ber of the twink­le packa­ge which is actual­ly cho­sen by selec­ting the „pre­cise” packa­ge source (note that below Ger­man loca­li­sa­ti­on is given):

Version »1:1.4.2-2.1« (Ubuntu:12.04/precise [amd64]) für »twinkle« gewählt.

After that, twink­le should be starta­ble again. It is now the older ver­si­on which works without pro­blems – and has the cor­rect depen­den­ci­es so that the gra­phi­cal inter­face comes up.

4) After having instal­led the old ver­si­on, you have to fix it so that sub­se­quent „apt-get upgrade” com­man­ds do not over­wri­te it with the (bro­ken) ver­si­on from 14.04 again. For this, add ano­t­her ent­ry to /etc/apt/preferences:

Package: twinkle
Pin: version 1:1.4.2-2.1
Pin-Priority: 500

Note that we pin the packa­ge to the ver­si­on which has been out­put by the „apt-get install” com­mand above.

By using the /etc/apt/preferences file, we have the gre­at advan­ta­ge that all packa­ge manage­ment front­ends obey the pin­ning. Locking a packa­ge e.g. in syn­ap­tic will not influ­ence the apt com­mand line tools.

5) Final­ly, apt-get might com­p­lain about some auto-instal­led packa­ges which are not nee­ded any more. The­se are libra­ries nee­ded by 14.04’s twink­le which are not nee­ded by any other packa­ge. Remo­ve the­se with

apt-get autoremove

After all the­se steps, you have a working twink­le again and you had not to tweek the packa­ge manage­ment out of its limits.

Three mon­ths later…

After instal­ling twink­le this way, I used it for about six weeks. Unfor­tu­n­a­te­ly, it beca­me more and more unsta­ble, pro­bab­ly due to updated libra­ries or other stuff, which moved my sys­tem more and more away from precise’s envi­ron­ment. When my twink­le cras­hed in three of four attempts to ans­wer an inco­m­ing call, I final­ly moved away from it. Now, I am using sflpho­ne, which beca­me usable after some updates of Trus­ty Thar. Unfor­tu­n­a­te­ly, it mas­si­ve­ly lacks docu­men­ta­ti­on, I can­not find the com­mand-line cli­ent and the desk­top inte­gra­ti­on is far away from the sta­te I had with twink­le.

All the other VoIP soft pho­nes of Ubun­tu and even bey­ond are unusu­able – eit­her due to tech­ni­cal inca­pa­bi­li­ties or due to even worse inte­gra­ti­on into my desk­top – bear with me, but I’d like to ans­wer a call pure­ly by key­board and not pushing 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 Linux is rather uncon­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 install the Twinkle soft phone on (K)Ubuntu 14.04 Trusty Tahr

  • Xulian

    Hel­lo,

    All your pro­ce­du­re worked for me with an updated Ubun­tu 14.04.02 from Ubun­tu 12.04.
    The only dif­fe­rence was I must use /etc/apt/preferences.d/twinkle file to per­form your indi­ca­ti­ons.

    Today is working fine, but I will start loo­king for a sub­sti­tu­te to be ready as soon it starts to degra­de per­for­mance.

        • Franco Calagreti

          i add Packa­ge: *
          Pin: release a=precise
          Pin-Prio­ri­ty: 400
          apt-get install twinkle/precise
          Let­tu­ra elen­co dei pac­chet­ti… Fat­to

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