我在Gentoo迁移方面没有太多经验,在试图更新系统时,我得到了以下错误:
gentoo package.use # emerge --ask --newuse --deep --with-bdeps=y @world
* IMPORTANT: 2 config files in '/etc/portage' need updating.
* See the CONFIGURATION FILES section of the emerge
* man page to learn how to update config files.
These are the packages that would be merged, in order:
Calculating dependencies... done!
[ebuild R ] net-misc/curl-7.39.0 USE="ssl*"
[ebuild R ] dev-java/jsch-0.1.49 USE="-doc*"
[ebuild R ] dev-java/jzlib-1.0.7-r1 USE="-doc*"
[ebuild R ] dev-java/jflex-1.4.3-r2 USE="-doc*"
[ebuild R ] dev-db/hsqldb-1.8.1.3-r1 USE="-doc*"
!!! Multiple package instances within a single package slot have been pulled
!!! into the dependency graph, resulting in a slot conflict:
net-misc/curl:0
(net-misc/curl-7.39.0:0/0::gentoo, ebuild scheduled for merge) pulled in by
>=net-misc/curl-7.20.0-r1[ssl] required by (dev-util/cmake-2.8.12.2-r1:0/0::gentoo, installed)
^^^
(net-misc/curl-7.39.0:0/0::gentoo, installed) pulled in by
>=net-misc/curl-7.25.0-r1[ssl=] required by (dev-python/pycurl-7.19.3.1-r2:0/0::gentoo, installed)
^^^^ 发布于 2015-04-16 04:44:14
这可能是一个使用标志槽冲突。我在预览中看到您删除SSL支持。
net/curl-7.39.0 USE="-ssl*“
但是,您的系统配置似乎需要ssl支持。波蒂奇建议如下:
可以通过应用下列所有更改来解决这个时隙碰撞问题:
如果您想在不对package.use进行任何更改的情况下测试它,请尝试:
$ USE="+ssl“出现了-询问-更新-假装-深度-带bdeps=y-newuse @world
要使其永久化,请将ssl使用标志添加到package.use文件中。
$ echo 'net-misc/curl +ssl‘>> /etc/portage/pacag.use$ echo 'dev-python/pycurl +ssl’>> /etc/portage/pacage.use
然后重建
$浮现--询问--更新--深度--带--bdeps=y --newuse @world
希望它能与新的USE标志一起工作。
发布于 2015-06-16 19:23:50
这里有两个使用标志依赖项。
第一个要求net-misc/curl设置ssl USE标志:
>=net-misc/curl-7.20.0-r1[ssl] required by (dev-util/cmake-2.8.12.2-r1:0/0::gentoo, installed)第二种方法要求安装dev-python/pycurl时使用与net-misc/curl相同的ssl使用标志:
>=net-misc/curl-7.25.0-r1[ssl=] required by (dev-python/pycurl-7.19.3.1-r2:0/0::gentoo, installed)因此,解决方案是在ssl和net-misc/curl上设置dev-python/pycurl标志。这是满足这两种依赖关系的唯一方法。您可以从Gentoo发展指南中了解更多关于Port奇依赖项的信息。
没有理由禁用ssl使用标志。大多数带有ssl标志的包都是基于网络的,很可能使用它提供的安全性。此外,SSL包(dev-libs/openssl、net-misc/openssh)是通过系统集引入的,因此您不会通过禁用它来消除任何额外的依赖关系。
https://stackoverflow.com/questions/29229857
复制相似问题