尝试向 gentoo 添加肉桂 - 给我一个隐藏的警告

尝试向 gentoo 添加肉桂 - 给我一个隐藏的警告

因此,我尝试为我的 Gentoo 机器的桌面环境添加 cinnamon,到目前为止,我已经很好地完成了安装,并完成了 部分x-server,尽管我在Cinnamon安装实际的桌面环境时遇到了困难。

我运行命令:emerge --ask gnome-extra/cinnamon并收到以下错误消息:

All ebuilds that could satisfy "gnome-extra/cinnamon" have been masked.
One of the fllowing masked packages is required to complete your request:
 - gnome-extra/cinnamon-3.0.7-r1::gentoo (masked by: ~amd64 keyword, invalid: REQUIRED_USE: USE flag 'python_targets_python3_3' is not in IUSE
 - SAME MESSAGE BUT FOR gnome-extra/cinnamon-3.0.7::gentoo
 - SAME MESSAGE BUT FOR gnome-extra/cinnamon-3.0.6::gentoo
 - SAME MESSAGE BUT FOR gnome-extra/cinnamon-2.8.8

For more information, see the MASKED PACKAGES section in the emerge
man page or refer to the Gentoo Handbook.

这是我USE flags/etc/portage/make.conf

USE="X python_targets3_3 bindist git networkmanager nls pulseaudio icu gnome-keyring opengl jpeg"
USE_PYTHON="3.4"
PYTHON_TARGET="python_targets_python3_3"

现在这是我的/etc/portage/package.mask

libtool openrc perl

答案1

这个问题很老了,=gnome-extra/cinnamon-3.0.7-r2现在可以直接在 portage 树中找到。所以emerge gnome-extra/cinnamon从今天开始应该做一个简单的事情。参考信息位于Gentoo 维基 肉桂页。

在我的 vanille GNOME 系统上,输出如下:

# emerge --ask --tree gnome-extra/cinnamon

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

Calculating dependencies... done!
[ebuild  N     ] gnome-extra/cinnamon-3.0.7-r2::gentoo  USE="networkmanager     nls" PYTHON_TARGETS="python2_7 python3_5 -python3_4" 2.994 KiB
[ebuild  N     ]  gnome-extra/nemo-3.0.6::gentoo  USE="exif introspection nls (-packagekit) {-test} -tracker -xmp" 1.332 KiB
[ebuild  N     ]  gnome-extra/cinnamon-control-center-3.0.1::gentoo  USE="colord cups systemd -debug" INPUT_DEVICES="-wacom" 3.745 KiB
[ebuild  N     ]  x11-wm/muffin-3.0.5::gentoo  USE="introspection {-test} -xinerama" 2.655 KiB
[ebuild  N     ]  gnome-extra/cinnamon-screensaver-3.0.1::gentoo  USE="pam systemd -debug -doc" PYTHON_TARGETS="python2_7" 144 KiB
[ebuild  N     ]  gnome-extra/cinnamon-session-3.0.1::gentoo  USE="ipv6 systemd -doc" 579 KiB
[ebuild  N     ]  gnome-extra/cinnamon-settings-daemon-3.0.1::gentoo  USE="colord cups systemd -smartcard {-test}" INPUT_DEVICES="-wacom" 2.845 KiB
[ebuild  N     ]   gnome-extra/cinnamon-desktop-3.0.2:0/4::gentoo  USE="introspection systemd" PYTHON_TARGETS="python2_7" 565 KiB
[ebuild  N     ]  gnome-extra/cjs-3.0.1::gentoo  USE="cairo gtk -examples {-test}" 318 KiB
[ebuild  NS    ]   dev-lang/spidermonkey-24.2.0-r4:24::gentoo [1.8.5-r6:0/mozjs185::gentoo, 38.2.1_rc0:38::gentoo] USE="system-icu -debug -icu -jit -   minimal -static-libs {-test}" 15.262 KiB
[nomerge       ] x11-wm/muffin-3.0.5::gentoo  USE="introspection {-test} -xinerama" 
[ebuild  N     ]  app-text/gnome-doc-utils-0.20.10-r1::gentoo  PYTHON_TARGETS="python2_7" 515 KiB
[nomerge       ] gnome-extra/cinnamon-3.0.7-r2::gentoo  USE="networkmanager nls" PYTHON_TARGETS="python2_7 python3_5 -python3_4" 
[ebuild  N     ]  gnome-extra/cinnamon-menus-3.0.2::gentoo  USE="introspection -debug" 207 KiB
[ebuild  N     ]  dev-python/pypam-0.5.0-r3::gentoo  PYTHON_TARGETS="python2_7 python3_5 -python3_4 -python3_6" 103 KiB
[ebuild  N     ]  dev-python/pyinotify-0.9.6::gentoo  USE="-examples" PYTHON_TARGETS="python2_7 python3_5 (-pypy) (-pypy3) -python3_4 -python3_6" 60 KiB
[nomerge       ] app-text/gnome-doc-utils-0.20.10-r1::gentoo  PYTHON_TARGETS="python2_7" 
[ebuild  N     ]  app-text/scrollkeeper-dtd-1.0-r1:1.0::gentoo  11 KiB
[nomerge       ] gnome-extra/cinnamon-3.0.7-r2::gentoo  USE="networkmanager nls" PYTHON_TARGETS="python2_7 python3_5 -python3_4" 
[ebuild  N     ]  dev-python/pexpect-4.2.1::gentoo  USE="-doc -examples {-test}" PYTHON_TARGETS="python2_7 python3_5 (-pypy) (-pypy3) -python3_4 -python3_6" 141 KiB
[ebuild  N     ]   dev-python/ptyprocess-0.5.1::gentoo  USE="{-test}" PYTHON_TARGETS="python2_7 python3_5 (-pypy) (-pypy3) -python3_4 -python3_6" 67 KiB
[ebuild  N     ]  dev-python/polib-1.0.7::gentoo  USE="-doc" PYTHON_TARGETS="python2_7 python3_5 -python3_4 -python3_6" 153 KiB
[ebuild  N     ]  gnome-extra/cinnamon-translations-3.0.3::gentoo  7.753 KiB

Total: 19 packages (18 new, 1 in new slot), Size of downloads: 39.440 KiB

对于未来版本,这是安装关键字屏蔽包的方式Gentoo手册。假设您发现 portage 树让您想要进入前沿=gnome-extra/cinnamon-3.6.6.-r2,那么您将手动接受它的关键字:

$ eix -s cinnamon

* gnome-extra/cinnamon
 Verfügbare Versionen:   3.0.7-r2 ~3.2.0-r2 ~3.2.6-r1 ~3.2.7-r1 ~3.4.2-r1 ~3.4.6 ~3.6.6-r2 {+networkmanager +nls PYTHON_TARGETS="python2_7 python3_4 python3_5"}
 Startseite:             http://developer.linuxmint.com/
 Beschreibung:           A fork of GNOME Shell with layout similar to GNOME 2

根据知识库,添加特定于版本的条目标有~你想要的/etc/portage/package.keyword/gnome-extra

# echo "=gnome-extra/cinnamon-3.6.6-r2" >> /etc/portage/package.keywords/gnome-extra

然后是emerge这个包原子(请参阅此处Sakaki 的术语维基页面)。我添加了--pretend让它显示将要做什么:

# emerge --ask --verbose --pretend --tree =gnome-extra/cinnamon-3.6.6-r2

结果列表可能会为您提供更多需要取消屏蔽的软件包。然后,您可以根据一个包可能需要的后续版本更改来决定使用哪个版本,--pretend完成后重复该命令并省略。入住用于添加关键字和自动取消屏蔽的 portage 选项更多细节。

相关内容