[Solved] OpenOffice and LibreOffice Setup on Ubuntu 18.04
[Solved] OpenOffice and LibreOffice Setup on Ubuntu 18.04
I setup OpenOffice following the directions. Purging LibreOffice but OpenOffice would not open so I tried to go back to LibreOffice and now I'm stuck in a vicious cycle.
Any help on how to clean this up and get on or the other running on Ubuntu 18.04 would be greatly appreciated.
The following packages have unmet dependencies:
libreoffice-core : Depends: libreoffice-common (> 1:6.0.3) but it is not going to be installed
libreoffice-java-common : Depends: libreoffice-common (= 1:6.0.3-0ubuntu1) but it is not going to be installed
libreoffice-ogltrans : Depends: libreoffice-common but it is not going to be installed
libreoffice-report-builder : Depends: libreoffice-common (= 1:6.0.3-0ubuntu1) but it is not going to be installed
libreoffice-script-provider-bsh : Depends: libreoffice-common (= 1:6.0.3-0ubuntu1) but it is not going to be installed
libreoffice-script-provider-js : Depends: libreoffice-common (= 1:6.0.3-0ubuntu1) but it is not going to be installed
libreoffice-script-provider-python : Depends: libreoffice-common (= 1:6.0.3-0ubuntu1) but it is not going to be installed
libreoffice-style-galaxy : Depends: libreoffice-common (= 1:6.0.3-0ubuntu1) but it is not going to be installed
libreoffice-style-tango : Depends: libreoffice-common (= 1:6.0.3-0ubuntu1) but it is not going to be installed
E: Unmet dependencies. Try 'apt --fix-broken install' with no packages (or specify a solution).
Any help on how to clean this up and get on or the other running on Ubuntu 18.04 would be greatly appreciated.
The following packages have unmet dependencies:
libreoffice-core : Depends: libreoffice-common (> 1:6.0.3) but it is not going to be installed
libreoffice-java-common : Depends: libreoffice-common (= 1:6.0.3-0ubuntu1) but it is not going to be installed
libreoffice-ogltrans : Depends: libreoffice-common but it is not going to be installed
libreoffice-report-builder : Depends: libreoffice-common (= 1:6.0.3-0ubuntu1) but it is not going to be installed
libreoffice-script-provider-bsh : Depends: libreoffice-common (= 1:6.0.3-0ubuntu1) but it is not going to be installed
libreoffice-script-provider-js : Depends: libreoffice-common (= 1:6.0.3-0ubuntu1) but it is not going to be installed
libreoffice-script-provider-python : Depends: libreoffice-common (= 1:6.0.3-0ubuntu1) but it is not going to be installed
libreoffice-style-galaxy : Depends: libreoffice-common (= 1:6.0.3-0ubuntu1) but it is not going to be installed
libreoffice-style-tango : Depends: libreoffice-common (= 1:6.0.3-0ubuntu1) but it is not going to be installed
E: Unmet dependencies. Try 'apt --fix-broken install' with no packages (or specify a solution).
Last edited by Hagar Delest on Thu Sep 20, 2018 9:20 pm, edited 1 time in total.
Reason: tagged solved
Reason: tagged solved
Open Office 4.1.5 on Ubuntu 18.04
- Hagar Delest
- Moderator
- Posts: 32664
- Joined: Sun Oct 07, 2007 9:07 pm
- Location: France
Re: OpenOffice and LibreOffice Setup on Ubuntu 18.04
Hi and welcome to the forum!
Have you tried the command lines in: [Tutorial] Installing Apache OpenOffice on GNU/Linux?
Have you tried the apt fix command?
You can use Synaptic to make sure there is no remaining package linked to AOO or LibO.
Have you tried the command lines in: [Tutorial] Installing Apache OpenOffice on GNU/Linux?
Have you tried the apt fix command?
You can use Synaptic to make sure there is no remaining package linked to AOO or LibO.
LibreOffice 7.6.2.1 on Xubuntu 23.10 and 7.6.4.1 portable on Windows 10
Re: OpenOffice and LibreOffice Setup on Ubuntu 18.04
Try
in a command prompt.
Then
Code: Select all
sudo apt --fix-broken install
Then
Code: Select all
sudo apt purge libreoffice*
Apache OpenOffice 4.1.15 on Xubuntu 22.04.4 LTS
Re: OpenOffice and LibreOffice Setup on Ubuntu 18.04
I have tried these and get the following messages:
--fix-broken returns and I can't get the openoffice-debian-menus uninstalled
Unpacking libreoffice-common (1:6.0.3-0ubuntu1) ...
dpkg: error processing archive /var/cache/apt/archives/libreoffice-common_1%3a6.0.3-0ubuntu1_all.deb (--unpack):
trying to overwrite '/usr/bin/soffice', which is also in package openoffice-debian-menus 4.1.5-9789
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.0.3-0ubuntu1_all.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
purge returns:
E: Unable to locate package libreoffice-common_1%3a6.0.3-0ubuntu1_all.deb
E: Couldn't find any package by glob 'libreoffice-common_1%3a6.0.3-0ubuntu1_all.deb'
E: Couldn't find any package by regex 'libreoffice-common_1%3a6.0.3-0ubuntu1_all.deb'
--fix-broken returns and I can't get the openoffice-debian-menus uninstalled
Unpacking libreoffice-common (1:6.0.3-0ubuntu1) ...
dpkg: error processing archive /var/cache/apt/archives/libreoffice-common_1%3a6.0.3-0ubuntu1_all.deb (--unpack):
trying to overwrite '/usr/bin/soffice', which is also in package openoffice-debian-menus 4.1.5-9789
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.0.3-0ubuntu1_all.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
purge returns:
E: Unable to locate package libreoffice-common_1%3a6.0.3-0ubuntu1_all.deb
E: Couldn't find any package by glob 'libreoffice-common_1%3a6.0.3-0ubuntu1_all.deb'
E: Couldn't find any package by regex 'libreoffice-common_1%3a6.0.3-0ubuntu1_all.deb'
Open Office 4.1.5 on Ubuntu 18.04
Re: OpenOffice and LibreOffice Setup on Ubuntu 18.04
If it can't find the package it doesn't need to purge it. The error message is probably because it can't find the package.
I installed OO on an Xubuntu 18.04.1 machine the other day. I may have needed to install OO twice, the second install overwriting something that it had complained about the first time - to be honest, I don't remember exactly - I do these things on autopilot.
I installed OO on an Xubuntu 18.04.1 machine the other day. I may have needed to install OO twice, the second install overwriting something that it had complained about the first time - to be honest, I don't remember exactly - I do these things on autopilot.
Apache OpenOffice 4.1.15 on Xubuntu 22.04.4 LTS
- Hagar Delest
- Moderator
- Posts: 32664
- Joined: Sun Oct 07, 2007 9:07 pm
- Location: France
Re: OpenOffice and LibreOffice Setup on Ubuntu 18.04
With Synaptic you can search for the packages, it may find one that was left by the process. Once spotted, it may be easier to remove it.
LibreOffice 7.6.2.1 on Xubuntu 23.10 and 7.6.4.1 portable on Windows 10
Re: OpenOffice and LibreOffice Setup on Ubuntu 18.04
I can't install Synaptic due to the same error messages.
Open Office 4.1.5 on Ubuntu 18.04
- Hagar Delest
- Moderator
- Posts: 32664
- Joined: Sun Oct 07, 2007 9:07 pm
- Location: France
Re: OpenOffice and LibreOffice Setup on Ubuntu 18.04
If you try sudo apt-get remove openoffice-debian-menus, what does it return?
LibreOffice 7.6.2.1 on Xubuntu 23.10 and 7.6.4.1 portable on Windows 10
Re: OpenOffice and LibreOffice Setup on Ubuntu 18.04
Reading package lists... Done
Building dependency tree
Reading state information... Done
You might want to run 'apt --fix-broken install' to correct these.
The following packages have unmet dependencies:
libreoffice-core : Depends: libreoffice-common (> 1:6.0.3) but it is not going to be installed
libreoffice-java-common : Depends: libreoffice-common (= 1:6.0.3-0ubuntu1) but it is not going to be installed
libreoffice-ogltrans : Depends: libreoffice-common but it is not going to be installed
libreoffice-report-builder : Depends: libreoffice-common (= 1:6.0.3-0ubuntu1) but it is not going to be installed
libreoffice-script-provider-bsh : Depends: libreoffice-common (= 1:6.0.3-0ubuntu1) but it is not going to be installed
libreoffice-script-provider-js : Depends: libreoffice-common (= 1:6.0.3-0ubuntu1) but it is not going to be installed
libreoffice-script-provider-python : Depends: libreoffice-common (= 1:6.0.3-0ubuntu1) but it is not going to be installed
libreoffice-style-galaxy : Depends: libreoffice-common (= 1:6.0.3-0ubuntu1) but it is not going to be installed
libreoffice-style-tango : Depends: libreoffice-common (= 1:6.0.3-0ubuntu1) but it is not going to be installed
E: Unmet dependencies. Try 'apt --fix-broken install' with no packages (or specify a solution).
Building dependency tree
Reading state information... Done
You might want to run 'apt --fix-broken install' to correct these.
The following packages have unmet dependencies:
libreoffice-core : Depends: libreoffice-common (> 1:6.0.3) but it is not going to be installed
libreoffice-java-common : Depends: libreoffice-common (= 1:6.0.3-0ubuntu1) but it is not going to be installed
libreoffice-ogltrans : Depends: libreoffice-common but it is not going to be installed
libreoffice-report-builder : Depends: libreoffice-common (= 1:6.0.3-0ubuntu1) but it is not going to be installed
libreoffice-script-provider-bsh : Depends: libreoffice-common (= 1:6.0.3-0ubuntu1) but it is not going to be installed
libreoffice-script-provider-js : Depends: libreoffice-common (= 1:6.0.3-0ubuntu1) but it is not going to be installed
libreoffice-script-provider-python : Depends: libreoffice-common (= 1:6.0.3-0ubuntu1) but it is not going to be installed
libreoffice-style-galaxy : Depends: libreoffice-common (= 1:6.0.3-0ubuntu1) but it is not going to be installed
libreoffice-style-tango : Depends: libreoffice-common (= 1:6.0.3-0ubuntu1) but it is not going to be installed
E: Unmet dependencies. Try 'apt --fix-broken install' with no packages (or specify a solution).
Open Office 4.1.5 on Ubuntu 18.04
- Hagar Delest
- Moderator
- Posts: 32664
- Joined: Sun Oct 07, 2007 9:07 pm
- Location: France
Re: OpenOffice and LibreOffice Setup on Ubuntu 18.04
Well, catch 22 situation...
No idea. Perhaps there are tutos on the net to remove packages by brute force.
No idea. Perhaps there are tutos on the net to remove packages by brute force.
LibreOffice 7.6.2.1 on Xubuntu 23.10 and 7.6.4.1 portable on Windows 10
Re: OpenOffice and LibreOffice Setup on Ubuntu 18.04
That's the -f switch. And it is a true catch 22 because the -f switch also leads to situations like this (enforce changes and don't care about dependencies).Hagar Delest wrote:Well, catch 22 situation...
No idea. Perhaps there are tutos on the net to remove packages by brute force.
I would try to install the missing packages which belong to the LibreOffice of the distribution. Currently I'm using that one. It works fine for me.
In parallel I have OpenOffice 4.1.5 installed without the desktop-integration package.
Please, edit this topic's initial post and add "[Solved]" to the subject line if your problem has been solved.
Ubuntu 18.04 with LibreOffice 6.0, latest OpenOffice and LibreOffice
Ubuntu 18.04 with LibreOffice 6.0, latest OpenOffice and LibreOffice
Re: OpenOffice and LibreOffice Setup on Ubuntu 18.04
Yeah I've tried to look, I think my main problem is I need to be able to undo the dependency on this folder by OpenOffice:
trying to overwrite '/usr/bin/soffice', which is also in package openoffice-debian-menus 4.1.5-9789
But I haven't been able to fine anything on how to uninstall the menus or anything. It really is a catch 22 and has all other installs blocked. I hate to have to format the machine.
trying to overwrite '/usr/bin/soffice', which is also in package openoffice-debian-menus 4.1.5-9789
But I haven't been able to fine anything on how to uninstall the menus or anything. It really is a catch 22 and has all other installs blocked. I hate to have to format the machine.
Open Office 4.1.5 on Ubuntu 18.04
Re: OpenOffice and LibreOffice Setup on Ubuntu 18.04
I had both AOO and LO successfully installed on Ubuntu Mate 18.04. I purged LO then reinstalled LO and had the same error messages. The problem does seem to be caused by the openoffice-debian-menus package, but the apt-get command recommended by Hagar didn't remove the package.
I used to remove the package, then to fix the LO installation. LO now appears on the menu and starts normally, but AOO is no longer on the menu.
I used
Code: Select all
sudo dpkg -P openoffice-debian-menus
Code: Select all
sudo apt --fix-broken install
AOO 4.1.14 on Ubuntu MATE 22.04
Re: OpenOffice and LibreOffice Setup on Ubuntu 18.04
Thank you that was the fix.
Open Office 4.1.5 on Ubuntu 18.04
Re: [Solved] OpenOffice and LibreOffice Setup on Ubuntu 18.0
man, I was this close to throw the fk computer against the wall.Bill wrote:I had both AOO and LO successfully installed on Ubuntu Mate 18.04. I purged LO then reinstalled LO and had the same error messages. The problem does seem to be caused by the openoffice-debian-menus package, but the apt-get command recommended by Hagar didn't remove the package.
I usedto remove the package, thenCode: Select all
sudo dpkg -P openoffice-debian-menus
to fix the LO installation. LO now appears on the menu and starts normally, but AOO is no longer on the menu.Code: Select all
sudo apt --fix-broken install
thank you
I'm signing up only to say thanks to a guy because he helped me fixing a fucking libreoffice problem
OpenOffice 3.1 on Windows Vista / NeoOffice 2.2.3 with MacOS 10.4 / OpenOffice 2.4 on Ubuntu 9.04
OpenOffice 3.1 on Windows Vista / NeoOffice 2.2.3 with MacOS 10.4 / OpenOffice 2.4 on Ubuntu 9.04
Re: [Solved] OpenOffice and LibreOffice Setup on Ubuntu 18.0
Thank you so much! I have been trying to resolve this for months.This post should be at the No 1 position on google search for this problem!ntala wrote:man, I was this close to throw the fk computer against the wall.Bill wrote:I had both AOO and LO successfully installed on Ubuntu Mate 18.04. I purged LO then reinstalled LO and had the same error messages. The problem does seem to be caused by the openoffice-debian-menus package, but the apt-get command recommended by Hagar didn't remove the package.
I usedto remove the package, thenCode: Select all
sudo dpkg -P openoffice-debian-menus
to fix the LO installation. LO now appears on the menu and starts normally, but AOO is no longer on the menu.Code: Select all
sudo apt --fix-broken install
thank you
OpenOffice 4.17 on Debian 10