dnf autoremove will just remove dependencies which is not used by
another packages.
BTW you can ignore removing non-used packages for one transaction
using option --setopt=clean_requirements_on_remove=false
On Tue, Dec 1, 2015 at 8:29 AM, Igor Gnatenko
<i.gnatenko.brain(a)gmail.com> wrote:
# dnf autoremove
On Tue, Dec 1, 2015 at 8:21 AM Dan Book <grinnz(a)gmail.com> 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".
>
> On Tue, Dec 1, 2015 at 1:38 AM, Panu Matilainen <pmatilai(a)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-o...
>>
>>
http://dnf.readthedocs.org/en/latest/conf_ref.html#clean-requirements-on-...
>>
>> 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(a)lists.fedoraproject.org
>>
http://lists.fedoraproject.org/admin/lists/devel@lists.fedoraproject.org
>
>
> --
> devel mailing list
> devel(a)lists.fedoraproject.org
>
http://lists.fedoraproject.org/admin/lists/devel@lists.fedoraproject.org
--
-Igor Gnatenko