Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
"world" file is 0 bytes?
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
eddieparker
Tux's lil' helper
Tux's lil' helper


Joined: 09 Sep 2004
Posts: 147

PostPosted: Sun Oct 03, 2004 9:37 pm    Post subject: "world" file is 0 bytes? Reply with quote

Hello!

I'm trying to do an 'emerge depclean' (I'm running low on space), and I'm getting an error that my world file doesn't exist.. To be quite anal, that's not true - the world file exists, it's simply 0 bytes.

I'm not 1oo% sure what a world file is, but if I were to make an educated guess, it would be one that contains a list of all the packages installed, and their version numbers, or some such...

Which is weird - because emerge -u world seems to work, when a new ebuild is up... So I'm curious what's going on?

And most importantly, How do I rebuild my world file? I'm trying an 'emerge regen', but I don't think that has anything to do with it.

Your help would be most appreciated! :)

Cheers,

-e-
Back to top
View user's profile Send private message
Earthwings
Bodhisattva
Bodhisattva


Joined: 14 Apr 2003
Posts: 7753
Location: Germany

PostPosted: Sun Oct 03, 2004 9:41 pm    Post subject: Reply with quote

Code:
regenworld
Back to top
View user's profile Send private message
moocha
Watchman
Watchman


Joined: 21 Oct 2003
Posts: 5722

PostPosted: Mon Oct 04, 2004 3:32 am    Post subject: Reply with quote

Earthwings wrote:
Code:
regenworld


Even better (actually much, much better) use ecatmur's "dep" script to properly (re)generate the world file:
Code:
wget http://home.jesus.ox.ac.uk/~ecatmur/my-bin/dep
chmod +x dep
dep --help


eddieparker: The world file doesn't hold info on all packages installed and doesn't hold any version numbers. What it holds is a list of all packages that you have explicitely emerged (i.e. anything you've emerged via "emerge packagename", with the exception of packages that you've emerged with "emerge --oneshot packagename"). It doesn't hold packages that have been pulled into the system as dependencies of what you emerged.
For example, if you do
Code:
emerge  net-analyzer/tcpdump
that will pull in the net-libs/libpcap package as well - but only the net-analyzer/tcpdump package will show up in the world file.
_________________
Military Commissions Act of 2006: http://tinyurl.com/jrcto

"Those who would give up essential liberty to purchase a little temporary safety deserve neither liberty nor safety."
-- attributed to Benjamin Franklin
Back to top
View user's profile Send private message
kallamej
Administrator
Administrator


Joined: 27 Jun 2003
Posts: 4975
Location: Gothenburg, Sweden

PostPosted: Mon Oct 04, 2004 1:53 pm    Post subject: Reply with quote

Moved from Portage & Programming. Please see the FAQ GF16: Corrupt or empty world file, what do I do?
_________________
Please read our FAQ Forum, it answers many of your questions.
irc: #gentoo-forums on irc.libera.chat
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