Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Python is gone...how to get it back
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
shakti
Guru
Guru


Joined: 15 May 2002
Posts: 358
Location: omnipresent

PostPosted: Mon Dec 15, 2003 9:19 pm    Post subject: Python is gone...how to get it back Reply with quote

as the topic states....dont laugh at me pls...python is uninstalled wich makes emerge useless....please advise.
_________________
Using Gentoo since 2002.
Back to top
View user's profile Send private message
MG-Cloud
Apprentice
Apprentice


Joined: 28 Oct 2003
Posts: 200

PostPosted: Mon Dec 15, 2003 9:26 pm    Post subject: Reply with quote

Hey,

I'm at school right now so I don't have access to my gentoo home box (no outgoing internet except on port 80 :*( ). However, I'm fairly sure this should work. Open up a terminal and cd into /usr/portage/sys-apps/portage/files (i'm pretty sure that's the right directory)

read README.RESCUE. If I remember correctly, this is to fix both broken python and broken portage installs, so this should work for you. Good luck !
Back to top
View user's profile Send private message
Pythonhead
Developer
Developer


Joined: 16 Dec 2002
Posts: 1801
Location: Redondo Beach, Republic of Calif.

PostPosted: Mon Dec 15, 2003 10:53 pm    Post subject: Reply with quote

Binary Python package:

http://dev.gentoo.org/~avenj/bins/
Back to top
View user's profile Send private message
shakti
Guru
Guru


Joined: 15 May 2002
Posts: 358
Location: omnipresent

PostPosted: Tue Dec 16, 2003 3:46 am    Post subject: Reply with quote

thanks for the help, now i tried both, Portage rescue did not help, python bin somehow.... now when trying to reemerge python and portage i get:

Code:
bash-2.05b# emerge portage
Calculating dependencies ...done!
>>> emerge (1 of 2) dev-lang/python-2.2.3-r5 to /
>>> md5 ;-) Python-2.2.3.tgz
ACCESS DENIED  open_wr:   /etc/passwd
ACCESS DENIED  open_wr:   /etc/passwd
>>> Unpacking source...
>>> Unpacking Python-2.2.3.tgz to /var/tmp/portage/python-2.2.3-r5/work
ACCESS DENIED  open_wr:   /etc/passwd
ACCESS DENIED  open_wr:   /etc/group
 * Applying python-2.2.3-db4.patch...                                      [ ok ]
 * Applying python-2.2.3-disable_modules_and_ssl.patch...                  [ ok ]
 * Applying python-2.3-add_portage_search_path.patch...                    [ ok ]
 * Applying python-2.2.3-gentoo_py_dontcompile.patch...                    [ ok ]
 * Applying python-2.2.3-fPIC.patch...                                     [ ok ]
>>> Source unpacked.
--------------------------- ACCESS VIOLATION SUMMARY ---------------------------
LOG FILE = "/tmp/sandbox-python-2.2.3-r5-5220.log"

open_wr:   /etc/passwd
open_wr:   /etc/passwd
open_wr:   /etc/group
open_wr:   /etc/passwd
open_wr:   /etc/passwd
open_wr:   /etc/group
--------------------------------------------------------------------------------
bash-2.05b#


_________________
Using Gentoo since 2002.
Back to top
View user's profile Send private message
shakti
Guru
Guru


Joined: 15 May 2002
Posts: 358
Location: omnipresent

PostPosted: Tue Dec 16, 2003 5:08 am    Post subject: Reply with quote

fixed it by doing

Code:
export FEATURE="-sandbox"; emerge portage


:D
_________________
Using Gentoo since 2002.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming 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