Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
脑袋犯浑,emerge -C python了 如何解决?
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
erlv
n00b
n00b


Joined: 19 Nov 2007
Posts: 4

PostPosted: Tue Sep 23, 2008 1:12 am    Post subject: 脑袋犯浑,emerge -C python了 如何解决? Reply with quote

谢谢
Back to top
View user's profile Send private message
druggo
Apprentice
Apprentice


Joined: 24 Sep 2003
Posts: 289
Location: Hangzhou, China

PostPosted: Tue Sep 23, 2008 1:19 am    Post subject: Reply with quote

在gentoo的liveCD或者安装光盘里,
quickpkg python
然后拷贝/usr/portage/packages/All下的压缩包,
把这个包在自己系统根目录解压缩
_________________
HighWayToHell(blog)
http://blog.druggo.org/
Back to top
View user's profile Send private message
erlv
n00b
n00b


Joined: 19 Nov 2007
Posts: 4

PostPosted: Tue Sep 23, 2008 2:28 pm    Post subject: Reply with quote

thanks for your reply

but when I start my laptop from gentoo livecd 2008, I run ' quickpkg python' and I got errors

livecd gentoo # quickpkg python
Traceback (most recent call last):
File "/usr/sbin/quickpkg", line 275, in ?
retval = quickpkg_main(options, args, eout)
File "/usr/sbin/quickpkg", line 122, in quickpkg_main
dblnk.lockdb()
File "/usr/lib/portage/pym/portage.py", line 8041, in lockdb
self._lock_vdb = portage_locks.lockdir(self.dbroot)
File "/usr/lib/portage/pym/portage_locks.py", line 20, in lockdir
return lockfile(mydir,wantnewlockfile=1)
File "/usr/lib/portage/pym/portage_locks.py", line 54, in lockfile
myfd = os.open(lockfilename, os.O_CREAT|os.O_RDWR,0660)
OSError: [Errno 30] Read-only file system: '/var/db/.pkg.portage_lockfile'


and I don't know what to do .

Can someone help me ? Or is there something wrong with my livecd ?
Back to top
View user's profile Send private message
r0bertz
Retired Dev
Retired Dev


Joined: 13 Sep 2004
Posts: 257
Location: HKSAR,China

PostPosted: Tue Sep 23, 2008 5:00 pm    Post subject: Reply with quote

下载个stage3,解开,chroot进去,再quickpkg
_________________
Zhang Le, Robert
http://zhangle.is-a-geek.org
Back to top
View user's profile Send private message
healthkxy
n00b
n00b


Joined: 28 Sep 2007
Posts: 11

PostPosted: Wed Sep 24, 2008 2:32 am    Post subject: Reply with quote

erlv wrote:
thanks for your reply

but when I start my laptop from gentoo livecd 2008, I run ' quickpkg python' and I got errors

livecd gentoo # quickpkg python
Traceback (most recent call last):
File "/usr/sbin/quickpkg", line 275, in ?
retval = quickpkg_main(options, args, eout)
File "/usr/sbin/quickpkg", line 122, in quickpkg_main
dblnk.lockdb()
File "/usr/lib/portage/pym/portage.py", line 8041, in lockdb
self._lock_vdb = portage_locks.lockdir(self.dbroot)
File "/usr/lib/portage/pym/portage_locks.py", line 20, in lockdir
return lockfile(mydir,wantnewlockfile=1)
File "/usr/lib/portage/pym/portage_locks.py", line 54, in lockfile
myfd = os.open(lockfilename, os.O_CREAT|os.O_RDWR,0660)
OSError: [Errno 30] Read-only file system: '/var/db/.pkg.portage_lockfile'

livecd是read-only的,不能写入。所以会出现这个情况


and I don't know what to do .

Can someone help me ? Or is there something wrong with my livecd ?
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