View previous topic :: View next topic |
Author |
Message |
eddieparker Tux's lil' helper
Joined: 09 Sep 2004 Posts: 147
|
Posted: Sun Oct 03, 2004 9:37 pm Post subject: "world" file is 0 bytes? |
|
|
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 |
|
|
Earthwings Bodhisattva
Joined: 14 Apr 2003 Posts: 7753 Location: Germany
|
Posted: Sun Oct 03, 2004 9:41 pm Post subject: |
|
|
|
|
Back to top |
|
|
moocha Watchman
Joined: 21 Oct 2003 Posts: 5722
|
Posted: Mon Oct 04, 2004 3:32 am Post subject: |
|
|
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 |
|
|
kallamej Administrator
Joined: 27 Jun 2003 Posts: 4975 Location: Gothenburg, Sweden
|
|
Back to top |
|
|
|
|
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
|
|