On Wed, 16 Aug 2017 13:23:28 -0300, Francisco Ares wrote:

> 2017-08-16 10:40 GMT-03:00 Arve Barsnes <[email protected]>:
> 
> > On 16 August 2017 at 13:32, Francisco Ares <[email protected]> wrote:
> >  
> >> But, after backing up the original "world" file and replacing with
> >> the one built by the script, things don't work as expected, as a lot
> >> of packages were orphaned, by checking with "depclean".
> >>
> >> Anyone could tell me what did I miss?
> >>  
> >
> > You're probably getting false positives from equery, as you haven't
> > taken USE flags into consideration.
> >
> > An example:
> > # equery d unrar
> > app-arch/rar-5.5.0_p20170811 (all_sfx ? app-arch/unrar)
> > app-emulation/winetricks-20170614 (rar ? app-arch/unrar)
> >
> > I don't have the USE="rar" set on winetricks, so although it is
> > correct that rar would keep unrar available, since I have
> > USE="all_sfx" set, your script will make the wrong choice if I don't
> > have rar installed.

> Good point!  Back to work.

emerge -cpv cat/pkg will tell you whether the package can be removed or
if it is needed by something else. It will take a while to run it for
every atom in @world but it will give reliable results, as determined by
portage.


-- 
Neil Bothwick

Nostalgia isn't what it used to be.

Attachment: pgpY_5dk45BkU.pgp
Description: OpenPGP digital signature

Reply via email to