|
|
今天自己建了一个overlay,
#mkdir -p /usr/local/portage/my_overlay
然后在make.conf里添加了
PORTDIR_OVERLAY="/usr/local/portage/my_overlay",
在my_overlay里面建了dev-dotnet的文件夹,并且添加了glade-sharp和gtk-sharp,而后将bugs.gentoo上的ebuild分别下载到对应目录,执行
#ebuild glade-sharp-2.12.1.ebuild digest
#ebuild gtk-sharp-2.12.1.ebuild digest
而后emerge这两个包,成功
之后再执行emerge -avDu world的时候,出现下面的错误:
Calculating dependencies... done!
[ebuild UD] dev-dotnet/gtk-sharp-2.10.2 [2.12.1] USE="-doc" 2,089 kB [1=>0]
[ebuild UD] dev-dotnet/glade-sharp-2.10.0 [2.12.1] 2,022 kB [1=>0]
Total: 2 packages (2 downgrades), Size of downloads: 4,110 kB
Portage tree and overlays:
[0] /usr/portage
[1] /usr/local/portage/my_overlay
!!! Multiple versions within a single package slot have been pulled
!!! into the dependency graph, resulting in a slot conflict:
dev-dotnet/glade-sharp:2
('ebuild', '/', 'dev-dotnet/glade-sharp-2.10.0', 'merge') pulled in by
@world
('installed', '/', 'dev-dotnet/gconf-sharp-2.16.0', 'nomerge')
('installed', '/', 'dev-dotnet/glade-sharp-2.12.1', 'nomerge') pulled in by
('installed', '/', 'media-gfx/f-spot-0.5.0.2', 'nomerge')
@world
dev-dotnet/gtk-sharp:2
('ebuild', '/', 'dev-dotnet/gtk-sharp-2.10.2', 'merge') pulled in by
@world
('ebuild', '/', 'dev-dotnet/glade-sharp-2.10.0', 'merge')
('installed', '/', 'dev-dotnet/gtk-sharp-2.12.1', 'nomerge') pulled in by
('installed', '/', 'media-gfx/f-spot-0.5.0.2', 'nomerge')
@world
It may be possible to solve this problem by using package.mask to
prevent one of those packages from being selected. However, it is also
possible that conflicting dependencies exist such that they are
impossible to satisfy simultaneously. If such a conflict exists in the
dependencies of two different packages, then those packages can not be
installed simultaneously.
For more information, see MASKED PACKAGES section in the emerge man page
or refer to the Gentoo Handbook. |
|