Recently I tried to install Gimp or Inkscape and get reports of "unmet dependencies" See error messages at bottom of post. A bit of searching on the forum and some googling did not turn up anything.
An attempt to just install LibreOffice met with failure. In both cases the command 'apt --fix-broken install' returned the message
Can anyone suggest something? I know that someone on the forumkreported successfully installing AOO with an already installed LibreOffice but I would prefer to avoid what looked like a rather fraught procedure which would mean purging AOO and then doing two installations.dpkg: error processing archive /var/cache/apt/archives/libreoffice-common_1%3a6.0.7-0ubuntu0.18.04.2_all.deb (--unpack):
trying to overwrite '/usr/bin/soffice', which is also in package openoffice-debian-menus 4.1.5-9789
sudo apt-get install gimp
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:
gimp : Depends: libgimp2.0 (>= 2.8.22) but it is not going to be installed
Depends: libgimp2.0 (<= 2.8.22-z) but it is not going to be installed
Depends: gimp-data (>= 2.8.22) but it is not going to be installed
Depends: gimp-data (<= 2.8.22-z) but it is not going to be installed
Depends: python-gtk2 (>= 2.8.0) but it is not going to be installed
Depends: libbabl-0.1-0 (>= 0.1.10) but it is not going to be installed
Depends: libgegl-0.3-0 (>= 0.3.0) but it is not going to be installed
libreoffice-core : Depends: libreoffice-common (> 1:6.0.7) but it is not going to be installed
libreoffice-java-common : Depends: libreoffice-common (= 1:6.0.7-0ubuntu0.18.04.2) but it is not going to be installed
libreoffice-style-galaxy : Depends: libreoffice-common (= 1:6.0.7-0ubuntu0.18.04.2) but it is not going to be installed
libreoffice-style-tango : Depends: libreoffice-common (= 1:6.0.7-0ubuntu0.18.04.2) but it is not going to be installed
E: Unmet dependencies. Try 'apt --fix-broken install' with no packages (or specify a solution).