Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
problem with emerge [closed]
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Unsupported Software
View previous topic :: View next topic  
Author Message
maximan
Tux's lil' helper
Tux's lil' helper


Joined: 29 Nov 2005
Posts: 110
Location: Rio Cuarto-Argentina

PostPosted: Mon Jan 08, 2007 7:19 pm    Post subject: problem with emerge [closed] Reply with quote

Today i come back from my vacations. When i power on the PC. I try to do: emerge --sync
I receive this error:
Code:
Bus error

Reading i found that i did fsck.reiser4 to fix data.
Then i do emerge and i receive this error.
Code:
emerge


!!! Failed to complete python imports. These are internal modules for
!!! python and failure here indicates that you have a problem with 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 _random



!!! Failed to complete python imports. These are internal modules for
!!! python and failure here indicates that you have a problem with 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 _random

Traceback (most recent call last):
  File "/usr/bin/emerge", line 30, in ?
    import portage
  File "/usr/lib/portage/pym/portage.py", line 29, in ?
    from random import shuffle
  File "/usr/lib64/python2.4/random.py", line 68, in ?
    import _random
ImportError: No module named _random

I don't know what happend.
Could you help me?

M.


Last edited by maximan on Tue Jan 09, 2007 2:17 pm; edited 1 time in total
Back to top
View user's profile Send private message
smadasam
Tux's lil' helper
Tux's lil' helper


Joined: 08 Jun 2005
Posts: 82
Location: Seattle, WA

PostPosted: Mon Jan 08, 2007 9:09 pm    Post subject: Reply with quote

You might try booting to the live cd, mounting your partitions, and chrooting. Then see you can update your system. Perhaps you will have to reemerge python in this state. Give it a shot.
_________________
Intel 486 DX4 100
16 MB RAM
ATI Mach64 2 MB
300 MB HD
14.4 kbps
Back to top
View user's profile Send private message
maximan
Tux's lil' helper
Tux's lil' helper


Joined: 29 Nov 2005
Posts: 110
Location: Rio Cuarto-Argentina

PostPosted: Mon Jan 08, 2007 9:38 pm    Post subject: Reply with quote

I can't do this because when i try to emerge on chroot i take the same error.
M.
Back to top
View user's profile Send private message
gimpel
Advocate
Advocate


Joined: 15 Oct 2004
Posts: 2720
Location: Munich, Bavaria

PostPosted: Mon Jan 08, 2007 10:01 pm    Post subject: Reply with quote

Roll in your backups :P (OK that was unfair, but hell true. External harddisks are cheap, good to have one for backups, also dvd burners rule fore that.) Especially when using a filesystem like reiser4 (no offense, i use it myself)

Anyways, try to find someone on irc or here or wherever who has similar systemspecs as you do (amd64 at least) and ask for a quickpkg of python and maybe portage too, then PRAY that tar isn't f*cked up, and just tar xvf the quickpkg to / . That should do it.
Or you search for amd64 python binpkg - there should be some out there.

I have x86, otherwhise I could offer you that. No idea if it plays a role if it's 64 or 32bit regarding python, but my guess is that it does.
_________________
http://proaudio.tuxfamily.org/wiki - pro-audio software overlay
Back to top
View user's profile Send private message
maximan
Tux's lil' helper
Tux's lil' helper


Joined: 29 Nov 2005
Posts: 110
Location: Rio Cuarto-Argentina

PostPosted: Tue Jan 09, 2007 2:17 pm    Post subject: Reply with quote

Fixed

https://forums.gentoo.org/viewtopic-t-530359.html

M.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Unsupported Software 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