LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
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 11-18-2004, 06:27 AM   #1
lilyerr
LQ Newbie
 
Registered: Mar 2004
Posts: 27

Rep: Reputation: 15
SOS:::Emerge Problem!!!


#emerge gnome
File "/usr/bin/emerge" ,line 10 , in ?
import portage
File "/usr/lib/portage/pym/portage.py" , line 7140 , in ?
do_upgrade(mykey)
File "/usr/lib/portage/pym/portage.py" , line 7077 , in ?
myworld=open("/"+WORLD_FILE,"w")
IOERROR:[ERRNO 2] No such file or directory : '//var/lib/portage/world'


How to solve this problem?
 
Old 11-18-2004, 10:29 AM   #2
qwijibow
LQ Guru
 
Registered: Apr 2003
Location: nottingham england
Distribution: Gentoo
Posts: 2,672

Rep: Reputation: 47
hmm.... try to update the portage tree, then re-emerge emerge.


Code:
emerge sync && emerge portage

how did you get into this problem ?
 
Old 11-18-2004, 06:25 PM   #3
lilyerr
LQ Newbie
 
Registered: Mar 2004
Posts: 27

Original Poster
Rep: Reputation: 15
The emerge command itself run wrong ,so i cannot emerge anything.
 
Old 11-24-2004, 04:46 AM   #4
carbon10
LQ Newbie
 
Registered: Nov 2004
Posts: 2

Rep: Reputation: 0
I just gave Gentoo a shot tonight and got exactly the same error message.

Emerge ...... any app here will make this error aslo so will
emerge --sync or
emerge -p ....

What I did was move into the /var/lib/ directory and did a ls.

This did not return the portage/ directory emerge was looking for so I did

Code:
mkdir portage
than ran
Code:
emerge --sync
to redo my ports.

I believe the problem was that when I did the install somehow I lost my /var/lib/portage/
I now have it working and am starting to emerge my SSH.

(Sorry if I got confusing, it is late and Gentoo has me squinting my eyes)

Eric
 
Old 11-25-2004, 10:18 AM   #5
mdpniesta
LQ Newbie
 
Registered: Nov 2004
Distribution: gentoo
Posts: 16

Rep: Reputation: 0
i have a problem with using emerge when installing gentoo...is the command supposed to work when installing? i am following the step by step guidelines and this is where i am stuck
help!
mark
 
  


Reply



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
Amanda [out of tape problem]! SOS! hueofwind Linux - General 0 11-28-2005 10:15 PM
Major Problem - Sos mac_casey Linux - General 9 01-29-2005 06:11 PM
DNS need help ? pls help me ! SOS SOS AngelOfTheDamn Linux - Networking 2 02-23-2004 12:13 PM
Rlogin Problem SOS Please tungaw2001 Linux - Networking 0 10-23-2003 05:11 AM
emerge errors during emerge -u world busbarn Linux - Distributions 6 04-23-2003 09:37 AM

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

All times are GMT -5. The time now is 04:05 AM.

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