尝试通过 PPA 在 Ubuntu 18.04 上安装 RawTherapee。运行时sudo apt-get install rawtherapee
出现以下错误:
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.
运行命令apt-cache policy rawtherapee
输出是:
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
你知道我该如何解决这个问题吗?
答案1
topmenu-gtk3
18.04 中不存在该软件包。所描述的问题可能是由于尝试安装为 17.10 编译的软件包而导致的。例如,如果从 ppa 安装,其中的旧二进制文件是复制的而不是重新编译的。
最便捷的解决方案是删除有问题的 ppa(或其他非标准存储库)并安装官方软件包。
你也可以选择下载源代码;编辑debian/control
以删除依赖项;然后重新编译或上传到 ppa。这是我通常采取的路线,结果可以通过以下方式找到在启动板上搜索 rawtherapee。但是,依赖其他人的 ppa 的问题在于,您会受制于他们的突发奇想。