Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
/var/lib/portage/world file missing/broken
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
Atko
n00b
n00b


Joined: 27 Dec 2004
Posts: 14
Location: Budapest, Hungary

PostPosted: Mon Mar 14, 2005 9:41 am    Post subject: /var/lib/portage/world file missing/broken Reply with quote

Hi,

Yesterday night during I was emerging some packages I had a crash, and my system rebooted. Unfortunately the package I've emerged became broken, but a re-emerge finally solved the problem. But... after all I recognized that `emerge -Dup world` didn't show me any package to update, but I knew that I had at least half dozen such package. This morning I tried to find what was the problem, and I recognized that the /var/lib/portage/world file contains only two packages (I've emerged since the crash). My question is the following: Is there any way to regenerete automatically that file?

Thanks for your comments.
Atko
Back to top
View user's profile Send private message
tukachinchila
Apprentice
Apprentice


Joined: 11 Mar 2005
Posts: 274
Location: Oregon

PostPosted: Mon Mar 14, 2005 9:52 am    Post subject: Reply with quote

Quote:
Is there any way to regenerete automatically that file?

I don't know of any realistic way of doing this. I think I would just manually add a handfull of my favorite programs that are installed (and programs that would require security patches) and let the file fill up on its own after that.
To prevent this from happening again, use a journaling filesystem and setup fstab so that each filesystem gets checked during bootup.
Back to top
View user's profile Send private message
Earthwings
Bodhisattva
Bodhisattva


Joined: 14 Apr 2003
Posts: 7753
Location: Karlsruhe, Germany

PostPosted: Mon Mar 14, 2005 10:09 am    Post subject: Reply with quote

Hi Atko, welcome to the forums :)

If you're lucky and only your world file was corrupted, use regenworld to have it regenerated. See the FAQ.
Back to top
View user's profile Send private message
Atko
n00b
n00b


Joined: 27 Dec 2004
Posts: 14
Location: Budapest, Hungary

PostPosted: Mon Mar 14, 2005 10:13 am    Post subject: Reply with quote

Quote:
I don't know of any realistic way of doing this. I think I would just manually add a handfull of my favorite programs that are installed (and programs that would require security patches) and let the file fill up on its own after that.

That was what I was afraid of... :(
Quote:
To prevent this from happening again, use a journaling filesystem and setup fstab so that each filesystem gets checked during bootup.

Thank you for your advice, but I'm using xfs. Unfortunately this didn't help me last night. :( Some of my files screwed up totally. :(
Back to top
View user's profile Send private message
Atko
n00b
n00b


Joined: 27 Dec 2004
Posts: 14
Location: Budapest, Hungary

PostPosted: Mon Mar 14, 2005 10:22 am    Post subject: Reply with quote

Earthwings wrote:
Hi Atko, welcome to the forums :)

If you're lucky and only your world file was corrupted, use regenworld to have it regenerated. See the FAQ.


Hi Earthwings,

Thank you very much! This `regenworld` worked fine, and it has regenerated my world file. At first sight it looks like it's okay.

Thank you for your support!
Back to top
View user's profile Send private message
Earthwings
Bodhisattva
Bodhisattva


Joined: 14 Apr 2003
Posts: 7753
Location: Karlsruhe, Germany

PostPosted: Mon Mar 14, 2005 10:35 am    Post subject: Reply with quote

Great, moving to dups then.
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