View previous topic :: View next topic |
Author |
Message |
shakti Guru
Joined: 15 May 2002 Posts: 358 Location: omnipresent
|
Posted: Mon Dec 15, 2003 9:19 pm Post subject: Python is gone...how to get it back |
|
|
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 |
|
|
MG-Cloud Apprentice
Joined: 28 Oct 2003 Posts: 200
|
Posted: Mon Dec 15, 2003 9:26 pm Post subject: |
|
|
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 |
|
|
Pythonhead Developer
Joined: 16 Dec 2002 Posts: 1801 Location: Redondo Beach, Republic of Calif.
|
|
Back to top |
|
|
shakti Guru
Joined: 15 May 2002 Posts: 358 Location: omnipresent
|
Posted: Tue Dec 16, 2003 3:46 am Post subject: |
|
|
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 |
|
|
shakti Guru
Joined: 15 May 2002 Posts: 358 Location: omnipresent
|
Posted: Tue Dec 16, 2003 5:08 am Post subject: |
|
|
fixed it by doing
Code: | export FEATURE="-sandbox"; emerge portage |
_________________ Using Gentoo since 2002. |
|
Back to top |
|
|
|