LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Gentoo
User Name
Password
Gentoo This forum is for the discussion of Gentoo Linux.

Notices

Reply
 
Search this Thread
Old 08-30-2004, 03:28 PM   #1
ascentsoft
LQ Newbie
 
Registered: Aug 2004
Location: Shetland, UK
Distribution: Gentoo, SuSE
Posts: 3

Rep: Reputation: 0
Unmerged python in gentoo system!


Hello,

I have just emerge unmerged python
That was silly of me wasn't it. Yes, but once you have had a wee chuckle perhaps you can tell me how to get out of this mess.

The problem is that emerge uses python. Do I have to start from scratch or can I do some kind of manual install?

Thanks

Chris
 
Old 08-30-2004, 05:24 PM   #2
Crashed_Again
Senior Member
 
Registered: Dec 2002
Location: Atlantic City, NJ
Distribution: Ubuntu & Arch
Posts: 3,503

Rep: Reputation: 57
If I had to take I guess, I'd say the way to get out of this is:

1. Boot the livecd
2. Chroot in & Mount Partitions
3. emerge python
 
Old 08-30-2004, 06:24 PM   #3
ponds
LQ Newbie
 
Registered: Mar 2004
Location: MSU
Distribution: Slackware
Posts: 24

Rep: Reputation: 15
You won't have python installed in your chroot, what you need to do is mount partitions, download a portage snapshot, extract the portage snapshot into your /mnt/gentoo or wherever you mounted what's normally /, then reboot and of course emerge sync.
 
Old 03-07-2008, 01:43 PM   #4
Sage314
LQ Newbie
 
Registered: Jul 2003
Distribution: Gentoo AMD64
Posts: 14

Rep: Reputation: 1
Similar issue

I'm having a similar problem on my system, only with gcc instead of python. I unmerged gcc and am now having problems re-emerging it even with the LiveCD. Here is the thread for reference:

Thread

I boot into the live cd, mount my partitions, chroot, attempt to emerge gcc, and it tries to find gcc to compile itself in the chrooted environment. The thread above suggests to copy the gcc exec (I don't know where to find it) from the cd and then re-emerge on the target partition. So, I'm lost. Help?
 
Old 10-23-2008, 02:00 PM   #5
Retrievil_Knievil
Member
 
Registered: Mar 2004
Location: Stavanger, Norway
Distribution: Gentoo, Slackware/SLAX, Knoppix, CentOS, IPCop & DSL
Posts: 138

Rep: Reputation: 21
Snapshot or stage?

Hi,

I did the following, after a momentary lapse of reason;

1. Download the most recent stage1-file from a mirror.
2. Extract the missing files (I installed the files from /usr/bin that started with "py" and the /python2.x folder from /usr/lib, think that was it)
3. emerge python
4./usr/sbin/python-updater

Had to remove the files I installed manually, but seems to be working. No reboot needed.
 
Old 11-02-2008, 04:12 PM   #6
Pestilent
LQ Newbie
 
Registered: Nov 2008
Posts: 1

Rep: Reputation: 0
Quote:
Originally Posted by Retrievil_Knievil View Post
Hi,

I did the following, after a momentary lapse of reason;

1. Download the most recent stage1-file from a mirror.
2. Extract the missing files (I installed the files from /usr/bin that started with "py" and the /python2.x folder from /usr/lib, think that was it)
3. emerge python
4./usr/sbin/python-updater

Had to remove the files I installed manually, but seems to be working. No reboot needed.
This method worked for me with one addition. For AMD64 build, you also need to copy the libpython.so* files from the stage files to /usr/lib64 . Once in place I emerged python and all was well.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Gentoo python problem (btdownload, gdesklets etc.) teek Linux - Distributions 2 10-16-2005 03:05 PM
Fedora System-Python gone :( Xiiph Linux - Software 1 04-02-2005 02:49 PM
python alternative to os.system() datadriven Programming 5 02-27-2005 07:57 AM
pkg-config error with emerge -aD gnome-python on Gentoo 2.6.9-gentoo-r6 ghrellin Linux - Software 2 12-22-2004 06:37 PM
gentoo portage suse python problem ... steefje Linux - Software 1 10-31-2004 06:28 AM


All times are GMT -5. The time now is 09:35 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration