LinuxSir.cn,穿越时空的Linuxsir!

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

Portage让我越来越疑惑。。。

[复制链接]
发表于 2006-2-14 15:15:25 | 显示全部楼层 |阅读模式
  1. # emerge -upv world

  2. These are the packages that I would merge, in order:

  3. Calculating world dependencies ...done!
  4. [ebuild     U ] sys-apps/man-1.6c [1.6b-r2] USE="nls" 239 kB
  5. [ebuild     U ] sys-apps/man-pages-2.23 [2.20] USE="nls" 1,708 kB
  6. [ebuild     U ] sys-apps/grep-2.5.1a [2.5.1-r9] USE="nls -build -static" 515 kB
  7. [ebuild     U ] dev-libs/glib-2.8.6 [2.8.5] USE="-debug -doc -hardened" 2,628 kB
  8. [ebuild  N    ] virtual/libintl-0  0 kB
  9. [ebuild     U ] sys-apps/sed-4.1.4-r1 [4.1.4] USE="nls -bootstrap -build -static" 775 kB
  10. [ebuild     U ] x11-libs/pango-1.10.3 [1.10.2] USE="-debug -doc" 1,157 kB
  11. [ebuild     U ] x11-libs/gtk+-2.8.12 [2.8.10] USE="jpeg tiff -debug -doc -xinerama%" 11,722 kB
  12. [ebuild     U ] app-shells/bash-3.1_p7 [3.1_p5] USE="nls unicode -afs -bashlogger -build" 4 kB
  13. [ebuild     U ] sys-libs/readline-5.1_p2 [5.1-r2] 1,983 kB
  14. [ebuild     U ] dev-lang/python-2.4.2-r1 [2.4.2] USE="X berkdb gdbm ipv6 ncurses readline ssl -bootstrap -build -doc -nocxx -tcltk -ucs2" 7,669 kB
  15. [ebuild     U ] dev-libs/libxml2-2.6.23-r1 [2.6.23] USE="ipv6 python readline -debug -doc -test%" 0 kB
  16. [ebuild     U ] sys-devel/flex-2.5.31-r2 [2.5.4a-r6] USE="nls% -build -static" 871 kB
  17. [ebuild     U ] sys-devel/libperl-5.8.8 [5.8.7] USE="berkdb gdbm -debug -ithreads" 9,886 kB
  18. [ebuild     U ] dev-lang/perl-5.8.8 [5.8.7-r3] USE="berkdb gdbm -build -debug -doc -ithreads -perlsuid" 0 kB
  19. [ebuild     U ] sys-libs/pam-0.78-r4 [0.78-r3] USE="berkdb -nis -pam_chroot -pam_console -pam_timestamp -pwdb" 6,345 kB
  20. [ebuild     U ] x11-misc/xscreensaver-4.24 [4.23] USE="gnome jpeg nls opengl pam -insecure-savers -kerberos -krb4 -new-login -offensive -xinerama" 4,821 kB
  21. [ebuild     U ] dev-perl/Pod-Simple-3.03 [3.02] USE="-minimal%" 247 kB
  22. [ebuild     U ] dev-util/intltool-0.34.2 [0.34.1] 125 kB
  23. [ebuild     U ] gnome-base/libgnomeui-2.12.1 [2.12.0] USE="jpeg -debug -doc -static" 1,808 kB
  24. [ebuild     U ] x11-themes/gtk-engines-2.6.7 [2.6.6] USE="-accessibility -debug" 468 kB
  25. [ebuild     U ] x11-themes/gnome-themes-2.12.3 [2.12.1] USE="-accessibility -debug" 2,513 kB
  26. [ebuild     U ] gnome-extra/gnome-games-2.12.3 [2.12.2] USE="howl -artworkextra -debug -guile" 4,816 kB
  27. [ebuild     U ] sys-apps/coreutils-5.93 [5.3.0-r2] USE="nls -acl -build -static" 4,841 kB
  28. [ebuild     U ] sys-apps/sysvinit-2.86-r4 [2.86-r3] USE="-bootstrap -build -ibm -static" 100 kB
  29. [ebuild     U ] sys-apps/baselayout-1.12.0_pre15-r1 [1.12.0_pre13-r1] USE="unicode -bootstrap -build -static" 208 kB
  30. [ebuild     U ] sys-fs/udev-084 [079] 186 kB
  31. [ebuild     U ] dev-perl/IO-String-1.08 [1.07] USE="-minimal%" 7 kB
  32. [ebuild     U ] sys-apps/texinfo-4.8-r3 [4.8-r2] USE="nls -build -static" 1,486 kB
  33. [ebuild     U ] net-ftp/gftp-2.0.18-r4 [2.0.18-r3] USE="gtk ssl" 1,342 kB
  34. [ebuild     U ] net-misc/openssh-4.3_p1 [4.2_p1] USE="chroot hpn ipv6 pam tcpd -X509 -kerberos -ldap -libedit -sftplogging -skey -smartcard -static" 929 kB
  35. [ebuild     U ] dev-perl/glib-perl-1.102 [1.101] USE="xml -minimal%" 219 kB
  36. [ebuild     U ] app-editors/nano-1.3.10-r1 [1.3.10] USE="ncurses nls spell unicode -build -debug -justify -minimal -slang" 1,139 kB
  37. [color=red][ebuild  NS   ] sys-kernel/gentoo-sources-2.4.32-r2  USE="symlink -build -doc" 31,288 kB[/color]
  38. [ebuild     U ] app-text/ghostscript-esp-8.15.1 [7.07.1-r10] USE="X cjk gtk xml% -cups -emacs -threads%" 12,452 kB
  39. [ebuild     U ] app-text/poppler-0.5.0-r5 [0.4.3-r4] USE="cairo jpeg" 913 kB
  40. [ebuild     U ] sys-apps/dbus-0.60-r4 [0.60-r3] USE="X gtk python xml2 -debug -doc -gcj -mono -qt" 0 kB
  41. [ebuild     U ] app-i18n/scim-1.4.4 [1.4.3] USE="gtk -doc% -immqt -immqt-bc" 2,548 kB
  42. [color=red][ebuild  NS   ] sys-devel/gcc-3.4.5  USE="fortran gtk nls objc -bootstrap -boundschecking -build -gcj -hardened -ip28 -multislot -nocxx -nopie -nossp -vanilla" 27,703 kB[/color]
  43. [ebuild     U ] sys-apps/busybox-1.1.0 [1.01] USE="-debug -floppyboot -make-symlinks -netboot -savedconfig -static" 1,375 kB
  44. [ebuild     U ] gnome-extra/nautilus-cd-burner-2.12.3 [2.12.2] USE="cdr hal -debug -dvdr -static" 600 kB
  45. [ebuild     U ] gnome-base/gnome-desktop-2.12.3 [2.12.2] USE="-debug" 1,011 kB
  46. [ebuild     U ] x11-libs/libwnck-2.12.3 [2.12.2] USE="-debug -doc" 433 kB
  47. [ebuild     U ] gnome-base/orbit-2.12.5 [2.12.4] USE="ssl -debug -doc -static" 669 kB
  48. [ebuild     U ] gnome-base/gnome-panel-2.12.3 [2.12.2] USE="eds -debug -doc" 2,406 kB
  49. [ebuild     U ] x11-wm/metacity-2.12.3 [2.12.2] USE="-debug -xinerama" 1,633 kB
  50. [ebuild     U ] media-sound/alsa-headers-1.0.11_rc3 [1.0.11_rc2] 2,261 kB
  51. [ebuild     U ] media-libs/alsa-lib-1.0.11_rc3 [1.0.11_rc2] USE="-doc -jack" 686 kB
  52. [ebuild     U ] gnome-base/control-center-2.12.3 [2.12.2-r1] USE="alsa eds gstreamer -debug" 1,745 kB
  53. [ebuild     U ] net-misc/dhcpcd-2.0.1 [2.0.0] USE="-build -debug -static" 119 kB
  54. [ebuild     U ] app-arch/file-roller-2.12.3 [2.12.2] USE="-debug" 914 kB
  55. [ebuild  N    ] sys-power/powermgmt-base-1.22  10 kB
  56. [ebuild     U ] sys-apps/apmd-3.2.2_p5 [3.2.1_p4] USE="X nls" 98 kB
  57. [ebuild     U ] app-text/docbook-xml-dtd-4.3-r1 [4.3] 81 kB
  58. [ebuild     U ] app-admin/system-tools-backends-1.4.2 [1.4.1] USE="-debug" 692 kB
  59. [ebuild     U ] gnome-base/gnome-applets-2.12.3 [2.12.2] USE="acpi apm hal ipv6 -debug" 5,386 kB
  60. [ebuild     U ] dev-python/pygtk-2.8.4 [2.8.2] USE="opengl -doc" 735 kB
  61. [ebuild     U ] dev-python/gnome-python-2.12.3 [2.12.1] USE="gtkhtml -debug -doc" 367 kB
  62. [ebuild     U ] dev-libs/nspr-4.6.1-r2 [4.4.1-r2] USE="ipv6%" 1,301 kB
  63. [ebuild     U ] dev-libs/nss-3.11-r1 [3.9.2-r3] 4,885 kB
  64. [ebuild     U ] www-client/mozilla-firefox-1.5.0.1-r1 [1.5-r9] USE="gnome ipv6 -debug -java -mozdevelop -xinerama -xprint" 33,924 kB
  65. [ebuild     U ] www-client/epiphany-1.8.4.1 [1.8.3] USE="dbus firefox python -debug -doc" 3,281 kB
  66. [ebuild     U ] x11-themes/gnome-backgrounds-2.12.3.1 [2.12.2] USE="-debug" 1,750 kB
  67. [ebuild     U ] media-gfx/eog-2.12.3 [2.12.2] USE="jpeg lcms -debug" 782 kB
  68. [ebuild     U ] app-text/poppler-bindings-0.5.0 [0.4.3-r2] USE="cairo gtk -qt" 0 kB
  69. [ebuild     U ] app-text/evince-0.5.0 [0.4.0-r3] USE="dbus tiff -debug -djvu% -doc -dvi -nautilus -t1lib" 1,090 kB
  70. [ebuild     U ] x11-libs/vte-0.11.18 [0.11.16-r1] USE="python -debug -doc" 929 kB
  71. [ebuild     U ] gnome-extra/gnome-system-monitor-2.12.2 [2.12.1] USE="-debug" 767 kB
  72. [ebuild     U ] gnome-base/gnome-2.12.3 [2.12.1] USE="cdr hal -accessibility -dvdr" 0 kB
  73. [ebuild     U ] app-misc/pax-utils-0.1.9 [0.1.7] USE="caps" 49 kB
  74. [ebuild     U ] sys-devel/gdb-6.4-r2 [6.4-r1] USE="nls -test -vanilla" 13,597 kB
  75. [ebuild     U ] dev-perl/HTML-Parser-3.48 [3.46] USE="unicode -minimal%" 80 kB
  76. [ebuild  N    ] dev-perl/Spiffy-0.29  USE="-minimal" 27 kB
  77. [ebuild  N    ] dev-perl/Test-Base-0.47  USE="-minimal" 41 kB
  78. [ebuild  N    ] dev-perl/Class-Spiffy-0.12  USE="-minimal" 24 kB
  79. [ebuild     U ] dev-perl/yaml-0.53 [0.39] USE="-minimal%" 67 kB
  80. [ebuild     U ] dev-perl/gtk2-perl-1.102 [1.101] USE="-minimal%" 591 kB
  81. [ebuild     U ] app-crypt/hashalot-0.3-r2 [0.3-r1] 78 kB
  82. [ebuild     U ] dev-perl/Archive-Tar-1.28 [1.26] USE="-minimal%" 35 kB
  83. [ebuild     U ] perl-core/MIME-Base64-3.07 [3.05] USE="-minimal%" 15 kB
  84. [ebuild     U ] app-arch/bzip2-1.0.3-r6 [1.0.3-r5] USE="-build -static" 653 kB
  85. [ebuild     U ] media-video/nvidia-kernel-1.0.8178-r3 [1.0.8178-r2] 0 kB
  86. [ebuild     U ] media-video/nvidia-settings-1.0.20051122-r3 [1.0.20051122-r2] 1,065 kB
  87. [ebuild     U ] sys-apps/util-linux-2.12r-r3 [2.12r-r2] USE="crypt nls pam perl -old-crypt -static" 1,503 kB
  88. [ebuild     U ] x11-themes/hicolor-icon-theme-0.9 [0.8] 31 kB
  89. [ebuild     U ] dev-perl/Net-DNS-0.55 [0.53-r1] USE="ipv6 -minimal%" 123 kB
  90. [ebuild     U ] perl-core/digest-base-1.14 [1.13] USE="-minimal%" 7 kB
  91. [ebuild     U ] dev-perl/Digest-SHA1-2.11 [2.10] USE="-minimal%" 37 kB
  92. [ebuild     U ] media-libs/svgalib-1.9.24 [1.9.23] USE="-build -no-helper" 963 kB
  93. [ebuild     U ] sys-apps/eject-2.1.0-r1 [2.1.0] USE="nls" 65 kB
  94. [ebuild     U ] x11-terms/xterm-208 [207] USE="truetype unicode -Xaw3d -doc -toolbar" 732 kB
  95. [ebuild     U ] media-gfx/imagemagick-6.2.6.0 [6.2.5.5] USE="X bzip2 jpeg lcms mpeg perl png tiff truetype wmf xml2 zlib -doc -fpx -graphviz -gs -jbig -minimal% -nocxx" 5,018 kB
  96. [ebuild     U ] sys-libs/timezone-data-2006a [2005r] 322 kB

  97. Total size of downloads: 240,755 kB
