尝试从 Kubuntu 版本 16.04 LTS 上的 ubuntu 软件包存储库安装 opensad。安装很快失败,并显示以下消息:
Reading package lists... Done
Building dependency tree
Reading state information... Done
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.
openscad : Depends: libqt5scintilla2-12v5 (>= 2.8.4) but it is not going to be installed
E: Unable to correct problems, you have held broken packages.
我希望有更新可以解决这个问题。据我所知,这种情况已经持续了几个月了。
答案1
我找到了答案https://github.com/openscad/openscad/issues/1792。需要手动安装几个依赖项:
- 从以下位置下载两个 DEB 包https://www.ubuntuupdates.org/package/core/yakkety/universe/base/libqt5scintilla2-l10n和https://www.ubuntuupdates.org/package/core/yakkety/universe/base/libqt5scintilla2-12v5
- 使用 安装它们
sudo dpkg -i <package>
。首先是 libqtscintilla2-l10n,然后是 12v5。 - 现在您可以使用 安装 openscad
sudo apt install openscad
。
快乐黑客!