1 |
Dimitar Toshev wrote: |
2 |
> On Friday 20 January 2006 19:44, Phil Sexton wrote: |
3 |
> |
4 |
>>Michael A Smith wrote: |
5 |
>> |
6 |
>>>Phil Sexton wrote: |
7 |
>>> |
8 |
>>>>Felipe Ribeiro wrote: |
9 |
>>>> |
10 |
>>>>>Where do I find the list with all installed packages? |
11 |
>>>>> |
12 |
>>>>>Cheers, |
13 |
>>>>> |
14 |
>>>>>Felipe |
15 |
>>>> |
16 |
>>>>The ones you emerged are listed in the file: |
17 |
>>>> |
18 |
>>>>/var/lib/portage/world |
19 |
>>>> |
20 |
>>>>Want it in alphabetical order? |
21 |
>>>> |
22 |
>>>>cat /var/lib/portage/world|less |
23 |
>>> |
24 |
>>>Isn't that a superfluous use of cat? Why not |
25 |
>>> |
26 |
>>>less /var/lib/portage/world |
27 |
>>> |
28 |
>>>-Mike |
29 |
>> |
30 |
>>Oops! I was actually thinking: |
31 |
>> |
32 |
>>sort /var/lib/portage/world|less |
33 |
>> |
34 |
>>This gives the listing in alphabetical order, what I previously |
35 |
>>posted doesn't alphabetize it. |
36 |
>> |
37 |
>>-- |
38 |
>>Phil |
39 |
>>My Home Page: http://fancypiper.info |
40 |
>>Our 2nd CD: http://www.cdbaby.com/naomisfancy |
41 |
>>Naomi's Fancy performances: |
42 |
>>http://naomisfancy.virtualave.net/schedule.html |
43 |
> |
44 |
> |
45 |
> No, no. You have gotten it all wrong. /var/lib/portage/world lists only |
46 |
> manually installed packages. |
47 |
> e.g.: If you do not have X installed and do |
48 |
> emerge gnome |
49 |
> X will be pulled in as a dependency, along with a whole lot of other stuff, |
50 |
> but only gnome will be written in world, because that is the package you |
51 |
> manually emerged. This is why in order upgrade your whole system you have to |
52 |
> do emerge -u -D world. -D makes emerge check for the given packages' |
53 |
> dependencies as well. Though this means, that if you have a package |
54 |
> installed, that is not listed in world, nor is a dependency of anything in |
55 |
> world, it will never get picked up by portage. It has been stated, that the |
56 |
> devs will probably implement an "all" keyword in portage, at some point, so |
57 |
> that one can more efficiently check for updates to all packages, instead of |
58 |
> only those in world and their dependencies. |
59 |
> |
60 |
> To answer the original question: |
61 |
> Portage keeps information about all emerged pacakges in /var/db/pkg . |
62 |
|
63 |
<nit-pick>Don't you mean all compiled packages rather than |
64 |
emerged packages?</nit-pick> |
65 |
|
66 |
As I understand it, all emerged packages are listed in the world |
67 |
file, and all packages that are installed and compiled |
68 |
dependencies are listed in the /var/db/pkg file. |
69 |
|
70 |
It wasn't completely clear to me which was meant by "installed" |
71 |
and I took it as the packages installed by emerging them. |
72 |
|
73 |
-- |
74 |
Phil |
75 |
My Home Page: http://fancypiper.info |
76 |
Our 2nd CD: http://www.cdbaby.com/naomisfancy |
77 |
Naomi's Fancy performances: |
78 |
http://naomisfancy.virtualave.net/schedule.html |
79 |
-- |
80 |
gentoo-user@g.o mailing list |