Comment 25 for bug 995054

Revision history for this message
Mantas Kriaučiūnas (mantas) wrote : [Bug 995054] Re: thunderbird loses langpacks after upgrade - still not fixed :(

On Tue, Jun 12, 2012 at 02:17:12AM -0000, Micah Gersten wrote:
> Reinstalling thunderbird (sudo apt-get install --reinstall thunderbird)
> should fix that up if you have an empty /usr/lib/thunderbird/extensions

No, this doesn't help, an empty /usr/lib/thunderbird/extensions folder stays after reinstallation, please make a real fix for this bug.

I'm pasting contents of my terminal window with apt-get --reinstall install thunderbird command:

mantas@mantas-linux:~$ sudo apt-get --reinstall install thunderbird
Skaitomi paketų sąrašai... Baigta
Konstruojamas priklausomybių medis
Skaitoma būsenos informacija... Baigt
0 atnaujinti, 0 naujai įdiegti, 1 įdiegti iš naujo, 0 bus pašalinta ir 6 neatnaujinta.
Reikia parsiųsti 19,7MB archyvų.
Po šios operacijos bus naudojama 0B papildomos disko vietos.
Ar norite tęsti [T/n]?
Gauti:1 http://ppa.launchpad.net/mozillateam/thunderbird-stable/ubuntu/ lucid/main thunderbird 13.0+build1-0ubuntu0.10.04.1 [19,7MB]
Parsiųsta 19,7MB iš 39s (495kB/s)
(Skaitoma duomenų bazė ... šiuo metu įdiegta 176727 failų ir aplankų.)
Ruošiamasi pakeisti thunderbird 13.0+build1-0ubuntu0.10.04.1 (naudojant .../thunderbird_13.0+build1-0ubuntu0.10.04.1_i386.deb) ...
Išpakuojamas thunderbird pakaitalas...
Apdorojami desktop-file-utils trigeriai...
Apdorojami python-gmenu trigeriai...
Rebuilding /usr/share/applications/desktop.lt_LT.utf8.cache...
Apdorojami man-db trigeriai...
Apdorojami python-support trigeriai...
Tvarkomas paketas thunderbird (13.0+build1-0ubuntu0.10.04.1) ...

mantas@mantas-linux:~$ ls -la /usr/lib/thunderbird/extensions
viso 8
drwxr-xr-x 2 root root 4096 2012-06-12 04:29 .
drwxr-xr-x 8 root root 4096 2012-06-13 20:52 ..
mantas@mantas-linux:~$

It's very easy to fix this bug in debian/postinst or preinst scripts - well known 'rmdir' command removes empty folder:

root@mantas-linux:/usr/lib/thunderbird# rmdir extensions
root@mantas-linux:/usr/lib/thunderbird# ln -s ../thunderbird-addons/extensions extensions

I think these commands should go to lightning-extension (and other previously buggy thunderbird extensions) postinst

> https://bugs.launchpad.net/bugs/995054
> Title:
> thunderbird loses langpacks after upgrade

--
Labanaktis/Good luck,
Mantas Kriaučiūnas Jabber ID: <email address hidden> GPG ID: 43535BD5
Public organization "Open Source for Lithuania" - www.akl.lt
Geriausios biuro programos verslui ir namams - http://openoffice.lt
Prekyba naujais ir atnaujintais kompiuteriais su Linux OS - http://tinklas.eu
Naudok Baltix GNU/Linux sistemą savo kompiuteryje - http://baltix.lt