LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions
User Name
Password
Linux - Distributions This forum is for Distribution specific questions.
Red Hat, Slackware, Debian, Novell, LFS, Mandriva, Ubuntu, Fedora - the list goes on and on... Note: An (*) indicates there is no official participation from that distribution here at LQ.

Notices


Reply
  Search this Thread
Old 06-08-2006, 01:12 PM   #1
jollyjoice
Member
 
Registered: Aug 2003
Location: UK
Distribution: Gentoo 64
Posts: 383

Rep: Reputation: 30
F***ed my gentoo.


Ok, Trying to upgrade to the new xorg 7.0 and it's all gone tits up.

I now have no X, and can't log in, and now python has died.

Tried to reinstall old 6.9.0rsomething and now X fails to load.

Login prompt, enter user name and hit enter, no "password:" prompt, or anything at all, ctrl+c gets me back to login prompt but no user can login.

Booting ubuntu live cd to get 64bit environ, can chroot into system, however python has now thrown it's toys out the pram.

Quote:
Could not find platform dependent libraries <exec_prefix>
Consider setting $PYTHONHOME to <prefix>[:<exec_prefix>]


!!! Failed to complete python imports. These are internal modules for
!!! python and failure here indicates that you have a problem wit h python
!!! itself and thus portage is not able to continue processing.

!!! You might consider starting python with verbose flags to see what has
!!! gone wrong. Here is the information we got for this exception :
No module named fcntl

Traceback (most recent call last):
File "/usr/sbin/env-update", line 28, in ?
import portage
File "/usr/lib/portage/pym/portage.py", line 20, in ?
import os,string,types,signal,fcntl,errno
ImportError: No module named fcntl

Any help very welcome.

Thanks!
 
Old 06-08-2006, 02:04 PM   #2
oneandoneis2
Senior Member
 
Registered: Nov 2003
Location: London, England
Distribution: Ubuntu
Posts: 1,460

Rep: Reputation: 48
Tried logging in to the single-user, non-graphical runlevel?
 
Old 06-08-2006, 02:34 PM   #3
jollyjoice
Member
 
Registered: Aug 2003
Location: UK
Distribution: Gentoo 64
Posts: 383

Original Poster
Rep: Reputation: 30
nope, I'm missing any login software it seems, i need shadow, but python isn't playing nice so I can't use portage to install it... Trying to get portage working again 1st, work from there I think.
 
Old 06-30-2006, 11:55 PM   #4
Wolfgang Dobler
LQ Newbie
 
Registered: Jun 2006
Posts: 1

Rep: Reputation: 0
I just had a similar
Quote:
Could not find platform dependent libraries <exec_prefix>
Consider setting $PYTHONHOME to <prefix>[:<exec_prefix>]
problem after trying to upgrade to x11-7.0 on x86_64 (and 7.0 is now marked as stable -- most likely by accident...).

The reason was that something (some component of x11, I guess) screwed up /usr/lib64. This should be a link to /usr/lib,
Quote:
/usr/lib64 -> lib
but after the failed installation it was pointing to /lib64.

40 minutes later...
It was actually x11-base/xorg-x11-6.8.2-r8 that screwed up the link, just before being done with the installation. I am currently installing x11-base/xorg-x11-6.8.2-r7 to see whether that is better.

Another hour later...
That did not make a difference. I have no clue why 6.8.2 would now try to do something stupid and choke on it if it installed perfectly fine the last time.

So I am now going for a binary package from another machine (as I was too stupid to make one on this computer).
Three minutes later...
This did the job.

Last edited by Wolfgang Dobler; 07-01-2006 at 01:57 AM.
 
Old 09-05-2006, 12:13 PM   #5
jollyjoice
Member
 
Registered: Aug 2003
Location: UK
Distribution: Gentoo 64
Posts: 383

Original Poster
Rep: Reputation: 30
Hey, nice to see you got it working.

I gave up in the end and tried that fancy new gui installer
 
  


Reply

Tags
gentoo, python, x8664


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
xp/gentoo dual boot , gentoo on usb external hard drive gentoo2006 Linux - Laptop and Netbook 2 09-16-2007 11:55 AM
Gentoo live cd will not mount /dev/hdc on HP Omnibook xe3 (Gentoo 2006.0.0) tommygoober Linux - Software 3 03-16-2007 06:51 AM
How do I start installing stage 3 of gentoo from universal gentoo 2005-1? kazuya1977 Linux - General 1 11-11-2005 10:30 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
Dual boot w/ Gentoo/xp pro vs. gentoo-invalid partition table bobbear Linux - Software 3 02-10-2004 04:28 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions

All times are GMT -5. The time now is 10:56 PM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration