LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 2452|回复: 6

[已解决]cairo的“slot conflict”问题导致无法升级

[复制链接]
发表于 2009-5-25 22:21:20 | 显示全部楼层 |阅读模式
大家好,这几天我用“emerge --update --newuse --deep world”升级时总是提示如下的内容,在网上找了也不知道怎么解决,麻烦大家帮忙看看,后面是一些相关的信息,谢谢了:

  1. Calculating dependencies... done!
  2. [ebuild     U ] dev-db/sqlite-3.6.13 [3.6.12]
  3. [ebuild     U ] net-dns/openresolv-3.1.1 [2.0]
  4. [ebuild     U ] dev-libs/libmcrypt-2.5.8-r1 [2.5.8]
  5. [ebuild     U ] dev-java/java-config-wrapper-0.16 [0.15]
  6. [ebuild  NS   ] sys-libs/db-4.6.21_p4 [4.5.20_p2-r1] USE="-doc -java -nocxx -tcl -test"
  7. [ebuild   R   ] x11-libs/libXft-2.1.12  USE="(-newspr%)"
  8. [ebuild     U ] dev-libs/libusb-0.1.12-r5 [0.1.12-r1] USE="-nocxx%"
  9. [ebuild     UD] x11-libs/cairo-1.6.4-r1 [1.8.6-r1] USE="newspr%* -svg* -test%"
  10. [ebuild     U ] x11-base/xorg-server-1.5.3-r6 [1.5.3-r5]
  11. [ebuild   R   ] app-text/ghostscript-gpl-8.64-r3  USE="cairo*"
  12. [ebuild   R   ] media-libs/gegl-0.0.22  USE="cairo*"

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

  15. x11-libs/cairo:0

  16.   ('ebuild', '/', 'x11-libs/cairo-1.6.4-r1', 'merge') pulled in by
  17.     >=x11-libs/cairo-1.2 required by ('installed', '/', 'gnome-base/librsvg-2.22.3', 'nomerge')
  18.     >=x11-libs/cairo-1.2.4 required by ('installed', '/', 'media-sound/audacious-1.5.1-r1', 'nomerge')
  19.     x11-libs/cairo required by world
  20.     (and 11 more)

  21.   ('installed', '/', 'x11-libs/cairo-1.8.6-r1', 'nomerge') pulled in by
  22.     >=x11-libs/cairo-1.7.6 required by ('installed', '/', 'x11-libs/pango-1.22.4', 'nomerge')
  23.     >=x11-libs/cairo-1.8.2 required by ('installed', '/', 'dev-python/pycairo-1.8.2', 'nomerge')
  24.     >=x11-libs/cairo-1.2[svg] required by ('installed', '/', 'x11-libs/goffice-0.6.6', 'nomerge')
  25.     (and 14 more)


  26. It may be possible to solve this problem by using package.mask to
  27. prevent one of those packages from being selected. However, it is also
  28. possible that conflicting dependencies exist such that they are
  29. impossible to satisfy simultaneously. If such a conflict exists in the
  30. dependencies of two different packages, then those packages can not be
  31. installed simultaneously.

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


  34. !!! The following installed packages are masked:
  35. - media-video/realplayer-11.0.0.4028-r1 (masked by: package.mask)
  36. /usr/portage/profiles/package.mask:
  37. # Steve Dibb <beandog@gentoo.org> (5 Nov 2008)
  38. # Mask realplayer, real codecs for security, upstream issues, bug 245662
  39. # http://forums.gentoo.org/viewtopic-t-713051.html

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

复制代码


emerge --info


  1. Portage 2.1.6.11 (default/linux/x86/2008.0, gcc-4.3.2, glibc-2.8_p20080602-r1, 2.6.28-gentoo-r5 i686)
  2. =================================================================
  3. System uname: Linux-2.6.28-gentoo-r5-i686-Intel-R-_Celeron-R-_M_processor_1.50GHz-with-glibc2.0
  4. Timestamp of tree: Mon, 25 May 2009 12:20:01 +0000
  5. ccache version 2.4 [enabled]
  6. app-shells/bash:     3.2_p39
  7. dev-java/java-config: 2.1.7
  8. dev-lang/python:     2.5.4-r2
  9. dev-util/ccache:     2.4-r7
  10. sys-apps/baselayout: 1.12.11.1
  11. sys-apps/sandbox:    1.6-r2
  12. sys-devel/autoconf:  2.13, 2.63
  13. sys-devel/automake:  1.5, 1.9.6-r2, 1.10.2
  14. sys-devel/binutils:  2.18-r3
  15. sys-devel/gcc-config: 1.4.1
  16. sys-devel/libtool:   1.5.26
  17. virtual/os-headers:  2.6.27-r2
  18. ACCEPT_KEYWORDS="x86"
  19. CBUILD="i686-pc-linux-gnu"
  20. CFLAGS="-O2 -march=i686 -pipe"
  21. CHOST="i686-pc-linux-gnu"
  22. CONFIG_PROTECT="/etc"
  23. CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c /etc/udev/rules.d"
  24. CXXFLAGS="-O2 -march=i686 -pipe"
  25. DISTDIR="/usr/portage/distfiles"
  26. FEATURES="ccache distlocks fixpackages parallel-fetch protect-owned sandbox sfperms strict unmerge-orphans userfetch"
  27. GENTOO_MIRRORS="ftp://ftp3.tsinghua.edu.cn/mirror/gentoo/ ftp://gentoo.anheng.com.cn/gentoo/  ftp://ftp.linuxforum.net/gentoo http://mirror.uni-c.dk/pub/gentoo/  http://mirror.gentoo.gr.jp/  http://mirrors.acm.cs.rpi.edu/gentoo/  ftp://ftp.ecc.u-tokyo.ac.jp/GENTOO ftp://ftp.twaren.net/Linux/Gentoo/  ftp://ftp.ecc.u-tokyo.ac.jp/GENTOO/"
  28. LANG="en_US.UTF-8"
  29. LDFLAGS="-Wl,-O1"
  30. MAKEOPTS="-j2"
  31. PKGDIR="/usr/portage/packages"
  32. PORTAGE_CONFIGROOT="/"
  33. PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
  34. PORTAGE_TMPDIR="/var/tmp"
  35. PORTDIR="/usr/portage"
  36. PORTDIR_OVERLAY="/usr/local/portage/layman/gentoo-china /usr/local/portage/layman/gnome"
  37. SYNC="rsync://mirror.averse.net/gentoo-portage"
  38. USE="X acl alsa berkdb bzip2 cli cracklib crypt cups dbus dri fortran gdbm gpm hal iconv ipv6 isdnlog jpeg midi mudflap ncurses nls nptl nptlonly openmp pam pcre perl pppd python readline reflection session spl ssl sysfs tcpd unicode x86 xorg xscreensaver zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" USERLAND="GNU" VIDEO_CARDS="intel"
  39. Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LC_ALL, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
复制代码



/etc/make.conf

  1. # These settings were set by the catalyst build script that automatically
  2. # built this stage.
  3. # Please consult /etc/make.conf.example for a more detailed example.
  4. CFLAGS="-O2 -march=i686 -pipe"
  5. CXXFLAGS="${CFLAGS}"
  6. # WARNING: Changing your CHOST is not something that should be done lightly.
  7. # Please consult http://www.gentoo.org/doc/en/change-chost.xml before changing.
  8. CHOST="i686-pc-linux-gnu"
  9. MAKEOPTS="-j2"
  10. USE="-qt3 -qt4 -arts -kde X dbus -gnome hal alsa jpeg xscreensaver ipv6"
  11. FEATURES="ccache parallel-fetch"
  12. CCACHE_SIZE="2G"
  13. #INPUT_DEVICES="keyboard mouse synaptics"
  14. INPUT_DEVICES="evdev"
  15. VIDEO_CARDS="intel"
  16. PORTAGE_IONICE_COMMAND="ionice -c 3 -p \${PID}"

  17. #SYNC="rsync://trumpetti.ip6.atm.tut.fi/gentoo-portage/"
  18. SYNC="rsync://mirror.averse.net/gentoo-portage"
  19. #SYNC="rsync://64.127.121.98/gentoo-portage"
  20. GENTOO_MIRRORS="ftp://ftp3.tsinghua.edu.cn/mirror/gentoo/
  21. ftp://gentoo.anheng.com.cn/gentoo/
  22. ftp://ftp.linuxforum.net/gentoo http://mirror.uni-c.dk/pub/gentoo/
  23. http://mirror.gentoo.gr.jp/  http://mirrors.acm.cs.rpi.edu/gentoo/
  24. ftp://ftp.ecc.u-tokyo.ac.jp/GENTOO ftp://ftp.twaren.net/Linux/Gentoo/
  25. ftp://ftp.ecc.u-tokyo.ac.jp/GENTOO/"

  26. #GENTOO_MIRRORS="ftp://gentoo.anheng.com.cn/gentoo http://mirror.averse.net/pub/gentoo/"
  27. #SYNC="rsync://mirror.averse.net/gentoo-portage"

  28. source /usr/local/portage/layman/make.conf
复制代码


/etc/portage/package.use

  1. app-text/acroread nsplugin
  2. net-im/pidgin qq gstreamer
  3. media-gfx/gimp jpeg bmp png tiff jpg gif wmf
  4. media-video/mplayer -X acc aac real avi win32codecs srt wmv live jpeg 3dfx oggvorbis 3dnow aalib xv opengl truetype dvd wma quicktime fbcon directfb ipv6
  5. net-irc/irssi perl
  6. media-libs/gd jpeg png bmp tiff jpg
  7. app-emacs/auctex preview-latex
  8. media-gfx/ristretto jpeg png bmp tiff jpg gif wmf
  9. media-gfx/scrot png bmp jpeg jpg
  10. media-libs/imlib2 png bmp jpeg jpg tiff gif raw wmf
  11. x11-libs/libXft nwspr
  12. www-plugins/mplayerplug-in quicktime wmp realmedia gtk xulrunner divx
  13. app-text/poppler-bindings cairo gtk
  14. net-p2p/amule gtk
  15. media-gfx/blender png player
  16. www-client/mozilla-firefox ipv6 xulrunner
  17. media-sound/audacious chardet
  18. media-plugins/audacious-plugins mp3
  19. #xfce-base/xfwm4 xcomposite
  20. app-editors/emacs-cvs gtk
  21. app-i18n/scim X11 gtk
  22. virtual/poppler-glib cairo
  23. www-client/w3m imlib fbcon
  24. app-office/gnucash chipcard ofx
  25. x11-libs/goffice gnome
  26. app-crypt/pinentry gtk
  27. gnome-extra/libgsf gnome
  28. x11-libs/cairo svg
  29. sci-mathematics/scilab Xaw3d gtk java
  30. dev-lang/python sqlite tk
  31. xfce-base/xfce-utils lock
  32. net-p2p/amule daemon geoip upnp
  33. www-client/elinks X ftp ipv6 javascript ssl unicode zlib
  34. dev-lang/php apache2 cjk mysql mysqli xml gd
  35. mail-client/mutt nntp pop smtp
  36. media-gfx/fbida fbcon gif pdf png tiff
复制代码
发表于 2009-5-26 00:55:08 | 显示全部楼层
你是不是用非官方portage?用了overlay。
我最近遇到了,这个是overlay和官方的portage交接不同步。最近overlay有点问题。版本不同步,overlay里边把一个版本给去掉了,这个时候意味着应该出现在官方版本的~arch里边了,但是其实没有出现,于是就出现你上面的问题了。耐心等官方同步,或者自己把overlay给去掉。然后就可以升级了,但是你会发现有几个package要降级。
回复 支持 反对

使用道具 举报

 楼主| 发表于 2009-5-26 11:54:23 | 显示全部楼层
谢谢blackwhite的回复,呵呵,是用了gentoo-china,这个问题困扰了我好多天了,尝试在cairo和libXft中加入newspr的IUSE也不行,那我还是内心等待官方的同步吧,呵呵。
回复 支持 反对

使用道具 举报

发表于 2009-5-26 15:39:43 | 显示全部楼层
感觉是gentoo-china中cairo和libXft的KEYWORDS设置有问题。
回复 支持 反对

使用道具 举报

 楼主| 发表于 2009-5-26 21:32:19 | 显示全部楼层
谢谢zhoukb,根据你的提示以及用关键词
  1. x11-libs/libXft-2.1.12  USE="(-newspr%)"
  2. x11-libs/cairo-1.6.4-r1 [1.8.6-r1] USE="newspr%* -svg* -test%"
复制代码
搜索到
  1. http://www.linuxsir.cn/bbs/lastpostinthread342581.html
复制代码
现在解决了,真是太好了。

解决方法:
在keywords里面加入cairo以及在cairo和libXft的USE中加入"-newspr"就好了,现在正在升级。

但想请教一下你是怎么看出来的,还有就是USE="newspr%* -svg* -test%"中的“%”和“*”分别代表什么意思啊,谢谢了。
回复 支持 反对

使用道具 举报

发表于 2009-5-26 21:45:29 | 显示全部楼层
Post by kelvinxyz;1991098
谢谢blackwhite的回复,呵呵,是用了gentoo-china,这个问题困扰了我好多天了,尝试在cairo和libXft中加入newspr的IUSE也不行,那我还是内心等待官方的同步吧,呵呵。

你用的是gentoo-china,我说的是x11 overlay,不好意思了。
回复 支持 反对

使用道具 举报

 楼主| 发表于 2009-5-26 21:52:05 | 显示全部楼层
blackwhite,还是谢谢你的热情帮助,呵呵,看到我们新手碰到问题你们能这么热心的回答就很满足了,但可能没有完全相同的两个系统,而且前面我没提供gentoo-china的信息,所以问题总是有差别的,而且可能我的问题描述也不是太清楚,呵呵。
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表