2

我已经从虚拟机中的 Live DVD 安装了 Solaris 11.3 (Intel X86)。升级全新安装,没有更新待处理。添加了带有证书的 Oracle Developer Studio 发布者,如此所述。确保sunpro-incorporation元数据包是最新的,如相关 Oracle 文档所述。是的,我在 version 0.5.11-0.175.3.20.0.2.0。是的,我已经安装了这个developer-studio-utilities包。

尽管做了所有这些努力,我还是无法安装 Developer Studio 12.6(或 12.5,就此而言)。尝试“试运行”安装命令pkg install -nv developerstudio-126失败,输出如下:

Creating Plan (Running solver): / pkg install: No solution was found
to satisfy constraints

maintained incorporations:  
pkg://solaris/consolidation/SunVTS/SunVTS-incorporation@7.19.2-0.175.3.0.0.26.3
pkg://solaris/consolidation/X/X-incorporation@0.5.11-0.175.3.1.0.2.1489
pkg://solaris/consolidation/admin/admin-incorporation@0.5.11-0.175.1.0.0.5.0
pkg://solaris/consolidation/cacao/cacao-incorporation@0.5.11-0.175.3.0.0.24.0
pkg://solaris/consolidation/cde/cde-incorporation@0.5.11-0.175.3.0.0.16.0
pkg://solaris/consolidation/cns/cns-incorporation@0.5.11-0.175.3.0.0.24.0
pkg://solaris/consolidation/dbtg/dbtg-incorporation@0.5.11-0.175.3.0.0.29.0
pkg://solaris/consolidation/ddt/ddt-incorporation@8.9.15.9.11  
pkg://solaris/consolidation/desktop/desktop-incorporation@0.5.11-0.175.3.0.0.28.0
pkg://solaris/consolidation/desktop/gnome-incorporation@0.5.11-0.175.3.0.0.26.0
pkg://solaris/consolidation/gfx/gfx-incorporation@0.5.11-0.175.1.0.0.5.0
pkg://solaris/consolidation/ips/ips-incorporation@0.5.11-0.175.3.0.0.26.0
pkg://solaris/consolidation/java-7/java-7-incorporation@1.7.0.85.33-0 
pkg://solaris/consolidation/java-8/java-8-incorporation@1.8.0.60.27-0 
pkg://solaris/consolidation/jdmk/jdmk-incorporation@0.5.11-0.175.2.0.0.22.0
pkg://solaris/consolidation/l10n/l10n-incorporation@0.5.11-0.175.3.0.0.26.2
pkg://solaris/consolidation/man/man-incorporation@0.5.11-0.175.3.0.0.28.0
pkg://solaris/consolidation/nspg/nspg-incorporation@0.5.11-0.175.1.0.0.5.0
pkg://solaris/consolidation/nvidia/nvidia-incorporation@0.5.11-0.175.3.0.0.17.0
pkg://solaris/consolidation/osnet/osnet-incorporation@0.5.11-0.175.3.1.0.5.0
pkg://solaris/consolidation/sfw/sfw-incorporation@0.5.11-0.175.3.0.0.30.0
pkg://solaris/consolidation/sic_team/sic_team-incorporation@0.5.11-0.175.3.0.0.20.0
pkg://solaris/consolidation/solaris_re/solaris_re-incorporation@0.5.11-0.175.3.1.0.5.0
pkg://solaris/consolidation/ssm/ssm-incorporation@2.3.3.0-0.175.3.0.0.29.0
pkg://solaris/consolidation/sunpro/sunpro-incorporation@0.5.11-0.175.3.20.0.2.0
pkg://solaris/consolidation/ub_javavm-6/ub_javavm-6-incorporation@1.6.0.999.99-0
pkg://solaris/consolidation/userland/userland-incorporation@0.5.11-0.175.3.1.0.3.0
pkg://solaris/consolidation/xvm/xvm-incorporation@0.5.11-0.175.1.0.0.5.0
pkg://solaris/entire@0.5.11-0.175.3.1.0.5.2

Plan Creation: Package solver is unable to compute solution.
Dependency analysis is unable to determine exact cause. Try specifying
expected results to obtain more detailed error messages. Include
specific version of packages you wish installed.

为了我的辩护,我想提一下我有一些 Solaris 管理员经验,可以追溯到第 10 版,这不是我第一次安装 Solaris 软件包。不知道这次是什么问题。任何帮助将非常感激...

4

2 回答 2

1

If you poke around the dependencies of developerstudio-126 and try installing them one by one, you'll eventually find out that developerstudio-126/dbx requires python-34 that is excluded by userland-incorporation. Then a search about "Solaris 11 incorporations" landed me on this page, which (albeit for Solaris 11.2) explains that you can disable the relevant version-lock facet here by running:

sudo pkg change-facet facet.version-lock.runtime/python-34=false

(This command obviously changes the configuration of the system to an unsupported state, so you may want to save a checkpoint of your virtual machine before running it.)

After disabling that particular facet, I was able to install developerstudio-126 from the Package Manager without any more errors.

于 2018-01-14T23:45:27.730 回答
0

我们需要更多信息。您用来安装 Studio 的命令行是什么?此外,您是否仍然solaris配置了发布者并确认您可以从它安装包(例如,system/header)?

于 2017-08-22T21:32:06.503 回答