On Mon, 10 Jul 2017 14:48:23 -0500
Ben Kohler <bkoh...@gmail.com> wrote:

> >
> >
> >  - The -c option should say why it will not remove.
> >
> >
> > --
> > William L. Thomson Jr.
> >
> It does, if you use the --verbose flag.  This is mentioned in your
> emerge output a few times.

It just shows the dep chain, not a reason or warning. I am saying it
just needs a warning. A reason why it did not remove. When not using
versbose/-v

Warning like
"Not removing package A as it is a dependency of another package"

This just shows the dep chain, no reason why. Its left to the user to
interpret, since not removed. Its needed by other stuff. But that is
not said explicitly.

# emerge -cav gcc

Calculating dependencies... done!
  sys-devel/gcc-6.3.0 pulled in by:
    @system requires sys-devel/gcc
    dev-db/mysql-5.6.36 requires >=sys-devel/gcc-3.4.6
    media-libs/libmypaint-1.3.0 requires sys-devel/gcc:*[openmp]
    media-libs/mesa-17.1.2 requires >=sys-devel/gcc-4.6
    net-libs/webkit-gtk-2.4.11-r200 requires >=sys-devel/gcc-4.7
    sys-devel/llvm-4.0.0-r2 requires >=sys-devel/gcc-3.0
    sys-libs/glibc-2.24-r2 requires >=sys-devel/gcc-4.7

>>> No packages selected for removal by depclean
Packages installed:   1779
Packages in world:    194
Packages in system:   257
Required packages:    1779
Number removed:       0


This is worse and just needs a message, warning, as to why it was not
removed.

# emerge -pc gcc

Calculating dependencies... done!
>>> No packages selected for removal by depclean
>>> To see reverse dependencies, use --verbose
Packages installed:   1779
Packages in world:    194
Packages in system:   257
Required packages:    1779
Number to remove:     0


Either way, as I stated, if using -C, you get warnings with profiles
and sets, but not with deps. Deps should have a warning as well.

-- 
William L. Thomson Jr.

Attachment: pgpLCnqsGksgh.pgp
Description: OpenPGP digital signature

Reply via email to