Ubuntu – Libreoffice crashes after upgrade to Kubuntu 17.10


Since I've run the do-release-upgrade command, I cannot use libreoffice.

I tried

  1. sudo apt-get remove --purge libreoffice.core (which seems to remove most stuff, including libreoffice.base)
  2. and then sudo apt-get install libreoffice

When I launch it, I see a list of recent documents, but as soon as I try to open anything it crashes.

I tried to launch it via the command line (by typing "libreoffice").

The error is : (soffice 7674): Gtk-CRITICAL **: gtk_container_foreach: assertion 'GTK_IS_CONTAINER (container)' failed

But someone on Arch Linux bug #54594 says that this error message is irrelevant.

Best Answer

I downloaded a new version of libreoffice (6.0.1) from their site and uncompressed the file with ark.

Then I went to the DEBS folder and typed : sudo dpkg -i *.deb

This installed without any trouble LibreOffice 6.0.1 and it hasn't crashed yet. It opened the file I wanted to open in the first place.

This is not a solution, but it'll do as a workaround.

Related Question