Libreoffice Base Crashing

Asked by Luis M.Jacinto

Ubuntu 12.04 LTS
Libreoffice ver. 5.3.4

Libreoffice work correctly always and carry on doing so in Ubuntu 12.04 since I update.
Since an Software update Base start crashing, was adviced to install LO to version 5.3.4
but Base and Writer they crash suddenly on startup only Calc and Impress work.
I was advised to change the kernel to version 4.4.0-79 my kernel is now 4.4.0-81.
Should I change the kernel?
Libreoffice Base craching is not new and I suspect a bug with Ubuntu, I am writing
in LO Writer on my other Hard Disk Drive with Ubuntu 16.04 OS the kernel 4.10.0.27
all LO and other applications work correctly I thick this was the kernel on my main disk before the update.
I think the makers of Ubuntu should know about this why dont they make a fix.
Is there any one can help to fix this need LO working properly urgently.
Thank you

Question information

Language:
English Edit question
Status:
Expired
For:
Ubuntu Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Manfred Hampl (m-hampl) said :
#1

Have you deleted (renamed) your libreoffice configuration file?

What is the output of the commands

uname -a
lsb_release -crid
apt-cache policy libreoffice-base

Ubuntu 12.04 is not supported any more (see https://wiki.ubuntu.com/Releases )

Revision history for this message
actionparsnip (andrew-woodhead666) said :
#2

I suggest you upgrade to Ubuntu 14.04 for continued support. We cannot support dead releases

Revision history for this message
Luis M.Jacinto (ljacinto) said :
#3

Made big mistake with a version it is Ubuntu 16.04 LTS.
Apologize for this mistake.

Revision history for this message
Luis M.Jacinto (ljacinto) said :
#4

Tried other kernels no difference
The other HDD with Ubuntu 16.04 and LibreOffice ver. 1.5.1.6 all application work really well
when I notice LO Base crashing the LO version was the same.
 My work in Base is stopped for two weeks, I need badly this in working order please help.

luis@luis-Ubuntu-16:~$ uname -a
Linux luis-Ubuntu-16 4.4.0-87-generic #110-Ubuntu SMP Tue Jul 18 12:54:58 UTC 2017 i686 i686 i686 GNU/Linux
luis@luis-Ubuntu-16:~$ lsb_release -crid
Distributor ID: Ubuntu
Description: Ubuntu 16.04.2 LTS
Release: 16.04
Codename: xenial
luis@luis-Ubuntu-16:~$ apt-cache policy libreoffice-base
libreoffice-base:
  Installed: 1:5.3.4-0ubuntu0.16.04.1~lo0.1
  Candidate: 1:5.3.4-0ubuntu0.16.04.1~lo0.1
  Version table:
 *** 1:5.3.4-0ubuntu0.16.04.1~lo0.1 500
        500 http://ppa.launchpad.net/libreoffice/ppa/ubuntu xenial/main i386 Packages
        100 /var/lib/dpkg/status
     1:5.1.6~rc2-0ubuntu1~xenial2 500
        500 http://ubuntu.mirror.neology.co.za/ubuntu xenial-updates/main i386 Packages
        500 http://ubuntu.mirror.neology.co.za/ubuntu xenial-security/main i386 Packages
     1:5.1.2-0ubuntu1 500
        500 http://ubuntu.mirror.neology.co.za/ubuntu xenial/main i386 Packages
N: Ignoring file '20auto-upgrades.ucf-dist' in directory '/etc/apt/apt.conf.d/' as it has an invalid filename extension
luis@luis-Ubuntu-16:~$
Than you

Revision history for this message
Manfred Hampl (m-hampl) said :
#5

The version of libreoffice that you have is coming from a PPA - in your case I assume https://launchpad.net/~libreoffice/+archive/ubuntu/ppa
Please contact the provider of that PPA if you have problems with software from a PPA.

We can only help with the software provided in the standard Ubuntu repositories.

By the way, there was a new version of libreoffice provided in that PPA seven hours ago.
You might try upgrading, maybe that helps.

Revision history for this message
Luis M.Jacinto (ljacinto) said :
#6

Repositories have now LibreOffice version 5.3.4 how to revert to the Standard Ubuntu.
Thank you for the great help.

Revision history for this message
actionparsnip (andrew-woodhead666) said :
#7

What is the output of:

grep office /etc/apt/sources.list.d/*

Thanks

Revision history for this message
Manfred Hampl (m-hampl) said :
#8

The https://launchpad.net/~libreoffice/+archive/ubuntu/ppa repository has 1:5.4.0~rc3-0ubuntu0.16.04.1~lo1

Revision history for this message
Luis M.Jacinto (ljacinto) said :
#9

I just up dated the repositories and install LibreOffice 1.5.4.0. Still not working properly LO Base an LO Writer.
luis@luis-Ubuntu-16:~$ grep office /etc/apt/sources.list.d/*
/etc/apt/sources.list.d/libreoffice-ubuntu-ppa-xenial.list:deb http://ppa.launchpad.net/libreoffice/ppa/ubuntu xenial main
/etc/apt/sources.list.d/libreoffice-ubuntu-ppa-xenial.list:# deb-src http://ppa.launchpad.net/libreoffice/ppa/ubuntu xenial main
/etc/apt/sources.list.d/libreoffice-ubuntu-ppa-xenial.list:# deb-src http://ppa.launchpad.net/libreoffice/ppa/ubuntu xenial main
/etc/apt/sources.list.d/libreoffice-ubuntu-ppa-xenial.list.save:deb http://ppa.launchpad.net/libreoffice/ppa/ubuntu xenial main
/etc/apt/sources.list.d/libreoffice-ubuntu-ppa-xenial.list.save:# deb-src http://ppa.launchpad.net/libreoffice/ppa/ubuntu xenial main
luis@luis-Ubuntu-16:~$

Revision history for this message
actionparsnip (andrew-woodhead666) said :
#10

OK run:

mv ~/.config/libreoffice ~/.config/libreoffice-20170801
sudo rm /etc/apt/sources.list.d/libreoffice-ubuntu*
sudo apt-get --purge remove libreoffice*
sudo apt-get clean
sudo apt-get update
sudo apt-get upgrade
sudo apt-get install libreoffice

Revision history for this message
Luis M.Jacinto (ljacinto) said :
#11

Have to inform while in Terminal there was a power cut while I was on second line, when the power come back had to start from new.

The last command is to install libreoffice don’t find in Bash, open Synaptic and found
LibreOffice version 1:5.1.6. Should I Install each application from from Synaptc?

Revision history for this message
Manfred Hampl (m-hampl) said :
#12

The version of LibreOffice provided in the standard Ubuntu repositories for Xenial (in -updates and -security) is 1:5.1.6~rc2-0ubuntu1~xenial2

If you have already uninstalled all parts of the version that you had from the PPA, then you should try installing that version.

It does not make any difference whether you install with command line ("sudo apt install..." or "sudo apt-get install...") or with help of the ubuntu-software application or using synaptic or any other package management program. All these programs access the same data - both for the inventory and the .deb packages.

Remark: see https://answers.launchpad.net/ubuntu/+question/652268 comment #4 for the list of packages that you had installed from the PPA. Not all of them start with "libreoffice-", but there are also python3-uno, uno-libs3 and ure and eventually fonts-opensymbol

Revision history for this message
Luis M.Jacinto (ljacinto) said :
#13

In Synaptic installing LO Calc gave me a error “Could not apply changes! Fix broken packages first”.

Revision history for this message
Manfred Hampl (m-hampl) said :
#14

You now can try using synaptic to identify the packages that lead to inconsistencies in the package management system, or you can use the command

sudo dpkg --audit

in a terminal window to show the problems.

Revision history for this message
Luis M.Jacinto (ljacinto) said :
#15

It shows nothing

luis@luis-Ubuntu-16:~$ sudo dpkg --audit
[sudo] password for luis:
luis@luis-Ubuntu-16:~$

Revision history for this message
actionparsnip (andrew-woodhead666) said :
#16

Try:

cd $HOME
wget https://dl.dropbox.com/u/8850924/fixpackage
chmod +x ./fixpackage
sudo ./fixpackage

hope that helps.

Revision history for this message
Luis M.Jacinto (ljacinto) said :
#17

Terminal stopped waiting for feedback with WARNING, part of the Terminal to show the warning.
Must I carry on, if so must I enter all the commands from the beginning.

Terminal:
Reading package lists... Done
Building dependency tree
Reading state information... Done
Calculating upgrade... Done
The following packages were automatically installed and are no longer required:
 fonts-opensymbol fonts-stix libboost-date-time1.58.0
 libboost-iostreams1.58.0 libbsh-java libclucene-contribs1v5 libcmis-0.5-5v5
 libeot0 libexttextcat-2.0-0 libexttextcat-data libhsqldb1.8.0-java
 libllvm3.8 libmwaw-0.3-3 libmythes-1.2-0 liborcus-0.10-0v5
 libreoffice-common libreoffice-style-elementary libreoffice-style-galaxy
 libservlet3.1-java linux-headers-4.4.0-81 linux-headers-4.4.0-81-generic
 linux-image-4.4.0-81-generic linux-image-extra-4.4.0-81-generic
 python-pycurl ttf-wqy-microhei uno-libs3 ure
Use 'sudo apt autoremove' to remove them.
The following packages will be upgraded:
 base-files tuxcad-tiny unattended-upgrades
3 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Need to get 3,190 kB of archives.
After this operation, 23.6 kB disk space will be freed.
Do you want to continue? [Y/n] Y
WARNING: The following packages cannot be authenticated!
 tuxcad-tiny
Install these packages without verification? [y/N]

Revision history for this message
actionparsnip (andrew-woodhead666) said :
#18

What is the output of:

apt-cache policy tuxcad-tiny

Thanks

Revision history for this message
Manfred Hampl (m-hampl) said :
#19

What output do you get for the command

apt-get --simulate install libreoffice

(Remark: Your last output shows some libreoffice-related packages installed ( libreoffice-common, libreoffice-style-elementary, libreoffice-style-galaxy, uno-libs3, ure ...). As already written in comment #12: If they are still coming from the version in the PPA, this may interfere with an attempt to install another version.

Revision history for this message
Luis M.Jacinto (ljacinto) said :
#20

To actionparsnip
luis@luis-Ubuntu-16:~$ apt-cache policy tuxcad-tiny
tuxcad-tiny:
  Installed: 2017.01
  Candidate: 2017.03
  Version table:
     2017.03 500
        500 http://packages.arcad.de/FREE-Linux trusty/main i386 Packages
 *** 2017.01 100
        100 /var/lib/dpkg/status
luis@luis-Ubuntu-16:~$

To Manfred
luis@luis-Ubuntu-16:~$ apt-get --simulate install libreoffice
NOTE: This is only a simulation!
      apt-get needs root privileges for real execution.
      Keep also in mind that locking is deactivated,
      so don't depend on the relevance to the real current situation!
Reading package lists... Done
Building dependency tree
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
 libreoffice : Depends: libreoffice-base but it is not going to be installed
               Depends: libreoffice-calc but it is not going to be installed
               Depends: libreoffice-core (= 1:5.1.6~rc2-0ubuntu1~xenial2) but it is not going to be installed
               Depends: libreoffice-draw but it is not going to be installed
               Depends: libreoffice-impress but it is not going to be installed
               Depends: libreoffice-math but it is not going to be installed
               Depends: libreoffice-report-builder-bin but it is not going to be installed
               Depends: libreoffice-writer but it is not going to be installed
               Depends: libreoffice-avmedia-backend-gstreamer but it is not going to be installed
               Depends: python3-uno (>= 4.4.0~beta2) but it is not going to be installed
               Recommends: libreoffice-gnome but it is not going to be installed or
                           libreoffice-kde but it is not going to be installed
E: Unable to correct problems, you have held broken packages.
luis@luis-Ubuntu-16:~$

Revision history for this message
Manfred Hampl (m-hampl) said :
#21

What output do you get for the command

apt-get --simulate install libreoffice libreoffice-base libreoffice-calc libreoffice-core libreoffice-draw libreoffice-impress libreoffice-math libreoffice-report-builder-bin libreoffice-writer libreoffice-avmedia-backend-gstreamer python3-uno

(this is one long command)

And for the "untrusted package", have you completely followed the instructions to install?
I assume you missed the command
wget -q http://packages.arcad.de/publickey/ArcadSystemhaus.asc -O - | sudo apt-key add -;

Revision history for this message
Luis M.Jacinto (ljacinto) said :
#22

uis@luis-Ubuntu-16:~$ apt-get --simulate install libreoffice libreoffice-base libreoffice-calc libreoffice-core libreoffice-draw libreoffice-impress libreoffice-math libreoffice-report-builder-bin libreoffice-writer libreoffice-avmedia-backend-gstreamer python3-uno
NOTE: This is only a simulation!
      apt-get needs root privileges for real execution.
      Keep also in mind that locking is deactivated,
      so don't depend on the relevance to the real current situation!
Reading package lists... Done
Building dependency tree
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
 libreoffice : Depends: libreoffice-java-common (>= 1:5.1.6~rc2~) but it is not going to be installed
               Recommends: libreoffice-gnome but it is not going to be installed or
                           libreoffice-kde but it is not going to be installed
 libreoffice-avmedia-backend-gstreamer : Depends: ure but it is not going to be installed
 libreoffice-base : Depends: libreoffice-base-core (= 1:5.1.6~rc2-0ubuntu1~xenial2) but it is not going to be installed
                    Depends: libreoffice-base-drivers (= 1:5.1.6~rc2-0ubuntu1~xenial2) but it is not going to be installed
                    Depends: ure but it is not going to be installed
                    Recommends: libreoffice-java-common (>= 1:5.1.6~rc2~) but it is not going to be installed
 libreoffice-calc : Depends: libreoffice-base-core (= 1:5.1.6~rc2-0ubuntu1~xenial2) but it is not going to be installed
                    Depends: ure but it is not going to be installed
 libreoffice-core : Depends: libreoffice-common (> 1:5.1.6~rc2) but it is not going to be installed
                    Depends: ure (>= 4.2~) but it is not going to be installed
 libreoffice-draw : Depends: ure but it is not going to be installed
                    Recommends: libreoffice-pdfimport but it is not going to be installed
 libreoffice-impress : Depends: ure but it is not going to be installed
 libreoffice-math : Depends: ure but it is not going to be installed
 libreoffice-report-builder-bin : Depends: ure but it is not going to be installed
 libreoffice-writer : Depends: libreoffice-base-core (= 1:5.1.6~rc2-0ubuntu1~xenial2) but it is not going to be installed
                      Depends: ure but it is not going to be installed
 python3-uno : Depends: ure but it is not going to be installed
E: Unable to correct problems, you have held broken packages.
luis@luis-Ubuntu-16:~$

luis@luis-Ubuntu-16:~$ wget -q http://packages.arcad.de/publickey/ArcadSystemhaus.asc -O - | sudo apt-key add -;
[sudo] password for luis:
OK
luis@luis-Ubuntu-16:~$

Revision history for this message
Manfred Hampl (m-hampl) said :
#23

Ok, try adding all mentioned packages to the install with the hope that the package management system shows the root cause of the problem

 apt-get --simulate install libreoffice libreoffice-avmedia-backend-gstreamer libreoffice-base libreoffice-base-core libreoffice-base-drivers libreoffice-calc libreoffice-common libreoffice-core libreoffice-draw libreoffice-impress libreoffice-java-common libreoffice-math libreoffice-report-builder-bin libreoffice-writer python3-uno ure

Revision history for this message
Luis M.Jacinto (ljacinto) said :
#24

Hoping this is what you request.

luis@luis-Ubuntu-16:~$ apt-get --simulate install libreoffice libreoffice-avmedia-backend-gstreamer libreoffice-base libreoffice-base-core libreoffice-base-drivers libreoffice-calc libreoffice-common libreoffice-core libreoffice-draw libreoffice-impress libreoffice-java-common libreoffice-math libreoffice-report-builder-bin libreoffice-writer python3-uno ure
NOTE: This is only a simulation!
      apt-get needs root privileges for real execution.
      Keep also in mind that locking is deactivated,
      so don't depend on the relevance to the real current situation!
Reading package lists... Done
Building dependency tree
Reading state information... Done
libreoffice-common is already the newest version (1:5.1.6~rc2-0ubuntu1~xenial2).
ure is already the newest version (5.4.0~rc3-0ubuntu0.16.04.1~lo1).
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
 ure : Breaks: libreoffice-core (< 1:5.3.0~beta1~) but 1:5.1.6~rc2-0ubuntu1~xenial2 is to be installed
E: Unable to correct problems, you have held broken packages.
luis@luis-Ubuntu-16:~$

Revision history for this message
Manfred Hampl (m-hampl) said :
#25

What is the output of the command

apt-cache policy ure

It seems that you still have the version of ure from the PPA installed, and this now interferes with any other libreoffice installation,
I already wrote in comment #12 and comment #19 that you have to clean up all remainders of the PPA version. Why haven't you done this?

It is disappointing when recommendations are not followed, only to later find out that this is causing troubles.

Revision history for this message
Luis M.Jacinto (ljacinto) said :
#26

I dint understand your previous recommendation I apologize for that.
I also don’t know much of Terminal commands.
Made two Terminal outputs one before I delete “ure” file and others in Synaptic.
In Synaptic found:
uno-libs3-dbg 5.4.0
ure 5.4.0
On Complete Removal other files are shown which are uninstall
Libreoffice-common
Libreoffice-style-elementary
Libreoffice-style-Galaxy
There is no reference of Libreoffice 5.4.0 in Synaptic

This is the first Terminal output:

luis@luis-Ubuntu-16:~$ apt-cache policy ure
ure:
 Installed: 5.4.0~rc3-0ubuntu0.16.04.1~lo1
 Candidate: 5.4.0~rc3-0ubuntu0.16.04.1~lo1
 Version table:
*** 5.4.0~rc3-0ubuntu0.16.04.1~lo1 100
       100 /var/lib/dpkg/status
    5.1.6~rc2-0ubuntu1~xenial2 500
       500 http://ubuntu.mirror.neology.co.za/ubuntu xenial-updates/main i386 Packages
       500 http://ubuntu.mirror.neology.co.za/ubuntu xenial-security/main i386 Packages
    5.1.2-0ubuntu1 500
       500 http://ubuntu.mirror.neology.co.za/ubuntu xenial/main i386 Packages
luis@luis-Ubuntu-16:~$

This is the second Terminal output:

luis@luis-Ubuntu-16:~$ apt-cache policy ure
ure:
 Installed: (none)
 Candidate: 5.1.6~rc2-0ubuntu1~xenial2
 Version table:
    5.1.6~rc2-0ubuntu1~xenial2 500
       500 http://ubuntu.mirror.neology.co.za/ubuntu xenial-updates/main i386 Packages
       500 http://ubuntu.mirror.neology.co.za/ubuntu xenial-security/main i386 Packages
    5.1.2-0ubuntu1 500
       500 http://ubuntu.mirror.neology.co.za/ubuntu xenial/main i386 Packages
luis@luis-Ubuntu-16:~$

Is this correct and what should be done now.
Again thank you for your great help.

Revision history for this message
Manfred Hampl (m-hampl) said :
#27

Not try the command

sudo apt-get install libreoffice

and report the results.

Revision history for this message
Luis M.Jacinto (ljacinto) said :
#28

Luis answer
After installing Libreoffice restart Ubuntu found LO Calc, Writer, Impress, Draw they all open
and work properly.
LO Base tried to open it failed with this error “Sorry, Ubuntu 16.04 has experienced an internal error”.
I kept the Terminal output from LO installation if is necessary.
This was the error that was advised to install LO version 1:5.3.4.

Revision history for this message
Manfred Hampl (m-hampl) said :
#29

What happens if you start libreoffice and then click on
Create: Base database
Do you get the dialogue "create new / open exiting / connect to..." or does it crash?

Revision history for this message
Luis M.Jacinto (ljacinto) said :
#30

I go through the dialogues to the point of saving the database type a name Click on <Save> this time went out of the screen and crashed, other times shows the “internal error” window.
LO Base problem start after an Software update,

Revision history for this message
Manfred Hampl (m-hampl) said :
#31

If you receive this "Ubuntu has experienced an internal error" message pop-up, can you please look into the details of that box and tell us what there is written (not the complete output, just name of the program, error reason etc., but no details about hex addresses etc. - the information that seems to be most relevant to identify what is crashing and why).

Revision history for this message
Luis M.Jacinto (ljacinto) said :
#32

Tried many times to provoke the message to come up with no results found that if an libreoffice
application with file is open, Base does not go out of the screen but a window opens with “Libreoffice Document Recovery” on the bottom there is the file name to be recovered Click on
 <Start Recovery> then <Finish> and crashes out, Clicking on <Discard Recovery Data> LibeOffice page opens and LO Base Crashes and other LO application (Calc) also disappears
from the scream, crashes.
I think the internal error message it only shows after installing Libreoffice.
Should I uninstall and then install, and can I uninstall in Synaptic?

Revision history for this message
Luis M.Jacinto (ljacinto) said :
#33

After many times the error it come up and under need of "Ubuntu has experienced an internal error" is what follows.

Send an error report to help fix this problem.
/usr/lib/libreoffice/program/soffice.bin

Revision history for this message
Launchpad Janitor (janitor) said :
#34

This question was expired because it remained in the 'Open' state without activity for the last 15 days.