Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
如何修复坏了的emerge....呢???
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
qing
Tux's lil' helper
Tux's lil' helper


Joined: 04 Nov 2002
Posts: 95

PostPosted: Thu Dec 30, 2004 9:13 am    Post subject: 如何修复坏了的emerge....呢??? Reply with quote

我删了/var下的所有东西。。。

就这样了。。。

Performing Global Updates: /usr/portage/profiles/updates/4Q-2004
(Could take a couple of minutes if you have a lot of binary packages.)
.='update pass' *='binary update' @='/var/db move'
s='/var/db SLOT move' S='binary SLOT move' p='update /etc/portage/package.*'
.....................................................................................................................................................................................................................................................................Traceback (most recent call last):
File "/usr/bin/emerge", line 10, in ?
import portage
File "/usr/lib/portage/pym/portage.py", line 7161, in ?
do_upgrade(mykey)
File "/usr/lib/portage/pym/portage.py", line 7099, in do_upgrade
myworld=open("/"+WORLD_FILE,"w")
IOError: [Errno 2] No such file or directory: '//var/lib/portage/world'
Back to top
View user's profile Send private message
akar
Moderator
Moderator


Joined: 03 Dec 2004
Posts: 348
Location: HKSAR,China

PostPosted: Thu Dec 30, 2004 3:56 pm    Post subject: Reply with quote

這樣可以嗎?
Code:

# mkdir /var/lib/portage
# touch /var/lib/portage/world

_________________
AKar
Back to top
View user's profile Send private message
bigmonk
n00b
n00b


Joined: 16 Nov 2004
Posts: 44
Location: china

PostPosted: Fri Dec 31, 2004 3:17 am    Post subject: Reply with quote

emerge 没坏。
按楼上的做法做也不行,world 没内容了。
Back to top
View user's profile Send private message
qing
Tux's lil' helper
Tux's lil' helper


Joined: 04 Nov 2002
Posts: 95

PostPosted: Fri Dec 31, 2004 11:09 am    Post subject: Reply with quote

是的。。没坏。。。谢各位。。
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