LinuxSir.cn,穿越时空的Linuxsir!

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

在/etc/portage/package.keywords里设置的x86好象不起作用

[复制链接]
发表于 2005-5-2 11:42:35 | 显示全部楼层 |阅读模式
我的/etc/make.conf里
ACCEPT_KEYWORDS="~x86"
我想emerge system时使用的是x86,所以我就装emerge -epv system打出来的软件包放到/etc/portage/package.keywords里
  1. nathaniel@gkmobile portage $ cat package.keywords
  2. sys-devel/gcc ~x86
  3. sys-devel/gcc-config ~x86
  4. sys-libs/libstdc++-v3 ~x86
  5. sys-libs/glibc ~x86

  6. #emerge system using x86
  7. sys-devel/patch x86
  8. sys-devel/gnuconfig x86
  9. sys-libs/gpm x86
  10. sys-libs/ncurses x86
  11. app-shells/bash x86
  12. sys-devel/binutils-config x86
  13. sys-devel/gettext x86
  14. sys-devel/binutils x86
  15. sys-devel/m4 x86
  16. sys-devel/bison x86
  17. sys-apps/sed x86
  18. sys-libs/zlib x86
  19. dev-python/python-fchksum x86
  20. sys-apps/debianutils x86
  21. sys-libs/readline x86
  22. dev-java/java-config x86
  23. dev-java/blackdown-jdk x86
  24. sys-libs/db x86
  25. sys-libs/gdbm x86
  26. sys-devel/flex x86
  27. sys-devel/bc x86
  28. sys-apps/diffutils x86
  29. sys-apps/texinfo x86
  30. sys-apps/groff x86
  31. sys-process/cronbase x86
  32. sys-apps/man x86
  33. sys-devel/libperl x86
  34. dev-lang/perl x86
  35. dev-libs/openssl x86
  36. dev-libs/expat x86
  37. dev-lang/python x86
  38. sys-apps/portage x86
  39. #sys-devel/gcc-config x86
  40. #sys-devel/gcc x86
  41. #sys-libs/libstdc++-v3 x86
  42. sys-kernel/linux-headers x86
  43. #sys-libs/glibc x86
  44. app-arch/bzip2 x86
  45. app-arch/cpio x86
  46. app-arch/gzip x86
  47. app-arch/ncompress x86
  48. app-arch/tar x86
  49. app-shells/sash x86
  50. sys-devel/autoconf x86
  51. sys-devel/autoconf-wrapper x86
  52. sys-devel/autoconf x86
  53. net-misc/iputils x86
  54. dev-libs/popt x86
  55. sys-devel/automake x86
  56. sys-devel/automake x86
  57. sys-devel/automake x86
  58. sys-devel/automake x86
  59. sys-devel/automake x86
  60. sys-devel/automake-wrapper x86
  61. sys-devel/automake x86
  62. sys-devel/libtool x86
  63. sys-apps/attr x86
  64. sys-apps/acl x86
  65. net-misc/rsync x86
  66. net-misc/wget x86
  67. sys-apps/gawk x86
  68. dev-libs/glib x86
  69. sys-apps/miscfiles x86
  70. sys-libs/cracklib x86
  71. sys-libs/pam x86
  72. sys-apps/pam-login x86
  73. sys-fs/e2fsprogs x86
  74. dev-libs/libpcre x86
  75. sys-apps/grep x86
  76. app-crypt/hashalot x86
  77. sys-apps/util-linux x86
  78. sys-apps/baselayout x86
  79. dev-perl/Locale-gettext x86
  80. sys-apps/help2man x86
  81. sys-apps/coreutils x86
  82. sys-apps/file x86
  83. sys-apps/findutils x86
  84. sys-apps/kbd x86
  85. sys-apps/less x86
  86. sys-apps/man-pages x86
  87. sys-apps/net-tools x86
  88. sys-process/procps x86
  89. sys-process/psmisc x86
  90. app-admin/skey x86
  91. sys-apps/shadow x86
  92. sys-apps/which x86
  93. sys-devel/make x86
  94. sys-apps/hotplug-base x86
  95. sys-fs/udev x86
  96. app-editors/nano x86
  97. sys-apps/module-init-tools x86
  98. sys-apps/tcp-wrappers x86
  99. net-misc/openssh x86
  100. sys-libs/pwdb x86
  101. sys-apps/hdparm x86
复制代码


