LinuxSir.cn,穿越时空的Linuxsir!

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

emerge --sync后出错

[复制链接]
发表于 2009-3-6 15:10:15 | 显示全部楼层 |阅读模式
!!! Your current profile is deprecated and not supported anymore.
!!! Please upgrade to the following profile if possible:
        default/linux/x86/2008.0

To upgrade do the following steps:
# cd /etc/
# rm make.profile
# ln -s ../usr/portage/profiles/default/linux/x86/2008.0 make.profile

按照提示做以下操作
# cd /etc/
# rm make.profile
# ln -s ../usr/portage/profiles/default/linux/x86/2008.0 make.profile
然后
# emerge portage
!!! ARCH is not set... Are you missing the /etc/make.profile symlink?
!!! Is the symlink correct? Is your portage tree complete?
自已查看后发现/usr/portage/profiles/default/linux/x86/2008.0目录里根本就没有make.default等文件.我网上搜了下,好像有很多人碰到个bug,但是都是不了了之.请问大家碰到这个bug都是怎么理的.
我试过改回以前的连接
# cd /etc/
# rm make.profile
# ln -s ../usr/portage/profiles/default-linux/x86/2007.0 make.profile
但示提示:
!!! Your current profile is deprecated and not supported anymore.
!!! Please upgrade to the following profile if possible:
        default/linux/x86/2008.0
默认的是2008.0,请问如果要改回2007.0的连接位置应该在哪个文件里改,这个文件在什么位置,修改哪个参数?我现在的这个系统上没有装eselect.
发表于 2009-3-6 15:17:52 | 显示全部楼层
  1. $ sudo eselect profile list
  2. Available profile symlink targets:
  3.   [1]   hardened/x86/2.6
  4.   [2]   selinux/2007.0/x86
  5.   [3]   selinux/2007.0/x86/hardened
  6.   [4]   default/linux/x86/2008.0
  7.   [5]   default/linux/x86/2008.0/desktop *
  8.   [6]   default/linux/x86/2008.0/developer
  9.   [7]   default/linux/x86/2008.0/server
  10.   [8]   hardened/linux/x86
复制代码

通过 sudo eselect profile set [num] 来修改

不清楚你之前是怎么操作的,如果按官方手册一步步来的话,应该不会错
回复 支持 反对

使用道具 举报

 楼主| 发表于 2009-3-6 15:20:11 | 显示全部楼层
谢谢你的热心帮助,不过我现在的这个系统上没有装eselect,所以我才问要改哪个文件.
回复 支持 反对

使用道具 举报

发表于 2009-3-6 16:34:37 | 显示全部楼层
你应该先--sync了之后
再改
或者你直接去下载一个portage-latest.tar.bz2
解压缩到/usr/portage
回复 支持 反对

使用道具 举报

 楼主| 发表于 2009-3-7 17:05:21 | 显示全部楼层
Post by zhllg;1957069
你应该先--sync了之后
再改
或者你直接去下载一个portage-latest.tar.bz2
解压缩到/usr/portage


按你说的方法仍然不行,我的操作方法没有错误,这的确是一个bug,我是从1.6.12版本--sync到最新的。出现这问题的不止我一个。
回复 支持 反对

使用道具 举报

发表于 2009-4-25 23:20:14 | 显示全部楼层
Problem:
ARCH is not set....Are you missing the /etc/make-profile symlink?
Is the symlink correct? Is your portage tree complete?


ls -l /etc/make-profile
lrwxrwxrwx  1 root root 48 Nov 25  2004 /etc/make.profile -> ../usr/portage/profiles/default-linux/x86/2004.3



Try:
ln -sf /usr/portage/profiles/default-linux/x86/2007.0 /etc/make.profile
or
# cd /etc/
# rm make.profile
# ln -s ../usr/portage/profiles/default/linux/x86/2008.0 make.profile
回复 支持 反对

使用道具 举报

发表于 2009-4-25 23:22:10 | 显示全部楼层
# emerge  --nodeps portage
then
#ememrge portage
回复 支持 反对

使用道具 举报

发表于 2009-4-25 23:23:48 | 显示全部楼层
回复 支持 反对

使用道具 举报

发表于 2009-5-9 02:25:10 | 显示全部楼层
这个问题我刚刚解决,在解压完portage之后,不能emerge --sync了,而是emerge  softname 你要安装的软件
回复 支持 反对

使用道具 举报

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

本版积分规则

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