talloc-2.0.5 安装失败

8 views
Skip to first unread message

Peng Liang

unread,
Mar 24, 2011, 11:03:06 PM3/24/11
to gentoo...@googlegroups.com
 emerge -pv talloc

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild     U ] sys-libs/talloc-2.0.5 [2.0.1-r1] USE="python%* -compat (-doc%) (-static-libs%) (-swig%)" 357 kB
[blocks B     ] <sys-libs/talloc-2.0.5 ("<sys-libs/talloc-2.0.5" is blocking sys-libs/talloc-2.0.5)

Total: 1 package (1 upgrade), Size of downloads: 357 kB
Conflict: 1 block (1 unsatisfied)

 * Error: The above package list contains packages which cannot be
 * installed at the same time on the same system.

  (sys-libs/talloc-2.0.5, ebuild scheduled for merge) pulled in by
    talloc

我看了下ebuild中有一句:

RDEPEND="!!<sys-libs/talloc-2.0.5"

我在overlay 里改成 RDEPEND="!<sys-libs/talloc-2.0.5" 就可以了
 
是维护人员多写了个!,还是怎么回事?


--
Peng Liang

yegle

unread,
Mar 24, 2011, 11:56:26 PM3/24/11
to gentoo...@googlegroups.com
lol~双重否定~

发自我的挨凤
--
您收到这封email是因为您订阅了 Gentoo 中文 Google Group
要发贴到本group,请email至gentoo...@googlegroups.com
要退订,请发email到gentoo-china...@googlegroups.com
要了解Gentoo中文社区更多信息,请访问 http://www.gentoo-cn.org

Dennis.Yxun

unread,
Mar 25, 2011, 12:55:32 AM3/25/11
to gentoo...@googlegroups.com, Peng Liang
You've already installed 2.0.1-r1, un-merge it, then do emerge again.

2011/3/25 Peng Liang <pengli...@gmail.com>

Dennis.Yxun

unread,
Mar 25, 2011, 1:13:35 AM3/25/11
to Peng Liang, gentoo...@googlegroups.com
HI Peng:
   既然你是在group上提问题,那最好也要回复group
恩,要养成好习惯
我查了PMS,有这个特性的
  实际上,这不是一个bug,而是一个feature ^_^

下面是zmedico(portage maintainer)的回复

<Openfree`> could someone explain me what does !! means, example "!!<sys-apps/sandbox-1.6" in subversion-1.6.16.ebuild DEPEND
<Openfree`> ==sys-apps/sandbox-1.6?
<dol-sen> usually the "!" symbol means a NOT
<zmedico> Openfree`: it's called a "hard blocker"
<dol-sen> not sure the dble !!
* Polynomial-C has quit (Ping timeout: 276 seconds)
<zmedico> it means the blocked package can't be temporarily installed at the same time
<zmedico> soft blockers allow temporary overlap
<zmedico> hard blockers don't
<zmedico> soft blockers are especially useful when updating a critical lib that you can't temporarily be without since that would break your tools
<zmedico> hard blockers are usually a workaround for build systems that are sensitive to installed files
<Openfree`> zmedico, got it, thanks


2011/3/25 Peng Liang <pengli...@gmail.com>


2011/3/25 Dennis.Yxun <denni...@gmail.com>

You've already installed 2.0.1-r1, un-merge it, then do emerge again.


You mean that it don't support updating from an old version, even from 2.0.1-r1 to 2.0.5 ?


--
Peng Liang


Peng Liang

unread,
Mar 25, 2011, 1:27:05 AM3/25/11
to gentoo...@googlegroups.com

2011/3/25 Dennis.Yxun <denni...@gmail.com>

HI Peng:
   既然你是在group上提问题,那最好也要回复group
恩,要养成好习惯
我查了PMS,有这个特性的
  实际上,这不是一个bug,而是一个feature ^_^

下面是zmedico(portage maintainer)的回复

<Openfree`> could someone explain me what does !! means, example "!!<sys-apps/sandbox-1.6" in subversion-1.6.16.ebuild DEPEND
<Openfree`> ==sys-apps/sandbox-1.6?
<dol-sen> usually the "!" symbol means a NOT
<zmedico> Openfree`: it's called a "hard blocker"
<dol-sen> not sure the dble !!
* Polynomial-C has quit (Ping timeout: 276 seconds)
<zmedico> it means the blocked package can't be temporarily installed at the same time
<zmedico> soft blockers allow temporary overlap
<zmedico> hard blockers don't
<zmedico> soft blockers are especially useful when updating a critical lib that you can't temporarily be without since that would break your tools
<zmedico> hard blockers are usually a workaround for build systems that are sensitive to installed files
<Openfree`> zmedico, got it, thanks


意思只能卸载再重装?

============
恩, 我是想回复到group的... 直接点的reply, 怎么默认不是group地址呢... 奇怪

--
Peng Liang

Dennis.Yxun

unread,
Mar 25, 2011, 1:45:23 AM3/25/11
to gentoo...@googlegroups.com, Peng Liang
首先,不管是!还是!!,两个包,talloc-2.0.5和他低版本的都不能共存
如果在emerge world时,同时有不同的软件包把这两个不同版本都拉进来
emerge 会报错

!的话,soft blocker,就是两者不共存就可以了,比如你刚才改的样子
把talloc-2.0.5的!!改成!,那么,下面两种方式都不会报错,
a) 从2.0.5降级到以下的版本
b) 或从2.0.1-r1以及更低的版本升级到2.0.5

如果是!!,hard blocker,那么,执行上面的a)b)时,系统都会报错

[ebuild     U  ] sys-libs/talloc-2.0.5 [2.0.1-r1] USE="python%*"
[blocks B      ] <sys-libs/talloc-2.0.5 ("<sys-libs/talloc-2.0.5" is blocking sys-libs/talloc-2.0.5)


2011/3/25 Peng Liang <pengli...@gmail.com>
--
Peng Liang

Dennis.Yxun

unread,
Mar 25, 2011, 2:05:08 AM3/25/11
to gentoo...@googlegroups.com, Peng Liang


2011/3/25 Peng Liang <pengli...@gmail.com>
回答你的问题,确实需要这样!
 
============
恩, 我是想回复到group的... 直接点的reply, 怎么默认不是group地址呢... 奇怪

--
Peng Liang

Reply all
Reply to author
Forward
0 new messages