Emerge is Gone :((( [Solved]

Anything that pertains to Portage

Moderator: Moderators

Emerge is Gone :((( [Solved]

Postby r3aktor.mkd » Tue Dec 01, 2009 4:23

I folowed this guige
http://wiki.sabayonlinux.org/index.php? ... _GUI_Tools

So I did
emerge --sync


and there was one config file out of date, so I did
etc-update


I tried to install lastest ver. of mplayer
emerge media-video/mplayer


I couldnt because of libScreensaver.
emerge -c x11-libs/libXScrnSaver


And it removed some gnome and KDE dependencies

Tried to update portage again, and it complained about python version. So i did
eselect python set *

viewtopic.php?f=54&t=17085

Now I couldnt update both Portage and Python.

But thats not the worst thing.
The worst thing was when I tried to run
emerge <whatever>

i got this...
bash: /usr/bin/emerge: /usr/bin/python: bad interpreter: No such file or directory


I dont know should I start to laught or cry...


equo install portage


>> @@ Calculating dependencies ...
>> @@ Packages needing to be installed/updated/downgraded: 1
>> @@ Packages needing to be removed: 0
>> @@ Download size: 0b
>> @@ Freed disk space: 0.0b
>> @@ You need at least: 1.7MB of free space
>> :: (1/1) >>> sys-apps/portage-2.2_rc33
>> ## Package checksum matches: sys-apps:portage-2.2_rc33~0.tbz2
>> : SHA1 matches
>> : SHA256 matches
>> : SHA512 matches
>> ++ (1/1) >>> sys-apps/portage-2.2_rc33
>> ## Unpacking package: sys-apps:portage-2.2_rc33~0.tbz2
>> ## SPM: pre-install phase
/usr/bin/env: python: No such file or directory
*
* ERROR: sys-apps/portage-2.2_rc33 failed.
* Call stack:
* ebuild.sh, line 1776: Called die
* The specific snippet of code:
* preprocess_ebuild_env || \
* die "error processing environment"
* The die message:
* error processing environment
*
* If you need support, post the topmost build error, and the call stack if relevant.
* A complete build log is located at '/var/lib/entropy/logs/sys-apps:portage-2.2_rc33:20091201-031857.log'.
* The ebuild environment file is located at '/var/tmp/entropy/packages/amd64/4/sys-apps:portage-2.2_rc33~0.tbz2/portage/sys-apps/portage-2.2_rc33/temp/environment'.
* This ebuild is from an overlay: '/var/tmp/entropy/packages/amd64/4/sys-apps:portage-2.2_rc33~0.tbz2/'
*
>> ## SPM: post-remove phase
/usr/bin/env: python: No such file or directory
*
* ERROR: sys-apps/portage-2.2_rc33 failed.
* Call stack:
* ebuild.sh, line 1776: Called die
* The specific snippet of code:
* preprocess_ebuild_env || \
* die "error processing environment"
* The die message:
* error processing environment
*
* If you need support, post the topmost build error, and the call stack if relevant.
* A complete build log is located at '/var/lib/entropy/logs/sys-apps:portage-2.2_rc33:20091201-031857.log'.
* The ebuild environment file is located at '/var/tmp/entropy/sys-apps/portage-2.2_rc33/binpkgs/sys-apps/portage-2.2_rc33/temp/environment'.
*
>> ## Installing package: sys-apps/portage-2.2_rc33
>> ## [Portage is the package management and distribution system for Gentoo]
>> ## Updating database: sys-apps/portage-2.2_rc33
>> ## Cleaning previously installed information...
>> ## SPM: post-install phase
/usr/bin/env: python: No such file or directory
*
* ERROR: sys-apps/portage-2.2_rc33 failed.
* Call stack:
* ebuild.sh, line 1776: Called die
* The specific snippet of code:
* preprocess_ebuild_env || \
* die "error processing environment"
* The die message:
* error processing environment
*
* If you need support, post the topmost build error, and the call stack if relevant.
* A complete build log is located at '/var/lib/entropy/logs/sys-apps:portage-2.2_rc33:20091201-031857.log'.
* The ebuild environment file is located at '/var/tmp/entropy/packages/amd64/4/sys-apps:portage-2.2_rc33~0.tbz2/portage/sys-apps/portage-2.2_rc33/temp/environment'.
* This ebuild is from an overlay: '/var/tmp/entropy/packages/amd64/4/sys-apps:portage-2.2_rc33~0.tbz2/'
*
Traceback (most recent call last):
File "/usr/bin/equo", line 873, in <module>
main()
File "/usr/bin/equo", line 504, in main
rc = text_ui.package(options)
File "/usr/lib/entropy/client/text_ui.py", line 135, in package
check_critical_updates = True)
File "/usr/lib/entropy/client/text_ui.py", line 1211, in installPackages
rc = Package.run(xterm_header = xterm_header)
File "/usr/lib/entropy/libraries/entropy/client/interfaces/package.py", line 2218, in run
rc = self.run_stepper(xterm_header)
File "/usr/lib/entropy/libraries/entropy/client/interfaces/package.py", line 2190, in run_stepper
rc = steps_data.get(step)()
File "/usr/lib/entropy/libraries/entropy/client/interfaces/package.py", line 2134, in do_postinstall
return self.postinstall_step()
File "/usr/lib/entropy/libraries/entropy/client/interfaces/package.py", line 1888, in postinstall_step
trigger.run()
File "/usr/lib/entropy/libraries/entropy/client/interfaces/trigger.py", line 81, in run
trigger_func()
File "/usr/lib/entropy/libraries/entropy/client/interfaces/trigger.py", line 431, in trigger_env_update
subprocess.call([Trigger.ENV_UPDATE_HOOK])
File "/usr/lib64/python2.5/subprocess.py", line 444, in call
return Popen(*popenargs, **kwargs).wait()
File "/usr/lib64/python2.5/subprocess.py", line 594, in __init__
errread, errwrite)
File "/usr/lib64/python2.5/subprocess.py", line 1097, in _execute_child
raise child_exception
OSError: [Errno 2] No such file or directory


Any suggestions?
Last edited by r3aktor.mkd on Tue Dec 01, 2009 23:52, edited 1 time in total.
r3aktor.mkd
Baby Hen
 
Posts: 8
Joined: Fri Nov 27, 2009 17:20
Location: Macedonia

Re: Emerge is GONE :(((

Postby r3aktor.mkd » Tue Dec 01, 2009 4:40

I have a feeling that if i restart now, the next time ill boot will be from the live-dvd.
r3aktor.mkd
Baby Hen
 
Posts: 8
Joined: Fri Nov 27, 2009 17:20
Location: Macedonia

Re: Emerge is GONE :(((

Postby lxnay » Tue Dec 01, 2009 9:09

You failed to run this: "eselect python set *". Just run "eselect python update"
Image
Join us on IRC (chat.freenode.net #sabayon or WebChat)
Submit bugs to our Bug Tracker
Follow me on Twitter
Add me on Facebook
Add me on Google+
lxnay
Land Owner
 
Posts: 3415
Joined: Thu Oct 13, 2005 23:16
Location: Italy

Re: Emerge is GONE :(((

Postby r3aktor.mkd » Tue Dec 01, 2009 23:50

lxnay wrote:You failed to run this: "eselect python set *". Just run "eselect python update"


It worked!

I chosed Python2.4 instead 3.1

eselect python list

eselect python set 1 (2.4)

equo install portage
Then
emerge --sync

And its OK now, thanks again lxnay!
r3aktor.mkd
Baby Hen
 
Posts: 8
Joined: Fri Nov 27, 2009 17:20
Location: Macedonia

Re: Emerge is GONE :((( [Solved]

Postby r3aktor.mkd » Tue Dec 01, 2009 23:58

Code: Select all
sys-apps/portage
      Latest version available: 2.2_rc54
      Latest version installed: 2.2_rc33
      Size of files: 637 kB
      Homepage:      http://www.gentoo.org/proj/en/portage/index.xml


Looks like ver. 2.2_rc54 requires Python 2.6 or higher, but im sticking with 2.4 for now.
r3aktor.mkd
Baby Hen
 
Posts: 8
Joined: Fri Nov 27, 2009 17:20
Location: Macedonia

Re: Emerge is Gone :((( [Solved]

Postby lxnay » Wed Dec 02, 2009 0:25

On branch 5, Python must be set to 2.6.
Image
Join us on IRC (chat.freenode.net #sabayon or WebChat)
Submit bugs to our Bug Tracker
Follow me on Twitter
Add me on Facebook
Add me on Google+
lxnay
Land Owner
 
Posts: 3415
Joined: Thu Oct 13, 2005 23:16
Location: Italy

Re: Emerge is Gone :((( [Solved]

Postby totedati » Wed Dec 02, 2009 16:16

well ... from what i see, you use too much emerge commands and to less equo commands ... when you install sabayon linux try to use as much as you can equo infrastructure for mplayer, for example, and emerge for packages not in equo database ...

for configurations updates
Code: Select all
equo conf update
not
Code: Select all
etc-update
.. and so on ...

is better, if you can, start again with a fresh install ...
linux is free, the expertise to harness it is not!
you don't make so much money selling open source software!
You make MORE money USING it, just like google!
linux registered user #352479
User avatar
totedati
Technological Hen
 
Posts: 400
Joined: Thu Jan 11, 2007 0:24
Location: Sibiu, Romania


Return to Portage|Emerge Package Managers

Who is online

Users browsing this forum: No registered users and 0 guests