LinuxSir.cn,穿越时空的Linuxsir!

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

安装软件失败!请大家帮帮忙。因为要搭建服务器很急很急。(已解决)

[复制链接]
发表于 2010-3-30 18:54:48 | 显示全部楼层 |阅读模式
安装svn时出现的错!然后不能安装,请指导!!!!!!以下为输入的信息:

admin@~ $ sudo emerge subversion
Calculating dependencies \
!!! All ebuilds that could satisfy "dev-util/subversion" have been masked.
!!! One of the following masked packages is required to complete your request:
- dev-util/subversion-1.6.9 (masked by: EAPI 2)
- dev-util/subversion-1.6.6-r10 (masked by: EAPI 2)
- dev-util/subversion-1.6.6 (masked by: EAPI 2)

The current version of portage supports EAPI '1'. You must upgrade to a
newer version of portage before EAPI masked packages can be installed.

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

升级:emerge portage也出错

admin@~ $ sudo emerge portage
Calculating dependencies /
!!! All ebuilds that could satisfy "dev-perl/Locale-gettext" have been masked.
!!! One of the following masked packages is required to complete your request:
- dev-perl/Locale-gettext-1.05-r1 (masked by: EAPI 2)

The current version of portage supports EAPI '1'. You must upgrade to a
newer version of portage before EAPI masked packages can be installed.

For more information, see MASKED PACKAGES section in the emerge man page or
refer to the Gentoo Handbook.
(dependency required by "sys-apps/help2man-1.36.4-r1" [ebuild])
发表于 2010-3-30 18:59:19 | 显示全部楼层
emerge --info 上来

你emerge --sync没?

and 拒绝标题 很急 字样
回复 支持 反对

使用道具 举报

发表于 2010-3-30 19:17:46 | 显示全部楼层
我觉得你要学会不急。不然gentoo能把你急死

试一试autounmask
回复 支持 反对

使用道具 举报

 楼主| 发表于 2010-3-30 21:23:48 | 显示全部楼层
Post by U571;2079206
emerge --info 上来

你emerge --sync没?

and 拒绝标题 很急 字样

  
这步emerge --sync我已经做了,以前是安装好后直接安装svn的,这次是做了升级emerge --sync后安装的,反而不成功!
回复 支持 反对

使用道具 举报

发表于 2010-3-30 21:41:00 | 显示全部楼层
我还是认为是portage的版本问题..
你试下安装一个低版本的protage,然后一步一步升上去看看?
回复 支持 反对

使用道具 举报

发表于 2010-3-30 21:46:03 | 显示全部楼层
The current version of portage supports EAPI '1'. You must upgrade to a
newer version of portage before EAPI masked packages can be installed.
出错信息说的很清楚了,要是英文不好,请翻字典。
回复 支持 反对

使用道具 举报

发表于 2010-3-30 21:59:54 | 显示全部楼层
先echo "sys-apps/portage" >> /etc/portage/package.keywords

然后env-update && source /etc/profile

然后emerge -av portage

最后再安装你想要的软件。

先试试这个办法。
回复 支持 反对

使用道具 举报

发表于 2010-3-30 22:00:52 | 显示全部楼层
emerge profile 了没?

eselect profile list  # 看下是什么信息
回复 支持 反对

使用道具 举报

 楼主| 发表于 2010-3-31 09:41:58 | 显示全部楼层
Post by U571;2079206
emerge --info 上来

你emerge --sync没?

and 拒绝标题 很急 字样


emerge --info如下:
Portage 2.1.4.4 (default/linux/x86/10.0/desktop, gcc-4.1.2, glibc-2.6.1-r0, 2.6.31-gentoo-             r10 i686)
=================================================================
System uname: 2.6.31-gentoo-r10 i686 Intel(R) Xeon(R) CPU E5504 @ 2.00GHz
Timestamp of tree: Mon, 29 Mar 2010 01:45:03 +0000
app-shells/bash:     3.2_p17-r1
dev-lang/python:     2.4.4-r13
dev-python/pycrypto: 2.0.1-r6
sys-apps/baselayout: 1.12.11.1
sys-apps/sandbox:    1.2.18.1-r2
sys-devel/autoconf:  2.61-r1
sys-devel/automake:  1.10.1
sys-devel/binutils:  2.18-r1
sys-devel/gcc:       4.1.2
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   1.5.24
virtual/os-headers:  2.6.23-r3
ACCEPT_KEYWORDS="x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=i686 -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc"
CONFIG_PROTECT_MASK="/etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/terminfo /etc/udev/r             ules.d"
CXXFLAGS="-O2 -march=i686 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks metadata-transfer sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributi             ons/gentoo"
LDFLAGS="-Wl,-O1"
MAKEOPTS="-j5"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
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"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X a52 aac acl acpi alsa berkdb bluetooth branding bzip2 cairo cdr cli consolekit crac             klib crypt cups cxx dbus dri dts dvd dvdr eds emboss encode evo fam firefox flac fortran g             dbm gif gnome gpm gstreamer gtk hal iconv ipv6 jpeg kde ldap libnotify mad mikmod mng modu             les mp3 mp4 mpeg mudflap ncurses nls nptl nptlonly ogg opengl openmp pam pcre pdf perl png              ppds pppd python qt3support qt4 quicktime readline reflection sdl session spell spl ssl s             tartup-notification svg sysfs tcpd thunar tiff truetype unicode usb vorbis win32codecs x26             4 x86 xml xorg xulrunner xv xvid zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt8             7x ca0106 cmipci emu10k1 emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 i             ntel8x0m 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 lin             ear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="a             ctions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_db             m 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 includ             e info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling sta             tus unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="keyboard mouse e             vdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb              ncurses text" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="fbdev glint intel mach64              mga neomagic nv r128 radeon savage sis tdfx trident vesa via vmware"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LANG, LC_ALL, LINGUA             S, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
回复 支持 反对

使用道具 举报

 楼主| 发表于 2010-3-31 11:16:46 | 显示全部楼层
autounmask 也用不了,上面的方法都试了,还是不行的!
高手们来帮帮呀
回复 支持 反对

使用道具 举报

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

本版积分规则

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