1 |
On Wed, 16 Aug 2017 13:23:28 -0300, Francisco Ares wrote: |
2 |
|
3 |
> 2017-08-16 10:40 GMT-03:00 Arve Barsnes <arve.barsnes@×××××.com>: |
4 |
> |
5 |
> > On 16 August 2017 at 13:32, Francisco Ares <frares@×××××.com> wrote: |
6 |
> > |
7 |
> >> But, after backing up the original "world" file and replacing with |
8 |
> >> the one built by the script, things don't work as expected, as a lot |
9 |
> >> of packages were orphaned, by checking with "depclean". |
10 |
> >> |
11 |
> >> Anyone could tell me what did I miss? |
12 |
> >> |
13 |
> > |
14 |
> > You're probably getting false positives from equery, as you haven't |
15 |
> > taken USE flags into consideration. |
16 |
> > |
17 |
> > An example: |
18 |
> > # equery d unrar |
19 |
> > app-arch/rar-5.5.0_p20170811 (all_sfx ? app-arch/unrar) |
20 |
> > app-emulation/winetricks-20170614 (rar ? app-arch/unrar) |
21 |
> > |
22 |
> > I don't have the USE="rar" set on winetricks, so although it is |
23 |
> > correct that rar would keep unrar available, since I have |
24 |
> > USE="all_sfx" set, your script will make the wrong choice if I don't |
25 |
> > have rar installed. |
26 |
|
27 |
> Good point! Back to work. |
28 |
|
29 |
emerge -cpv cat/pkg will tell you whether the package can be removed or |
30 |
if it is needed by something else. It will take a while to run it for |
31 |
every atom in @world but it will give reliable results, as determined by |
32 |
portage. |
33 |
|
34 |
|
35 |
-- |
36 |
Neil Bothwick |
37 |
|
38 |
Nostalgia isn't what it used to be. |