GentooThis forum is for the discussion of Gentoo Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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?
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.
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:
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?
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.
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.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.