我开始改了/etc/make.conf,把ACCEPT_KEYWORDS="~x86"去掉,然后
emerge system了,之后我就把ACCEPT_KEYWORDS="~x86"放回/etc/make.conf里再来看看emerge system -pv是怎样的(这时应该没有什么可以升级的啦,因为我已经装system里的软件包的x86放到/etc/portage/package.keywords里啦,但是结果不是我想的那样)

  1. nathaniel@gkmobile portage $ emerge info
  2. Portage 2.0.51.19 (default-linux/x86/2005.0, gcc-3.4.3-20050110, glibc-2.3.5-r0, 2.6.11-gentoo-r6 i686)
  3. =================================================================
  4. System uname: 2.6.11-gentoo-r6 i686 Intel(R) Pentium(R) M processor 1.60GHz
  5. Gentoo Base System version 1.4.16
  6. Python:              dev-lang/python-2.3.5 [2.3.5 (#1, May  2 2005, 08:33:03)]
  7. ccache version 2.4 [enabled]
  8. dev-lang/python:     2.3.5
  9. sys-apps/sandbox:    [Not Present]
  10. sys-devel/autoconf:  2.59-r6, 2.13
  11. sys-devel/automake:  1.7.9-r1, 1.8.5-r3, 1.5, 1.4_p6, 1.6.3, 1.9.4
  12. sys-devel/binutils:  2.15.92.0.2-r7
  13. sys-devel/libtool:   1.5.16
  14. virtual/os-headers:  2.6.8.1-r2
  15. ACCEPT_KEYWORDS="x86 ~x86"
  16. AUTOCLEAN="yes"
  17. CFLAGS="-O2 -march=pentium3 -fomit-frame-pointer -pipe"
  18. CHOST="i686-pc-linux-gnu"
  19. CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/share/config /var/bind /var/qmail/control"
  20. CONFIG_PROTECT_MASK="/etc/gconf /etc/init.d /etc/terminfo /etc/env.d"
  21. CXXFLAGS="-O2 -march=pentium3 -fomit-frame-pointer -pipe"
  22. DISTDIR="/usr/portage/distfiles"
  23. FEATURES="autoaddcvs autoconfig ccache distlocks fixpackages sandbox sfperms strict"
  24. GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/Linux/distributions/gentoo"
  25. LDFLAGS="-Wl,-O1"
  26. MAKEOPTS="-j2"
  27. PKGDIR="/usr/portage/packages"
  28. PORTAGE_TMPDIR="/var/tmp"
  29. PORTDIR="/usr/portage"
  30. PORTDIR_OVERLAY="/usr/local/portage"
  31. SYNC="rsync://rsync.gentoo.org/gentoo-portage"
  32. USE="x86 X aac acl acpi alsa apm arts avi bash-completion berkdb bitmap-fonts bmp bzip2 bzlib caps cdparanoia cdr cdrom chroot cjk codecs cpdflib crypt css cups curl curlwrappers dbm dga dio divx4linux droproot dts dvd dvdread emboss encode esd ethereal fam fax faxonly fb fbcon ffmpeg flatfile foomaticdb fortran fpx freetype ftp ftruncate gd gdbm gif gimp glitz gnome gpm gps graphviz gs gstreamer gtk gtk2 hardened iconv idea imagemagick imlib imlib2 immqt-bc java jp2 jpeg jpeg2k junit kde lcms libcaca libg++ libwww live lzo lzw lzw-tiff mad matroska mbox md5sum mhash mikmod mime mimencode mjpeg mmap mmx mng motif mozsvg mp3 mpeg mpeg4 mplayer ncurses net network nls nptl nptlonly ntlm offensive ogg oggvorbis ooo-kde openal opengl oss pam pcmcia pcre pda pdf pdfkit pdflib perl pic png pnp posix python qt quicktime readline real rtc samba sdl skey sockets socks5 softmmu spell sse sse2 ssl svg svga szip tcpd theora tiff timidity truetype truetype-fonts truetype2 type1 type1-fonts usb v4l v4l2 vhosts vnc vorbis win32codecs wmf xanim xinerama xinetd xml2 xmlrpc xmms xscreensaver xslt xv xvid zlib"
  33. Unset:  ASFLAGS, CBUILD, CTARGET, LANG, LC_ALL, LINGUAS
复制代码


  1. nathaniel@gkmobile portage $ emerge system -pv

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

  3. Calculating system dependencies ...done!

  4. [ebuild     U ] app-arch/bzip2-1.0.3 [1.0.2-r5] -build -debug -static 0 kB
  5. [ebuild     U ] app-shells/bash-3.0-r10 [2.05b-r9] -build -debug +nls 0 kB
  6. [ebuild     U ] sys-devel/libperl-5.8.6 [5.8.5] +berkdb -debug +gdbm +ithreads -nocxx (-uclibc) 0 kB
  7. [ebuild     U ] dev-lang/perl-5.8.6-r4 [5.8.5-r5] +berkdb -debug -doc +gdbm +ithreads -perlsuid (-uclibc) 0 kB
  8. [ebuild     U ] net-misc/rsync-2.6.4 [2.6.0-r4] +acl* -build -debug -ipv6* -static 0 kB
  9. [ebuild     U ] sys-libs/readline-5.0-r2 [4.3-r5] 0 kB
  10. [ebuild  N    ] sys-apps/sysvinit-2.86  -bootstrap -build (-selinux) 0 kB
  11. [ebuild     U ] sys-apps/baselayout-1.11.11-r3 [1.9.4-r6] -bootstrap -build -debug -static (-uclibc) 0 kB
  12. [ebuild     U ] sys-apps/coreutils-5.2.1-r6 [5.2.1-r5] +acl* -build -debug +hardened* +nls (-selinux) -static (-uclibc) 0 kB
  13. [ebuild     U ] sys-apps/debianutils-2.13.1-r1 [1.16.7-r4] -build -debug -static 0 kB
  14. [ebuild     U ] sys-apps/file-4.13 [4.12] -build -debug +python 0 kB
  15. [ebuild     U ] sys-apps/findutils-4.2.20 [4.1.20-r1] -afs -build -debug +nls (-selinux) -static 0 kB
  16. [ebuild     U ] sys-apps/gawk-3.1.4-r4 [3.1.3-r2] -build +nls -xml 0 kB
  17. [ebuild     U ] sys-apps/man-pages-2.02 [2.01] 0 kB
  18. [ebuild  N    ] sys-apps/sandbox-1.2.3  -debug 0 kB
  19. [ebuild     U ] sys-apps/portage-2.0.51.20-r5 [2.0.51.19] -build (-selinux) 0 kB
  20. *** Portage will stop merging at this point and reload itself,
  21.     recalculate dependencies, and complete the merge.
  22.     You may avoid the remerging of packages by updating portage on its own.
  23. [ebuild     U ] sys-process/procps-3.2.5-r1 [3.2.4-r3] -debug (-n32) 0 kB
  24. [ebuild     U ] sys-process/psmisc-21.6 [21.5] +nls (-selinux) 0 kB
  25. [ebuild     U ] sys-apps/sed-4.1.4 [4.0.9] -bootstrap -build -debug +nls -static 0 kB
  26. [ebuild     U ] sys-apps/shadow-4.0.7-r1 [4.0.5-r3] -debug +nls +pam (-selinux) +skey* 0 kB
  27. [ebuild     U ] sys-apps/pam-login-3.17 [3.14] -livecd +nls (-selinux) 0 kB
  28. [ebuild     U ] sys-devel/automake-1.9.5 [1.9.4] 0 kB
  29. [ebuild     U ] sys-devel/binutils-2.15.92.0.2-r8 [2.15.92.0.2-r7] -debug -multislot -multitarget +nls -test 0 kB
  30. [ebuild     U ] sys-devel/bison-2.0 [1.875d] -debug +nls -static 0 kB
  31. [ebuild     U ] sys-devel/flex-2.5.4a-r6 [2.5.4a-r5] -build -debug -static 0 kB
  32. [ebuild     U ] sys-devel/gnuconfig-20050324 [20050223] 0 kB
  33. [ebuild     U ] sys-devel/m4-1.4.3 [1.4.2-r1] +nls 0 kB
  34. [ebuild     U ] sys-devel/patch-2.5.9-r1 [2.5.9] -build -debug -static 0 kB
  35. [ebuild  N    ] sys-libs/com_err-1.37  -debug +nls 0 kB
  36. [ebuild  N    ] sys-libs/ss-1.37  -debug +nls 0 kB
  37. [ebuild     U ] sys-fs/e2fsprogs-1.37-r1 [1.35-r1] -debug -diet +nls -static (-uclibc) 0 kB
  38. [ebuild     U ] sys-libs/cracklib-2.8.3-r1 [2.7-r11] 0 kB
  39. [ebuild     U ] sys-libs/ncurses-5.4.20050319 [5.4-r6] -bootstrap -build -debug -doc +gpm -minimal -nocxx -unicode 0 kB
  40. [ebuild     U ] sys-fs/udev-056 [045] (-selinux) -static 0 kB
  41. [ebuild     U ] app-editors/nano-1.3.7 [1.3.4] -build -debug -justify +ncurses +nls -nomac -slang +spell 0 kB
  42. [ebuild     U ] sys-apps/module-init-tools-3.1-r1 [3.0-r2] -debug 0 kB
  43. [ebuild     U ] sys-kernel/linux-headers-2.6.11 [2.6.8.1-r2] 0 kB
  44. [ebuild     U ] net-misc/openssh-4.0_p1 [3.9_p1-r2] -X509 +chroot* -debug -ipv6* -kerberos -ldap -nocxx +pam (-selinux) -sftplogging +skey* -smartcard -static +tcpd 0 kB
  45. [ebuild     U ] sys-apps/util-linux-2.12q [2.12i-r1] +crypt -debug +nls -old-crypt +pam +perl (-selinux) -static 0 kB
  46. [ebuild     U ] sys-apps/hdparm-6.1 [5.7-r1] 0 kB

  47. Total size of downloads: 0 kB
复制代码
发表于 2005-5-7 14:50:39 | 显示全部楼层
还得在package.keywords里的软件包后面加上-~x86吧
即看上去应该这样子
cat/package x86 -~x86?
回复 支持 反对

使用道具 举报

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

本版积分规则

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