On Tue, Dec 1, 2015 at 3:02 AM, Petr Spacek <pspa...@redhat.com> wrote:

> On 1.12.2015 08:20, Dan Book wrote:
> > I have run into this before and it was very confusing, it really should
> be
> > a separate command from remove for when you actually want to remove what
> > dnf thinks is now "unused".
>
> Maybe it would help if these auto-removed packages are clearly marked as
> such
> in summary printed by DNF.
>
> Currently the output looks like this:
> $ dnf remove ekiga
> Dependencies resolved.
> =============================================================
> Removing:
>  ekiga                 x86_64 4.0.1-17.fc22   @fedora   19 M
>  evolution-data-server x86_64 3.16.5-1.fc22   @updates  14 M
>  geocode-glib          x86_64 3.16.2-1.fc22   @fedora  160 k
>  gnome-online-accounts x86_64 3.16.4.1-1.fc22 @updates 4.0 M
>  libgdata              x86_64 0.17.3-1.fc22   @updates 1.7 M
> ... and so on
>
> It would be easier to understand if it printed:
>
> $ dnf remove ekiga
> Dependencies resolved.
> =============================================================
> Removing:
>  ekiga                 x86_64 4.0.1-17.fc22   @fedora   19 M
> Removing unused dependencies:
>  evolution-data-server x86_64 3.16.5-1.fc22   @updates  14 M
>  geocode-glib          x86_64 3.16.2-1.fc22   @fedora  160 k
>  gnome-online-accounts x86_64 3.16.4.1-1.fc22 @updates 4.0 M
>  libgdata              x86_64 0.17.3-1.fc22   @updates 1.7 M
>
> ... and so on
>
> Petr^2 Spacek
>

This would be a great improvement indeed.
-Dan


>
> >
> > On Tue, Dec 1, 2015 at 1:38 AM, Panu Matilainen <
> pmati...@laiskiainen.org>
> > wrote:
> >
> >> On 12/01/2015 07:02 AM, Christopher wrote:
> >>
> >>> What's the deal with libreoffice packages being a dependency for so
> many
> >>> system library packages?
> >>>
> >>> I try to `sudo dnf remove libreoffice\*` and it grabs a bunch of
> >>> surprising
> >>> packages with it, including some fonts and system libraries. Granted, I
> >>> don't think I need any of these things, so it's probably safe to
> uninstall
> >>> them, but it is surprising that so many packages depend on libreoffice
> >>> packages. I'd normally expect the dependencies to be the other way
> around
> >>> (libreoffice-* depending on system libraries some basic fonts, while
> other
> >>> fonts are independent or have only optional dependencies on
> LibreOffice).
> >>>
> >>> I don't need or want an offline office suite (it's huge, and takes up
> >>> bandwidth during updates). I don't mind uninstalling it after a fresh
> >>> install, but it is surprising how much goes with it.
> >>>
> >>
> >>
> >>
> http://dnf.readthedocs.org/en/latest/cli_vs_yum.html#clean-requirements-on-remove-on-by-default
> >>
> >>
> http://dnf.readthedocs.org/en/latest/conf_ref.html#clean-requirements-on-remove-label
> >>
> >> Its not that system libraries depend on libreoffice but libreoffice
> being
> >> the sole user of those libraries, and dnf offering to remove the
> otherwise
> >> unused cruft along with it.
> >>
> >>         - Panu -
> --
> devel mailing list
> devel@lists.fedoraproject.org
> http://lists.fedoraproject.org/admin/lists/devel@lists.fedoraproject.org
>
--
devel mailing list
devel@lists.fedoraproject.org
http://lists.fedoraproject.org/admin/lists/devel@lists.fedoraproject.org

Reply via email to