Description of problem: Trying out some software packages (means: install - try - remove) led to a strange problem with dnf (dnf-0:1.1.5-1.fc23.noarch). dnf remove deleted wrong packages due to faulty dependencies (I think). Here the recipe (shortened a bit): Install blinken (a small game): [root@ln1 ~]# dnf install blinken Installed: blinken.x86_64 15.04.2-2.fc23 sj-fonts-common.noarch 2.0.2-13.fc23 sj-stevehand-fonts.noarch 2.0.2-13.fc23 Then remove it again: [[root@ln1 ~]# dnf remove blinken Remove: blinken x86_64 15.04.2-2.fc23 mesa-dri-drivers x86_64 11.1.0-1.20151218.fc23 mesa-filesystem x86_64 11.1.0-1.20151218.fc23 sj-fonts-common noarch 2.0.2-13.fc23 sj-stevehand-fonts noarch 2.0.2-13.fc23 Note the two additional lines compared to the "dnf install" list above! If one (like me in this case) doesn't notice the additionally (to be) removed mesa-drivers the system is no longer GUI-like usable (without those graphics drivers...). I did several tests then with installing and removing blinken, sj-fonts-common and sj-stevehand-fonts, together and in several combinations. But I'm not able to see why the mesa-drivers get removed automatically. This is reproducable. Of course, removing blinken without the dependencies is working fine: [root@ln1 ~]# dnf --setopt=clean_requirements_on_remove=False remove blinken sj-stevehand-fonts sj-fonts-common So I suspect a wrong (hidden) dependency somewhere in those three packages or a bug in dnf itself.
Was the mesa-dri-driver installed by package Kit?. Can you attach debugdata [1], please? [1] https://github.com/rpm-software-management/dnf/wiki/Bug-Reporting#dependency-resolution-problem
Created attachment 1113621 [details] debugging info from "dnf remove blinken --debugsolver"
How can I find that out? I'm not a packagekit expert. I didn't install the mesa* parts manually. It is an almost fresh install, so I assume that they came in during installation. The debugdata is attached above.
rpm -q libsolv hawkey dnf libsolv-0.6.14-7.fc23.x86_64 hawkey-0.6.2-3.fc23.x86_64 dnf-1.1.5-1.fc23.noarch
hmm...Can you please attach compressed `/var/lib/yum/yumdb` (if any) and `/var/lib/dnf/yumdb` directories?
Created attachment 1116322 [details] /var/lib/dnf/yumdb/
Created attachment 1116323 [details] /var/lib/yum/yumdb/
thanks
*** This bug has been marked as a duplicate of bug 1259865 ***