Am Montag, den 18.01.2016, 07:05 -0500 schrieb Honza Šilhan:
From: "James Hogarth" james.hogarth@gmail.com The autoremove reference might be the well known issue with packagekit, not dnf, that is not marking packages as installed rather than dependencies.
The default dnf configuration is autoremove so that doesn't then know that have been specifically installed rather than just unneeded dependencies of something else and then helpfully tries to remove them...
Note this is a result of a packagekit bug not dnf.
On a side note it'd be nice if pk just called out to dnf so that they have a common backend which would prevent behaviour like this and would result in sharing a history database as well.
yes, autoremoval issue could be either caused by bad packaging [1] or when you are installing packages via yum or packagekit [2]. We are working on better integration between DNF and PK so this could be fixed soon. At the meantime use this workaround [3]. [1] https://bugzilla.redhat.com/show_bug.cgi?id=1222812#c23 [2] https://bugzilla.redhat.com/show_bug.cgi?id=1259865 [3] http://dnf.baseurl.org/2015/10/26/mark-command-usecase/
That workaround is only useable if you know what packages you've installed via PK but because this issue exists nearly since a year that could be hard to remember what pacakges were installed via PK.