LinuxSir.cn,穿越时空的Linuxsir!

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

Gentoo更新带来的问题

[复制链接]
发表于 2008-7-8 00:09:38 | 显示全部楼层 |阅读模式
大家好。最新一次在使用emerge -vuDN world的时候出现了以下问题。
如果大家有遇到过,不甚赐教。

1. update-eix出现了另外一个overlay,更新速度非常缓慢。我并没有建立任何的overlay。

root: update-eix
Reading Portage settings ..
Building database (/var/cache/eix) ..
[0] "gentoo" /usr/portage/ (cache: metadata)
     Reading 100%
[1] "gentoo" /usr/portage (cache: parse|ebuild*)
     Reading   0%

这个1号overlay是新加的么?如果只是eix自带的东西,那么这样的运行速度是不是和eix的理念相反了么?

2. 每次emerge报错repo_name missing.

root: emerge -vuDN world --pretend
WARNING: repository at /usr/portage is missing a repo_name entry
...

有人告诉我可能repo_name未曾指定。但是我在profiles是可以看到的啊(gentoo)。

root: cat /usr/portage/profiles/repo_name
gentoo

这个问题我G不到答案,因此请教大家。首先谢谢了。
 楼主| 发表于 2008-7-8 00:10:39 | 显示全部楼层
2L给出emerge --info
wickyl@ ~: emerge --info
WARNING: repository at /usr/portage is missing a repo_name entry
Portage 2.2_rc1 (default/linux/x86/2008.0/desktop, gcc-4.2.4, glibc-2.8_p20080602-r0, 2.6.25-gentoo-r5 i686)
=================================================================
System uname: Linux-2.6.25-gentoo-r5-i686-Intel-R-_Pentium-R-_M_processor_1400MHz-with-glibc2.0
Timestamp of tree: Sun, 06 Jul 2008 01:49:01 +0000
ccache version 2.4 [enabled]
app-shells/bash:     3.2_p39
dev-java/java-config: 1.3.7, 2.1.6
dev-lang/python:     2.5.2-r5
dev-util/ccache:     2.4-r7
sys-apps/baselayout: 2.0.0
sys-apps/openrc:     0.2.5
sys-apps/sandbox:    1.2.18.1-r3
sys-devel/autoconf:  2.13, 2.62
sys-devel/automake:  1.5, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.1-r1
sys-devel/binutils:  2.18-r2
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   2.2.4
virtual/os-headers:  2.6.25-r4
ACCEPT_KEYWORDS="x86 ~x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=native -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/config"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/terminfo /etc/udev/rules.d"
CXXFLAGS="-O2 -march=native -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="ccache distlocks parallel-fetch preserve-libs sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="ftp://gentoo.anheng.com.cn/gentoo ftp://linux.ntcu.net/gentoo http://zentek-international.com/mirrors/gentoo"
LANG="en_US.UTF-8"
LDFLAGS="-Wl,-O1"
LINGUAS="en_US zh_CN"
MAKEOPTS="-j4"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/portage"
SYNC="rsync://linux.ntcu.net/gentoo-portage"
USE="X aac acl acpi alsa berkdb bluetooth branding bz2 bzip2 cairo cdr cgi cli cracklib crypt cscope cups curl dbus debugger dri dts dvd dvdr dvdread eds emacs emboss encode esd evo fam ffmpeg firefox flac fontconfig fortran gd gdbm gif gnome gpm gstreamer gtk hal iconv imap immqt-bc isdnlog jpeg kerberos lame ldap libnotify mad maildir mailwrapper midi mikmod mime mmx mp3 mpeg mudflap mule nautilus ncurses nls nptl nptlonly ogg opengl openmp pam pcre pdf perl png posix ppds pppd python qt-static qt3 qt3support quicktime readline real reflection samba sdl session spell spl sse sse2 ssl startup-notification svg tcpd tiff truetype unicode vorbis win32codecs x86 xml xorg xulrunner xv 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 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="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en_US zh_CN" USERLAND="GNU" VIDEO_CARDS="fbdev glint i810 mach64 mga neomagic nv r128 radeon savage sis tdfx trident vesa vga via vmware voodoo"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
回复 支持 反对

使用道具 举报

发表于 2008-7-8 00:15:40 | 显示全部楼层
PORTDIR_OVERLAY="/usr/portage"
回复 支持 反对

使用道具 举报

发表于 2008-7-8 00:15:51 | 显示全部楼层
Right

Delete PORTDIR_OVERLAY="/usr/portage" from make.conf
回复 支持 反对

使用道具 举报

发表于 2008-7-8 00:20:45 | 显示全部楼层
PORTDIR_OVERLAY="/usr/portage"
这个变量设置错了
回复 支持 反对

使用道具 举报

发表于 2008-7-8 00:21:17 | 显示全部楼层
汗,我居然慢了。。。-_-"
回复 支持 反对

使用道具 举报

 楼主| 发表于 2008-7-8 11:26:13 | 显示全部楼层
一个变量解决两个问题,而且这个变量以前一直存在。。。
谢谢各位!!!
回复 支持 反对

使用道具 举报

发表于 2008-7-8 14:36:25 | 显示全部楼层
修改一下标题
回复 支持 反对

使用道具 举报

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

本版积分规则

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