Cannot uninstall extension in Linux

I’m running LibreOffice 4.2.3.3 under Ubuntu Linux 14.04.

I tried to install the Writer2LaTeX extension, but I made a mistake: Instead of unpacking the ZIP file containing the extension, I tried to install the ZIP file itself. This, surprisingly, succeeded! But, of course, this “extension” does nothing useful.

The problem is, I can’t uninstall it again. The Extension Manager lists an extension named writer2latex12beta.zip, but when I try to remove it, I get this error message:

(com.sun.star.lang.IllegalArgumentException) { { { Message = "Cannot detect media-type: file:///home/claus/.config/libreoffice/4/user/uno_packages/cache/uno_packages/lutdfl11.tmp_/writer2latex12beta.zip", Context = (com.sun.star.uno.XInterface) @1f61060 } }, ArgumentPosition = (short) -1 }

How can I remove this “extension”?

Deleting the directory /home/claus/.config/libreoffice/4/user/uno_packages/cache/uno_packages/lutdfl11.tmp_/ might work – thats were the extension was unpacked to. I unsure though, if you would see further trouble after that.

Thank you. It helps with OOoFBTools .zip