无法使用 "pkg" 在 OpenIndiana (OpenSolaris 11) 上安装 ImageMagick 的软件包

Can't install with "pkg" the packages for ImageMagick on OpenIndiana (OpenSolaris 11)

每当我尝试安装 ImageMagick 软件包之一,主要 pkg:/image/imagemagick,我都会收到以下(重复)错误:

pkg install: The following packages all deliver file actions to usr/include/webp/encode.h:

pkg://openindiana.org/library/libwebp@0.4.0,5.11-2016.0.0.0:20160730T003751Z pkg://sfe/image/library/libwebp@0.2.1,5.11-0.151.1.8:20130901T155736Z

These packages may not be installed together. Any non-conflicting set may be, or the packages must be corrected before they can be installed.

The following packages all deliver file actions to usr/share/man/man1/dwebp.1:

pkg://openindiana.org/library/libwebp@0.4.0,5.11-2016.0.0.0:20160730T003751Z pkg://sfe/image/library/libwebp@0.2.1,5.11-0.151.1.8:20130901T155736Z

These packages may not be installed together. Any non-conflicting set may be, or the packages must be corrected before they can be installed.

The following packages all deliver file actions to usr/lib/amd64/pkgconfig/libwebp.pc:

pkg://openindiana.org/library/libwebp@0.4.0,5.11-2016.0.0.0:20160730T003751Z pkg://sfe/image/library/libwebp@0.2.1,5.11-0.151.1.8:20130901T155736Z

These packages may not be installed together. Any non-conflicting set may be, or the packages must be corrected before they can be installed.

The following packages all deliver file actions to usr/bin/dwebp:

pkg://openindiana.org/library/libwebp@0.4.0,5.11-2016.0.0.0:20160730T003751Z pkg://sfe/image/library/libwebp@0.2.1,5.11-0.151.1.8:20130901T155736Z

These packages may not be installed together. Any non-conflicting set may be, or the packages must be corrected before they can be installed.

The following packages all deliver file actions to usr/include/webp/decode.h:

pkg://openindiana.org/library/libwebp@0.4.0,5.11-2016.0.0.0:20160730T003751Z pkg://sfe/image/library/libwebp@0.2.1,5.11-0.151.1.8:20130901T155736Z

These packages may not be installed together. Any non-conflicting set may be, or the packages must be corrected before they can be installed.

The following packages all deliver file actions to usr/include/webp/types.h:

pkg://sfe/image/library/libwebp@0.2.1,5.11-0.151.1.8:20130901T155736Z pkg://openindiana.org/library/libwebp@0.4.0,5.11-2016.0.0.0:20160730T003751Z

These packages may not be installed together. Any non-conflicting set may be, or the packages must be corrected before they can be installed.

The requested change to the system attempts to install multiple actions for link 'usr/lib/libwebp.so' with conflicting attributes:

1 package delivers 'link path=usr/lib/libwebp.so target=libwebp.so.4.0.1':
    pkg://sfe/image/library/libwebp@0.2.1,5.11-0.151.1.8:20130901T155736Z
1 package delivers 'link path=usr/lib/libwebp.so target=libwebp.so.5.0.0':
    pkg://openindiana.org/library/libwebp@0.4.0,5.11-2016.0.0.0:20160730T003751Z

These packages may not be installed together. Any non-conflicting set may be, or the packages must be corrected before they can be installed.

The following packages all deliver file actions to usr/lib/pkgconfig/libwebp.pc:

pkg://sfe/image/library/libwebp@0.2.1,5.11-0.151.1.8:20130901T155736Z pkg://openindiana.org/library/libwebp@0.4.0,5.11-2016.0.0.0:20160730T003751Z

These packages may not be installed together. Any non-conflicting set may be, or the packages must be corrected before they can be installed.

The following packages all deliver file actions to usr/share/man/man1/cwebp.1:

pkg://openindiana.org/library/libwebp@0.4.0,5.11-2016.0.0.0:20160730T003751Z pkg://sfe/image/library/libwebp@0.2.1,5.11-0.151.1.8:20130901T155736Z

These packages may not be installed together. Any non-conflicting set may be, or the packages must be corrected before they can be installed.

The requested change to the system attempts to install multiple actions for link 'usr/lib/amd64/libwebp.so' with conflicting attributes:

1 package delivers 'link path=usr/lib/amd64/libwebp.so target=libwebp.so.4.0.1':
    pkg://sfe/image/library/libwebp@0.2.1,5.11-0.151.1.8:20130901T155736Z
1 package delivers 'link path=usr/lib/amd64/libwebp.so target=libwebp.so.5.0.0':
    pkg://openindiana.org/library/libwebp@0.4.0,5.11-2016.0.0.0:20160730T003751Z

These packages may not be installed together. Any non-conflicting set may be, or the packages must be corrected before they can be installed.

The following packages all deliver file actions to usr/bin/cwebp:

pkg://openindiana.org/library/libwebp@0.4.0,5.11-2016.0.0.0:20160730T003751Z pkg://sfe/image/library/libwebp@0.2.1,5.11-0.151.1.8:20130901T155736Z

These packages may not be installed together. Any non-conflicting set may be, or the packages must be corrected before they can be installed.

我看到它指的是两个不同的版本,我认为冲突是它无法安装的原因。但是,我已经成功安装了一个 'libwebp' 包:

image/library/libwebp (sfe) 0.2.1-0.151.1.8 i--

但是,我仍然不知道如何安装ImageMagic。有什么方法可以修复这个错误吗?错误输出不是描述性的,并且它为它 'deliver file actions' 的每个文件一遍又一遍地重复相同的错误。它说 'any non-conflicting set may be, or the packages must be corrected before they can be installed' 没有帮助。也许这里有人。

任何人都可以阐明我必须做什么才能安装此软件包吗?

谢谢!

您的日志看起来您已将 IPS 发布者设置为 OpenIndiana 站点上当前未维护的 IPS 存储库。 因此,没有建议可以在新版本的 OpenIndiana 上正确安装旧软件包。

您应该考虑不使用该 IPS 存储库,因为它没有更新(至少在相当长的一段时间内)。

要查看已经从那里安装了哪些包应该删除,运行命令: 包装清单 | grep '(sfe)'

应删除所有显示的包名称。

来自 "sfe" 项目的 IPS 包的当前维护存储库位于此处:http://sfe.opencsw.org 或查看 openindiana 网站以获取其他可能的选择。 然后您可以在新副本中安装软件包。