View previous topic :: View next topic |
Author |
Message |
qing Tux's lil' helper
Joined: 04 Nov 2002 Posts: 95
|
Posted: Thu Dec 30, 2004 9:13 am Post subject: 如何修复坏了的emerge....呢??? |
|
|
我删了/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 |
|
|
akar Bodhisattva
Joined: 03 Dec 2004 Posts: 348 Location: HKSAR,China
|
Posted: Thu Dec 30, 2004 3:56 pm Post subject: |
|
|
這樣可以嗎?
Code: |
# mkdir /var/lib/portage
# touch /var/lib/portage/world
|
_________________ AKar |
|
Back to top |
|
|
bigmonk n00b
Joined: 16 Nov 2004 Posts: 47 Location: china
|
Posted: Fri Dec 31, 2004 3:17 am Post subject: |
|
|
emerge 没坏。
按楼上的做法做也不行,world 没内容了。 |
|
Back to top |
|
|
qing Tux's lil' helper
Joined: 04 Nov 2002 Posts: 95
|
Posted: Fri Dec 31, 2004 11:09 am Post subject: |
|
|
是的。。没坏。。。谢各位。。 |
|
Back to top |
|
|
|