1 |
On Wednesday 24 May 2006 02:16, Jonathan Chocron <jonathan.chocron@××××.fr> |
2 |
wrote about '[gentoo-user] Confused with the --oneshot option of |
3 |
portage.': |
4 |
> I need to do a little bit of portage history before asking a my |
5 |
> question, sorry. If the following is wrong, please correct me ! |
6 |
> |
7 |
> Once upon a time, in the happy land of portage, there was a file named |
8 |
> world. This file knew of all the packages that inhabited a planet called |
9 |
> gentoo system. |
10 |
|
11 |
As long as I've been using gentoo (not long, since 2004) this file has |
12 |
always only listed packages you explicitly installed, not any of their |
13 |
dependencies. Although, some misguided users accused it on containing all |
14 |
their packages. |
15 |
|
16 |
> Then, this file was cruelly deleted by the gods known as gentoo devs. It |
17 |
> was not cruel or anything, it was just that the file had served its |
18 |
> purposed and was now to be regenerated every time someone invoked |
19 |
> "emerge -Dup world". |
20 |
|
21 |
*I* still have this file. It did *MOVE* at some point but it current |
22 |
incarnation is at /var/lib/portage/world. I've edited the file manually a |
23 |
number of times followed by a emerge -A --depclean to clean up my system. |
24 |
|
25 |
The file that changed from existing to being auto-calculated was the "edb |
26 |
cache" IIRC. From what I understand, these isn't a way to auto-calculate |
27 |
world from what's stored in /var/db/pkg and /var/lib/portage (other than |
28 |
world and world.backup). |
29 |
|
30 |
> So, here are my questions : With world being autogenerated |
31 |
|
32 |
World isn't auto-generated. |
33 |
|
34 |
> - If I emerge a library, like xvid with "emerge xvid", it will end up in |
35 |
> world. How do I revert that ? Do I have to emerge -C xvid and then |
36 |
> emerge --oneshot xvid ? |
37 |
|
38 |
Edit /var/lib/portage/world. |
39 |
|
40 |
> - If I emerge -Dup world, will the listed packages alkl end-up in world |
41 |
> ? |
42 |
|
43 |
Nope, because they weren't listed on the command-line. Just like when you |
44 |
emerge kde-meta you only get one package added to world not 300. |
45 |
|
46 |
> - If I first emerge a package, for example kmail, with emerge kmail, and |
47 |
> later, during an upgrade phase, do an emerge --oneshot kmail, will kmail |
48 |
> be removed from world ? |
49 |
|
50 |
That's one for the portage devs, but I don't /think/ so. |
51 |
|
52 |
-- |
53 |
"If there's one thing we've established over the years, |
54 |
it's that the vast majority of our users don't have the slightest |
55 |
clue what's best for them in terms of package stability." |
56 |
-- Gentoo Developer Ciaran McCreesh |