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: man...@akl.lt        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

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to thunderbird in Ubuntu.
https://bugs.launchpad.net/bugs/995054

Title:
  thunderbird loses langpacks after upgrade

Status in “adblock-plus” package in Ubuntu:
  Invalid
Status in “enigmail” package in Ubuntu:
  Invalid
Status in “mozilla-devscripts” package in Ubuntu:
  Invalid
Status in “mozvoikko” package in Ubuntu:
  Invalid
Status in “thunderbird” package in Ubuntu:
  Invalid
Status in “adblock-plus” source package in Lucid:
  Triaged
Status in “enigmail” source package in Lucid:
  Triaged
Status in “mozilla-devscripts” source package in Lucid:
  Triaged
Status in “mozvoikko” source package in Lucid:
  Triaged
Status in “thunderbird” source package in Lucid:
  Triaged
Status in Baltix GNU/Linux:
  New

Bug description:
  Hi.
  After upgrading thunderbird to version 12.0.1+build1-0ubuntu0.10.04.1 on 
10.04 I cannot see any system-wide langpack in the addons menu. The reason of 
it is that somehow (I think it's the order of package installation/configuring 
) '/usr/lib/thunderbird/extensions' becomes a directory while upgrade  (it 
should be symlink to '/usr/lib/thunderbird-addons/etenstions' normally). So, 
all langpacks stays in '/usr/lib/thunderbird-addons/extensions', but 
thunderbird doesn't detect them. I don't see this problem on 12.04, I think 
it's because it already had /usr/lib/thunderbird folder before upgrade, but 
ubuntu 10.04 used /usr/lib/thunderbird-a.b directories for storing thunderbird 
package data earlier, so it has this problem.

  A quick solution is:
  mv /usr/lib/thunderbird/extensions/* /usr/lib/thunderbird-addons/extensions
  rmdir  /usr/lib/thunderbird/extensions
  ln -s /usr/lib/thunderbird-addons/extensions /usr/lib/thunderbird

  This bug has already affected many machines in our office.

  Thanks.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/adblock-plus/+bug/995054/+subscriptions

-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to     : desktop-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to