Hi all. I’m having a little problem with Ubuntu. It’s not impacting my use of Libre Office itself (which is great) - it’s interfering with my use of other programmes. Libre Office was installed through Ubuntu Software, the little orange suitcase thing. Anyway, when I try to update I get this error message:
The package system is broken
If you are using third party
repositories then disable them, since
they are a common source of problems.
Now run the following command in a
terminal: apt-get install -f
Transaction failed: The package system
is broken The following packages have
unmet dependencies:
libreoffice-base: Depends: libreoffice-base-core (= 1:6.4.3-0ubuntu0.20.04.1) but 1:6.4.3-0ubuntu0.20.04.1 is installed
Depends: libreoffice-base-drivers (= 1:6.4.3-0ubuntu0.20.04.1) but 1:6.4.3-0ubuntu0.20.04.1 is installed
Depends: libreoffice-common (>= 1:6.4.0~beta1-2~) but it is not installed
Depends: libreoffice-core (= 1:6.4.3-0ubuntu0.20.04.1) but 1:6.4.3-0ubuntu0.20.04.1 is installed
libreoffice-core: Depends: libreoffice-common (> 1:6.4.3) but it is not installed
Depends: libnspr4 (>= 2:4.9-2~) but 2:4.25-1 is installed
Depends: libnss3 (>= 2:3.16) but 2:3.49.1-1ubuntu1 is installed
libreoffice-java-common: Depends: libreoffice-common but it is not installed
libreoffice-script-provider-bsh: Depends: libreoffice-common but it is not installed
Depends: jre but it is not installed
libreoffice-script-provider-js: Depends: libreoffice-common but it is not installed
Depends: jre but it is not installed
libreoffice-script-provider-python: Depends: libreoffice-common but it is not installed
Sorry about all that mess. I don’t know how to format it prettily. Running sudo apt-get install -f
gets me this response
(Reading database ... 237574 files and directories currently installed.)
Preparing to unpack .../libreoffice-common_1%3a6.4.3-0ubuntu0.20.04.1_all.deb
...
Unpacking libreoffice-common (1:6.4.3-0ubuntu0.20.04.1)
...
dpkg: error processing archive /var/cache/apt/archives/libreoffice-common_1%3a6.4.3-0ubuntu0.20.04.1_all.deb
(--unpack): trying to overwrite '/usr/bin/soffice', which is also in package openoffice-debian-menus 4.1.7-9800
rmdir: failed to remove '/var/lib/libreoffice/share/prereg/': No such file or directory
rmdir: failed to remove '/var/lib/libreoffice/share/': No such file or directory
rmdir: failed to remove '/var/lib/libreoffice/program/': No such file or directory
rmdir: failed to remove '/var/lib/libreoffice': No such file or directory
rmdir: failed to remove '/var/lib/libreoffice': No such file or directory
Errors were encountered while processing:
/var/cache/apt/archives/libreoffice-common_1%3a6.4.3-0ubuntu0.20.04.1_all.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)