Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
lost /var... now im lost! help maby needed? more like advice
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Duplicate Threads
View previous topic :: View next topic  
Author Message
swooshOnLn
l33t
l33t


Joined: 28 Feb 2006
Posts: 741
Location: Charlotte, North Carolina

PostPosted: Fri Apr 28, 2006 4:39 pm    Post subject: lost /var... now im lost! help maby needed? more like advice Reply with quote

Ok, I was playing around with installing debian, and I accidently set my /tmp dir to /var on my gentoo machine (yeah, dumb mistake). When I booted back into gentoo, I got alot of complaints about missing logs and such, so I did "emerge --newuse world" and "emerge --newuse x11-xorg" (because X wouldnt start /var/<log> wasnt there). I am now back into my gentoo system, but I am unsure really where I stand in teh words of a "stable" system. Most programs work, unless they keep logs, In which case, I have to re-emerge them. However a strange thing is happening. I am trying to re-emerge "conky" with "emerge conky", but its pulling in packages like "xmms" and such, and its confusing me. Is this something to do with loosing /var? Any thoughts about my situation?
_________________
"WARNING: you may LOL"

This is my font size, color, and signature. It will change to whatever I pick. How cool is that?
Back to top
View user's profile Send private message
Rafael Pinto
n00b
n00b


Joined: 12 Jan 2004
Posts: 22
Location: Brasil

PostPosted: Fri Apr 28, 2006 5:05 pm    Post subject: Reply with quote

humm... You really did mess up!!

Well, the fact emerge is pulling other packages is due the fact that the portage "world" file was in /var before. Right now it is just as you were doing an "emerge -e" on your stuff...


Regards
Back to top
View user's profile Send private message
swooshOnLn
l33t
l33t


Joined: 28 Feb 2006
Posts: 741
Location: Charlotte, North Carolina

PostPosted: Fri Apr 28, 2006 5:07 pm    Post subject: Reply with quote

would "emerge -e" rebuild everything and in turn, fix this problem?
_________________
"WARNING: you may LOL"

This is my font size, color, and signature. It will change to whatever I pick. How cool is that?
Back to top
View user's profile Send private message
Rafael Pinto
n00b
n00b


Joined: 12 Jan 2004
Posts: 22
Location: Brasil

PostPosted: Fri Apr 28, 2006 5:13 pm    Post subject: Reply with quote

No, not really...

"emerge -e" stands for empty, meaning "emerge as if my system was brand new, and no ebuild was ever installed".

What I meant is that, because your world file was removed, emerge thinks no ebuild is installed, and tries to pull it back again. This will be a pain for a while... at least until everything gets back to normal

If you are sure (I mean *absolutely* sure) that a certain ebuild is already there, you can do an
Code:

emerge --inject =<your ebuild name here>


This will add an entry to the world database and stop trying to reinstall it.
_________________
Be cool! 8)
Adopt a unanswered post a day, and help the community!!
Back to top
View user's profile Send private message
swooshOnLn
l33t
l33t


Joined: 28 Feb 2006
Posts: 741
Location: Charlotte, North Carolina

PostPosted: Fri Apr 28, 2006 5:17 pm    Post subject: Reply with quote

so what should I do? Just kinda re-emerge stuff untill my world file is back to normal? hah. Also, did I loose anything *important* in /var?
_________________
"WARNING: you may LOL"

This is my font size, color, and signature. It will change to whatever I pick. How cool is that?
Back to top
View user's profile Send private message
tomk
Administrator
Administrator


Joined: 23 Sep 2003
Posts: 7219
Location: Sat in front of my computer

PostPosted: Fri Apr 28, 2006 5:30 pm    Post subject: Reply with quote

Moved from Installing Gentoo to Duplicate Threads, please see this topic: lost /var.
_________________
Search | Read | Answer | Report | Strip
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Duplicate Threads 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