Software-Installation

Emerge on Gentoo 失敗,“單個包插槽中的多個包實例已被拉入……”。我該如何解決這個問題?

  • September 30, 2015

我正在嘗試在我最近使用的 Gentoo 機器上安裝 Google Chrome。但是emerge拋出了一些超出我想像的錯誤。我真的不知道問題是什麼。

!!! Multiple package instances within a single package slot have been pulled
!!! into the dependency graph, resulting in a slot conflict:

dev-libs/glib:2

 (dev-libs/glib-2.32.4-r1::gentoo, installed) pulled in by
   <dev-libs/glib-2.33:2 required by (dev-libs/gobject-introspection-1.32.1::gentoo, installed)

 (dev-libs/glib-2.36.4-r1::gentoo, ebuild scheduled for merge) pulled in by
   >=dev-libs/glib-2.34.0:2 required by (x11-libs/gdk-pixbuf-2.28.2::gentoo, ebuild scheduled for merge)
   (and 2 more with the same problem)

media-libs/fontconfig:1.0

 (media-libs/fontconfig-2.8.0-r1::gentoo, installed) pulled in by
   (no parents that aren't satisfied by other packages in this slot)

 (media-libs/fontconfig-2.10.92::gentoo, ebuild scheduled for merge) pulled in by
   >=media-libs/fontconfig-2.10.91:1.0= required by (x11-libs/pango-1.34.1::gentoo, ebuild scheduled for merge)

我已經按照輸出中的建議嘗試了--backtrack=30and--autounmask-write選項,但輸出沒有區別。

我只需要知道問題出在哪裡,就可以找到解決方案。任何幫助是極大的讚賞。

這是由於系統過時造成的。所以更新它解決了這個問題: emerge --update --deep --with-bdeps=y --newuse @world

根據有關故障排除的 Gentoo wiki 頁面,大多數此類情況都可以通過出現最新的軟體包來解決,例如,

emerge --ask --oneshot package-name

引用自:https://unix.stackexchange.com/questions/116001