嘗試向 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 的術語 wiki 頁面)。我添加了--pretend讓它顯示將要做什麼:

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

結果清單可能會為您提供更多需要取消屏蔽的軟體包。然後,您可以根據一個套件可能需要的後續版本變更來決定使用哪個版本,--pretend完成後重複該命令並省略。入住用於新增關鍵字和自動取消屏蔽的 portage 選項更多細節。

相關內容