复制代码

我要升级吗,怎么会出来这两个,难道有组件需要这gcc3.4和sources2.4吗?
我现在可是用gcc4.0.1和sources2.6,就算有个gcc3.3,但是和gcc3.4不在同一slot,我不指明,为啥要给我装,我还自定义不了:一旦mask,就出警告。。。-_-b
gentoo的升级和portage的slot技术越来越让我感到由衷的疑惑了,甚至它们有些让我感觉不太自在。。帮帮我
发表于 2006-2-14 15:51:31 | 显示全部楼层
2.4.32不应该--除非你以前emerge过老的2.4 sources没有删。
回复 支持 反对

使用道具 举报

 楼主| 发表于 2006-2-14 15:54:00 | 显示全部楼层
fei兄,我可以绝对保证:打俺这个gentoo装好以来,一次都未曾merge过gentoo-sources-2.4系列。。。

另外,照你的说法,为什么有gcc-3.4.5是正常的呢?
回复 支持 反对

使用道具 举报

发表于 2006-2-14 15:57:35 | 显示全部楼层
ACCEPT_KEYWORDS=~x86,
否则gcc3.4实在world里面的。或者是别的软件要求libstdc++的gcc3.4版本。
我现在系统是不要求升级gcc3的了,只升级gcc4.1了。
回复 支持 反对

