2017-08-16 10:40 GMT-03:00 Arve Barsnes <arve.bars...@gmail.com>: > On 16 August 2017 at 13:32, Francisco Ares <fra...@gmail.com> 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. > > Cheers, > Arve >
Good point! Back to work. Thanks, Francisco