Ask Your Question

error while reinstalling all previously deployed packages of context user

asked 2019-08-07 11:08:50 +0100

mogplus8 gravatar image

updated 2019-08-12 09:16:15 +0100

I just got this error when I tried to start Writer. I tried removing and reinstalling the whole Libreoffice suite, but still get the same error message. A dialog box pops up with "LibreOffice 6.0 - Fatal Error" in the title bar, then "The application cannot be started", then "error while reinstalling all previously deployed packages of context user" and an OK button. Clicking OK just removes the dialog box, the application doesn't start and nothing else appears. There are two other posts on this forum relating to the same error, both more than two years old, both with no responses, so I'm completely stuck. How to I get Libreoffice working again? I'm using Linux Mint 19.3. Thanks, Ian

Thanks for the reply. If I execute the command "libreoffice" in a terminal, the same dialog box is displayed. When I click OK the dialog box disappears and the terminal prompt is redisplayed. No messages are displayed, error or otherwise.

Aug 11. I also tried removing Libreoffice and reinstalling the latest version (6.3.0) by downloading the install file from the Libreoffice site. However it had the same problem.

Thanks for getting back to me on this issue, much appreciated.

1) To install LibreOffice 6.3 I downloaded the install file from LibreOffice website "LibreOffice_6.3.0_Linux_x86-64_deb.tar.gz". I extracted the archive and followed the instructions in the readme. From a terminal, cd to the LibreOffice_ directory and use "sudo dpkg -i *.deb". I executed LibreOffice by typing in a terminal "libreoffice6.3", which produced the error dialog.

2) /usr/bin/libreoffice6.3 doesn't exist. /usr/local/bin/libreoffice6.3 does exist though, and produces the error dialog. However the same error messages are now repeated in the terminal window.

ian@Mintian ~ $ libreoffice6.3 Gtk-Message: 22:50:55.676: GtkDialog mapped without a transient parent. This is discouraged. LibreOffice 6.3 - Fatal Error: The application cannot be started. Error while reinstalling all previously deployed packages of context user

3) Executing /opt/libreoffice6.3/program/soffice also produces the error dialog.

4) I used Mint's standard package manager to remove everything related to LibreOffice. (I didn't remove the "uno" or "ure" packages though. Should I have?)

5) Here is the result of the dpkg list (apologies, blockquote doesn't seem to keep the formatting for this).

ian@Mintian ~ $ dpkg --list libreoffice* | grep ^ii ii libreoffice6.3 amd64 Brand module for LibreOffice 6.3 .0.4 ii libreoffice6.3-base amd64 Base brand module for LibreOffice 6.3 .0.4 ii libreoffice6.3-calc amd64 Calc brand module for LibreOffice 6.3 .0.4 ii libreoffice6.3-debian-menus 6.3.0-4 all LibreOffice 6.3 desktop integration ii libreoffice6.3-dict-en amd64 En dictionary for LibreOffice 6.3 .0.4 ii libreoffice6.3-dict-es amd64 Es dictionary for LibreOffice 6.3 .0.4 ii libreoffice6.3-dict-fr 6.3.0 ...

edit retag flag offensive close merge delete


Please open a terminal and execute libreoffice on the command line. Please post all error messages by editing your original question. Please, do not use Add Answer to add additional information.

Opaque gravatar imageOpaque ( 2019-08-07 13:07:11 +0100 )edit

Please tell us

  • how did you installa on Mint using the files from LibreOffice website
  • how did you call on command line
  • are you aware, that you need to call /usr/bin/libreoffice6.3 (or better: /opt/libreoffice6.3/program/soffice to be absolutely sure to call the correct version), if you don't use the version provided by Mint (which in fact is by ubuntu).
  • did you remove any remainders of Mint's version of LibreOffice ?
  • the output of dpkg --list libreoffice* | grep ^ii ?
Opaque gravatar imageOpaque ( 2019-08-10 16:15:58 +0100 )edit

Have you tried to execute /opt/libreoffice6.3/program/soffice --safe-mode? If this is working you may suffer a corrupted user profile.

Opaque gravatar imageOpaque ( 2019-08-11 17:38:51 +0100 )edit

1 Answer

Sort by » oldest newest most voted

answered 2019-08-17 08:23:47 +0100

mogplus8 gravatar image

Well I think I accidentally solved this one. Starting in safe-mode didn't work because there was an issue with some files in ~/.config/libreoffice. I renamed the folder and tried starting in safe-mode again and it started ok. So I closed it and tried running it again from the start menu, and it started perfectly. So it looks like there was at least on file in .config that was corrupted and LibreOffice couldn't get around it. When I started Librreoffice again it created a new .config/libreoffice, and that one seems to be okay.

Once again thanks for all the help. I'm now a happy LO user again!

;-) Ian

edit flag offensive delete link more


Renaming ~/.config/libreoffice is referred as "Resetting the user profile" and this was my last comment, since executing /opt/libreoffice6.3/program/soffice --safe-mode causes LibreOffice to start with a temporary new user profile and my statement was If this is working you may suffer a corrupted user profile.

Opaque gravatar imageOpaque ( 2019-08-17 11:20:21 +0100 )edit
Login/Signup to Answer

Question Tools

1 follower


Asked: 2019-08-07 11:08:50 +0100

Seen: 622 times

Last updated: Aug 17 '19