0

Trying to install RawTherapee on Ubuntu 18.04 from a PPA. Running sudo apt-get install rawtherapee gives the following error:

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:
  rawtherapee :
  Depends: topmenu-gtk3 but it is not installable
 E: Unable to correct problems, you have held broken packages.

Running the command apt-cache policy rawtherapee the output is:

rawtherapee:
Installed: (none)
Candidate: 5.4-1dhor~bionic  
 Version table:
  5.4-1dhor~bionic 500
     500 http://ppa.launchpad.net/dhor/myway/ubuntu bionic/main amd64 Packages
  5.3-1 500
     500 http://it.archive.ubuntu.com/ubuntu bionic/universe amd64 Packages

Do you know how can I solve it?

xiota
  • 4,849
Sisu
  • 13
  • 2

1 Answers1

0

The package topmenu-gtk3 does not exist in 18.04. The problem described is likely caused by attempting to install a package compiled for 17.10. For instance, if installing from a ppa in which old binaries were copied rather than recompiled.

The most expedient solution is to remove the offending ppa (or other nonstandard repository) and install the official packages.

One may also choose to download the source; edit debian/control to remove the dependency; then recompile or upload to a ppa. This is the route I typically take, and the result may be found by searching launchpad for rawtherapee. However, the problem with relying on other's ppa is you're beholden to their whims and fancies.

xiota
  • 4,849
  • I think this is the problem. I added the output of the command 'apt-cache' and apparently the official ppa suggests to install the previous version of rawtherapee. – Sisu May 02 '18 at 07:52