使用道具 举报

发表于 2006-2-14 15:58:55 | 显示全部楼层
试试
# echo 'sys-kernel/gentoo-sources-2.4.32-r2
sys-devel/gcc-3.4.5'>> /etc/portage/profile/package.provided
你现在系统用什么kernel,还有你之前怎么装gcc-4.0.1的?
回复 支持 反对

使用道具 举报

 楼主| 发表于 2006-2-14 16:09:31 | 显示全部楼层
younker兄,ACCEPT_KEYWORDS=~x86我是放在make.conf中的,所以我的系统是完全的unstable版

torres兄,很遗憾,写package.provided无效。
我先在的内核是2.6.14-gentoo-r3,装gcc-4.0.1就直接merge咯,如果碰到mask的包就unmask,然后gcc-config切换到gcc-4.0.1最后再 revdep-rebuild --library libstdc++.so.5,这几步都很顺利。

顺带问一下,我没把gcc-3.3.6给unmerge,有必要merge库libstdc++-v3吗?:ask

附上以下内容——
  1. # pwd
  2. /etc/portage

  3. # ls
  4. package.keywords  package.mask  package.unmask  sets

  5. # cat package.keywords
  6. =sys-devel/gcc-4.0.1 -*
  7. =sys-libs/glibc-2.3.6-r1 -*

  8. # cat package.mask
  9. >sys-kernel/gentoo-sources-2.6.14-r3

  10. # cat package.unmask
  11. www-client/prozilla
