Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
更新Portage树的问题(已硬盘安装)
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index 中文 (Chinese)
View previous topic :: View next topic  
Author Message
tiancongxin
n00b
n00b


Joined: 31 May 2005
Posts: 23
Location: Beijing Chaoyang

PostPosted: Tue Jul 05, 2005 1:26 am    Post subject: 更新Portage树的问题(已硬盘安装) Reply with quote

HELP!:o
handbook上说更新portage 树需要emerge --sync或emerge-webrsync

(安装完了gentoo 2005 universal ,但是我想更新一下部分软件)

但是我的机器现在暂时上不了网,那么要更新它的话,是不是还有别的方法?(在朋友的windows机器上下载了snapshot)


Last edited by tiancongxin on Tue Jul 05, 2005 2:18 pm; edited 1 time in total
Back to top
View user's profile Send private message
EricHsu
Bodhisattva
Bodhisattva


Joined: 03 May 2004
Posts: 591
Location: Aragon Consulting Group, Beijing, China

PostPosted: Tue Jul 05, 2005 11:36 am    Post subject: Reply with quote

记得用了 universal cd 的话, 可以跳过 emerge sync 这一步的. 哪位有经验的说说?
_________________
- http://nkbit.com
- http://twitter.com/xuyihua
Back to top
View user's profile Send private message
wokick
Tux's lil' helper
Tux's lil' helper


Joined: 27 Sep 2004
Posts: 97

PostPosted: Tue Jul 05, 2005 1:03 pm    Post subject: Reply with quote

是,如果我没有记错的话,把portage那个tar ball解到/usr/portage目录下去就可以了。stage3安装,make.conf里面mirror默认是光盘。所以emerge各个包的时候,就直接从光盘上搞了。详细看看gentoo安装手册就行(应该有中文的吧,俺们版主大人翻译过简体版的。)
Back to top
View user's profile Send private message
EricHsu
Bodhisattva
Bodhisattva


Joined: 03 May 2004
Posts: 591
Location: Aragon Consulting Group, Beijing, China

PostPosted: Wed Jul 06, 2005 3:01 am    Post subject: Reply with quote

wokick wrote:
详细看看gentoo安装手册就行(应该有中文的吧,俺们版主大人翻译过简体版的。)


手册在这里, 有点 out-date 了... 有不一致的地方以官方英文版为准...
手册里有关于这个的内容嘛? 我翻译完都忘了 :roll:
_________________
- http://nkbit.com
- http://twitter.com/xuyihua
Back to top
View user's profile Send private message
Hauser
l33t
l33t


Joined: 27 Dec 2003
Posts: 650
Location: 4-dimensional hyperplane

PostPosted: Fri Jul 08, 2005 7:37 am    Post subject: Re: 更新Portage树的问题(已硬盘安装) Reply with quote

tiancongxin wrote:
HELP!:o
handbook上说更新portage 树需要emerge --sync或emerge-webrsync


(安装完了gentoo 2005 universal ,但是我想更新一下部分软件)

但是我的机器现在暂时上不了网,那么要更新它的话,是不是还有别的方法?(在朋友的windows机器上下载了snapshot)

It's easy to update the portage tree. Just delete the /usr/portage directory (after you backup the sources and binaries of course), then unpack the snapshot you downloaded elsewhere and type:
Code:
# emerge metadata


The tricky part is to get the sources, to do this manually from another machine is very painful; portage is supposed to do all these hard work for you, but since you can't get online, you're doomed!:lol:

PS I hope this thread helps:https://forums.gentoo.org/viewtopic.php?t=79884
_________________
AMD Athlon XP 2600+; 512M RAM;
nVidia FX5700LE; Hitachi 120Gb
2.6.9-nitro4, reiser4, linux26-headers+nptl

Do I like to compile everything?
Positive definite!
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index 中文 (Chinese) All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum