Bug 38255 - Cannot remove/purge damaged extension
Summary: Cannot remove/purge damaged extension
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: LibreOffice (show other bugs)
Version:
(earliest affected)
unspecified
Hardware: Other Windows (All)
: low enhancement
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
: 143259 143502 (view as bug list)
Depends on:
Blocks: Extension-Manager
  Show dependency treegraph
 
Reported: 2011-06-13 08:18 UTC by Timur
Modified: 2025-08-07 19:57 UTC (History)
2 users (show)

See Also:
Crash report or crash signature:


Attachments
Extension recompressed (49.37 KB, application/vnd.openofficeorg.extension)
2025-08-07 19:57 UTC, B. Antonio Fernández
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Timur 2011-06-13 08:18:31 UTC
Sometimes, extension can be partially downloaded, for example 90%. We can still install it, because there is no integrity check (that might me another bug). But, we cannot Remove it from Extension Manager. Deleting files from user profile crashes LO, and we get "runtime error" in soffice.bin.

What we need is a "Purge extension" or some other way to completely remove it, including any configuration files, configmgr.ini, backenddb.xml, uno_packages.db, etc.

For issues like this, you should Add Component "Extensions", like in https://bugs.freedesktop.org/show_bug.cgi?id=33179.
Comment 1 Björn Michaelsen 2011-12-23 12:21:17 UTC Comment hidden (obsolete)
Comment 2 Timur 2012-04-04 02:00:09 UTC
I decided to close this as WONTFIX because it open for long time, and there are more important issues. 
It's not so important and we can create a new profile without a damaged extension, although it would require to customize profile again.
Comment 3 Timur 2022-10-05 14:21:12 UTC
*** Bug 143259 has been marked as a duplicate of this bug. ***
Comment 4 Timur 2022-10-05 14:21:46 UTC
*** Bug 143502 has been marked as a duplicate of this bug. ***
Comment 5 Timur 2022-10-05 14:22:31 UTC
New by duplicates.
Comment 6 Volga 2022-10-06 04:34:35 UTC Comment hidden (no-value)
Comment 7 Volga 2022-10-06 04:37:47 UTC
You can still reproduce using attachment 173887 [details].
Comment 8 QA Administrators 2025-07-09 03:11:03 UTC Comment hidden (obsolete)
Comment 9 Timur 2025-07-09 14:08:55 UTC
Reproducible with mentioned extension in 26.2+. I change to Enhancement.
Comment 10 B. Antonio Fernández 2025-08-07 18:59:46 UTC
The first problem what I see with the example extension is that the author has also compressed the development folder.
When an extension is opened with a decompressing program, the configuration files (like addons.xcu) must be in the root directory, not in another directory.

Decompress the .oxt file in your pc, navigate to the "ExportAsImages.oxt" folder and compress the files inside that folder (but without the folder) can correct the installation problem.
Comment 11 B. Antonio Fernández 2025-08-07 19:01:03 UTC
(the files and directories)
Comment 12 B. Antonio Fernández 2025-08-07 19:57:57 UTC
Created attachment 202233 [details]
Extension recompressed