复制代码


[color="Red"]Lastest Update!
我想我找到答案了,各位。
为什么会有sources2.4的出现呢?因为从上面的package.mask中看,我把gentoo-sources-2.6.14-r3以上的2.6的源码给mask了,而一旦我撤销这句,升级清单中的sources2.4.32立马变成sources2.6.15,我只能猜测:alsa-lib-1.0.11_rc3或者nvidia-kernel-1.0.8178-r3之类的需要2.6.15以上的sources。。。具体细节我不知道……

为什么会有gcc3.4.5的出现呢?因为,还是从上面的package.keywords中看,我接受了gcc4.0.1的~*关键字,而gcc4.0.1的ebuild早就从portage中del了,一旦换成“=sys-devel/gcc-4.0.2-r3 -*”,清单中gcc3.4.5也被gcc4.0.2代替。。

至于这其中更为微妙的因果关系,我不知道。也许是gentoo的特质,也许只是一点逻辑上的转弯而导致我的思维混乱……但有一点:我真是个大菜鸟!唉……

以后吸取教训,未必不是坏事儿。。。
回复 支持 反对

使用道具 举报

发表于 2006-2-14 17:41:00 | 显示全部楼层
还有就是最好不要为了求新改太多配置--我个人觉得不用x86最多就用~x86--不要太求新了---:)
回复 支持 反对

使用道具 举报

发表于 2006-2-14 17:56:03 | 显示全部楼层
nod~ 最近新装了一个2005.1, 全部用x86的, 感觉不错~~
不过要装很多软件才能达到现在系统的可用性,所以暂时作为备用`
回复 支持 反对

使用道具 举报

 楼主| 发表于 2006-2-14 19:49:06 | 显示全部楼层
因为Gentoo中一个~x86的包进入x86实在花费漫长时间(对我来说是这种感觉),又不想把package.keywords弄得臃肿反而不便管理,就干脆~x86进make.conf了。其实~*的东西我就gcc4.*而已。
回复 支持 反对

使用道具 举报

发表于 2006-2-14 22:34:07 | 显示全部楼层
使用emerge -tuNDpv world查看包关联,看看那些包需要gcc3.4和source2.4。
回复 支持 反对

使用道具 举报

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

本版积分规则

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