LinuxSir.cn,穿越时空的Linuxsir!

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

关于升级服务器

[复制链接]
发表于 2008-11-24 17:58:59 | 显示全部楼层 |阅读模式
我一直用大陆的一个服务器SYNC="rsync://61.135.158.199/gentoo-portage",做sync
portage 的版本已升级到2.2

今天换回官方的一个服务器SYNC="rsync://rsync.gentoo.org/gentoo-portage"
却提示安装portage2.1版的

请问这时怎么回事?
谢谢
发表于 2008-11-24 18:39:58 | 显示全部楼层
贴下 emerge --info 和 eix -e portage 的结果,没有 eix 这个命令请 emerge eix
回复 支持 反对

使用道具 举报

 楼主| 发表于 2008-11-24 19:24:44 | 显示全部楼层
以下是我用国内sync服务器的信息
laptop ~ # emerge --info
WARNING: One or more repositories have missing repo_name entries:

        /usr/portage/local/profiles/repo_name
        /usr/portage/local/myebuilds/profiles/repo_name

NOTE: Each repo_name entry should be a plain text file containing a
unique name for the repository on the first line.
Portage 2.2_rc15 (default/linux/x86/2008.0, gcc-4.1.2, glibc-2.6.1-r0, 2.6.25-gentoo-r8hdaps i686)
=================================================================
System uname: Linux-2.6.25-gentoo-r8hdaps-i686-Intel-R-_Pentium-R-_M_processor_1.86GHz-with-glibc2.0
Timestamp of tree: Sat, 22 Nov 2008 12:45:01 +0000
ccache version 2.4 [enabled]
app-shells/bash:     3.2_p33
dev-java/java-config: 1.3.7, 2.1.6
dev-lang/python:     2.5.2-r7
dev-util/ccache:     2.4-r7
sys-apps/baselayout: 1.12.11.1
sys-apps/sandbox:    1.2.18.1-r2
sys-devel/autoconf:  2.13, 2.61-r2
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-r3
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   1.5.26
virtual/os-headers:  2.6.23-r3
ACCEPT_KEYWORDS="x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=pentium-m -pipe -ggdb"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc"
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/splash /etc/terminfo /etc/texmf/web2c /etc/udev/rules.d"
CXXFLAGS="-O2 -march=pentium-m -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="ccache distlocks parallel-fetch preserve-libs protect-owned sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="ftp://ftp.lecl.net/pub/gentoo/ "
LANG="en_US.UTF-8"
LDFLAGS="-Wl,-O1"
LINGUAS="en zh zh_CN zh_TW"
MAKEOPTS="-j3"
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/local/layman/gentoo-china /usr/portage/local/layman/science /usr/portage/local/myebuilds /usr/portage/local"
SYNC="rsync://61.135.158.199/gentoo-portage"
USE="X a52 aac aalib acl acpi aim alsa asf avahi avi bash-completion berkdb bitmap-fonts blas bzip2 cdparanoia cdr chm cjk cli cracklib crypt cups dbus divx4linux dri dv dvd dvdread emacs encode examples exif ffmpeg firefox flac foomaticdb fortran gd gdbm gif gnome gphoto2 gpm gtk hal hdaps iconv isdnlog java jpeg lame mad midi mjpeg mp3 mp4 mpeg msn mudflap ncurses nls nptl nptlonly ogg opengl openmp pam pcre pdf perl pic png ppds pppd python qq quicktime rar readline reflection session spell spl sse sse2 ssl startup-notification svg sysfs tcpd tiff truetype type1 unicode usb vcd vim-syntax vorbis win32codecs wmv x86 xcb xft xine xinerama xml xorg xscreensaver xv xvid zip zlib" ALSA_CARDS="intel8x0" 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="keyboard evdev mouse synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en zh zh_CN zh_TW" USERLAND="GNU" VIDEO_CARDS="radeon vesa"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS

laptop ~ # eix -e portage
[D] sys-apps/portage
     Available versions:  [P]2.1.1-r2 2.1.4.4 2.1.4.5 (~)2.1.5.6 (~)2.2_rc11 (~)2.2_rc12 {build doc elibc_FreeBSD elibc_glibc elibc_uclibc epydoc linguas_pl selinux userland_GNU}
     Installed versions:  2.2_rc15(10:42:17 AM 11/23/2008)(-build -doc -epydoc -linguas_pl -selinux)
     Homepage:            http://www.gentoo.org/proj/en/portage/index.xml
     Description:         Portage is the package management and distribution system for Gentoo

镜像服务器我一直用的是韩国的GENTOO_MIRRORS="ftp://ftp.lecl.net/pub/gentoo/ "
回复 支持 反对

使用道具 举报

发表于 2008-11-24 20:16:23 | 显示全部楼层
less /usr/portage/profiles/package.mask

# Zac Medico <zmedico@gentoo.org> (24 Nov 2008)
# In order to ensure that portage-2.1.6 gets sufficient testing,
# portage-2.2 will be masked in package.mask until portage-2.1.6 has
# been marked stable. If you would like to continue using portage-2.2
# then you should unmask it (instead of downgrading to portage-2.1.6).
>=sys-apps/portage-2.2_pre
回复 支持 反对

使用道具 举报

 楼主| 发表于 2008-11-24 20:54:58 | 显示全部楼层
我还是换回官方的源
回复 支持 反对

使用道具 举报

发表于 2008-11-24 21:34:14 | 显示全部楼层
最好选portage和distfiles能同步的server
回复 支持 反对

使用道具 举报

发表于 2008-11-24 22:37:16 | 显示全部楼层
ACCEPT_KEYWORDS="x86"

你用的是 x86 keywords, portage-2.2 还在 ~x86 ...
回复 支持 反对

使用道具 举报

发表于 2008-11-24 22:53:47 | 显示全部楼层
不是,是portage 2.2_pre被mask了,见4楼
回复 支持 反对

使用道具 举报

 楼主| 发表于 2008-11-25 00:00:34 | 显示全部楼层
我是用的是x86, 可用国内的服务器SYNC="rsync://61.135.158.199/gentoo-portage"
就可以升级到2.2
回复 支持 反对

使用道具 举报

发表于 2008-11-25 00:10:12 | 显示全部楼层
可能是因为这个服务器还没有跟gentoo官方的源同步
回复 支持 反对

使用道具 举报

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

本版积分规则

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