On Wednesday 24 May 2006 02:16, Jonathan Chocron <[EMAIL PROTECTED]> 
wrote about '[gentoo-user] Confused with the --oneshot option of 
portage.':
> I need to do a little bit of portage history before asking a my
> question, sorry. If the following is wrong, please correct me !
>
> Once upon a time, in the happy land of portage, there was a file named
> world. This file knew of all the packages that inhabited a planet called
> gentoo system.

As long as I've been using gentoo (not long, since 2004) this file has 
always only listed packages you explicitly installed, not any of their 
dependencies.  Although, some misguided users accused it on containing all 
their packages.

> Then, this file was cruelly deleted by the gods known as gentoo devs. It
> was not cruel or anything, it was just that the file had served its
> purposed and was now to be regenerated every time someone invoked
> "emerge -Dup world".

*I* still have this file.  It did *MOVE* at some point but it current 
incarnation is at /var/lib/portage/world.  I've edited the file manually a 
number of times followed by a emerge -A --depclean to clean up my system.

The file that changed from existing to being auto-calculated was the "edb 
cache" IIRC.  From what I understand, these isn't a way to auto-calculate 
world from what's stored in /var/db/pkg and /var/lib/portage (other than 
world and world.backup).

> So, here are my questions : With world being autogenerated

World isn't auto-generated.

> - If I emerge a library, like xvid with "emerge xvid", it will end up in
> world. How do I revert that ? Do I have to emerge -C xvid and then
> emerge --oneshot xvid ?

Edit /var/lib/portage/world.

> - If I emerge -Dup world, will the listed packages alkl end-up in world
> ?

Nope, because they weren't listed on the command-line.  Just like when you 
emerge kde-meta you only get one package added to world not 300.

> - If I first emerge a package, for example kmail, with emerge kmail, and
> later, during an upgrade phase, do an emerge --oneshot kmail, will kmail
> be removed from world ?

That's one for the portage devs, but I don't /think/ so.

-- 
"If there's one thing we've established over the years,
it's that the vast majority of our users don't have the slightest
clue what's best for them in terms of package stability."
-- Gentoo Developer Ciaran McCreesh

Attachment: pgpdpAfHXTNyD.pgp
Description: PGP signature

Reply via email to