Description of problem: # dnf install fluxbox # dnf remove fluxbox # dnf autoremove The package artwiz-aleczapka-drift-fonts is installed as a dependency, but it can not be uninstalled automatically # dnf list installed |grep artwiz-aleczapka-drift-fonts.noarch artwiz-aleczapka-drift-fonts.noarch 1.3-19.fc24 @fedora # dnf history userinstalled|grep artwiz-aleczapka-drift-fonts.noarch # # dnf history ID | Command line | Date and time | Action(s) | Altered ------------------------------------------------------------------------------- 40 | remove fluxbox | 2016-12-30 23:16 | Erase | 14 39 | install gxmessage | 2016-12-30 22:29 | Install | 1 38 | install fluxbox | 2016-12-30 21:42 | Install | 22 37 | install fdupes | 2016-12-30 12:02 | Install | 1 ... Version-Release number of selected component (if applicable): # dnf --version 1.1.10 Installed: dnf-0:1.1.10-4.fc25.noarch at 2016-12-26 15:55 Built : Fedora Project at 2016-12-02 15:55 Installed: rpm-0:4.13.0-6.fc25.x86_64 at 2016-12-26 15:55 Built : Fedora Project at 2016-12-03 12:31 How reproducible: install fluxbox and remove it Steps to Reproduce: 1. dnf install fluxbox 2. dnf remove fluxbox 3. dnf autoremove Actual results: the package artwiz-aleczapka-drift-fonts is left in system. Expected results: the package artwiz-aleczapka-drift-fonts should be uninstalled. Additional info:
Please run dnf autoremove with --debugsolver and attach `debugdata` directory.
Created attachment 1236671 [details] debugdata debugdata-autoremove # dnf autoremove --debugsolver
Requires: font(:lang=en) in fontconfig. fontconfig maintainer, if you really want to make proper lang-dependent packages, look how langpacks are done. You can ping me anytime in question regarding this.
fontconfig just requires one English font (at least, and no deps to the specific fonts) to make it working. it was added to address it by the request. I'm not sure if the langpacks sasisfies that though, if you have any idea, please let me know.
(In reply to Akira TAGOH from comment #4) > fontconfig just requires one English font (at least, and no deps to the > specific fonts) to make it working. it was added to address it by the > request. I'm not sure if the langpacks sasisfies that though, if you have > any idea, please let me know. Imagine, you install fontconfig which pulls font X. Then you install fluxbox which pulls font Y. Both of them have Provides: font(:lang=en). When you remove fluxbox (and all unneeded packages) solver doesn't know which font is better to remove, X or Y. So it keeps both. Langpack system works with weak (and IIRC rich dependencies). You can check implementation: * https://src.fedoraproject.org/cgit/rpms/langpacks.git/tree/langpacks.spec * https://fedoraproject.org/wiki/Packaging:Langpacks Making something similar could take a bit of time, but it will be definitely better. Backto original bug: how come that it requires one English font? Is there some bug behind it or ...?
(In reply to Igor Gnatenko from comment #5) > (In reply to Akira TAGOH from comment #4) > > fontconfig just requires one English font (at least, and no deps to the > > specific fonts) to make it working. it was added to address it by the > > request. I'm not sure if the langpacks sasisfies that though, if you have > > any idea, please let me know. > Imagine, you install fontconfig which pulls font X. Then you install fluxbox > which pulls font Y. Both of them have Provides: font(:lang=en). When you > remove fluxbox (and all unneeded packages) solver doesn't know which font is > better to remove, X or Y. So it keeps both. I could imagine why this happened. but there are no reaons to depend on the specific fonts in fontconfig, then I said I'm not sure if or how the langpacks sasisfies the fontconfig's requirements. > Backto original bug: how come that it requires one English font? Is there > some bug behind it or ...? that's easy to imagine too... when no fonts installed on the system, fontconfig will returns no fonts against the request from the applications. then applications won't work as expected due to that.
(In reply to Akira TAGOH from comment #6) > (In reply to Igor Gnatenko from comment #5) > > (In reply to Akira TAGOH from comment #4) > > > fontconfig just requires one English font (at least, and no deps to the > > > specific fonts) to make it working. it was added to address it by the > > > request. I'm not sure if the langpacks sasisfies that though, if you have > > > any idea, please let me know. > > Imagine, you install fontconfig which pulls font X. Then you install fluxbox > > which pulls font Y. Both of them have Provides: font(:lang=en). When you > > remove fluxbox (and all unneeded packages) solver doesn't know which font is > > better to remove, X or Y. So it keeps both. > > I could imagine why this happened. but there are no reaons to depend on the > specific fonts in fontconfig, then I said I'm not sure if or how the > langpacks sasisfies the fontconfig's requirements. > > > Backto original bug: how come that it requires one English font? Is there > > some bug behind it or ...? > > that's easy to imagine too... when no fonts installed on the system, > fontconfig will returns no fonts against the request from the applications. > then applications won't work as expected due to that. I would recommend starting discussion on devel.o and get some feedback there.
This message is a reminder that Fedora 25 is nearing its end of life. Approximately 4 (four) weeks from now Fedora will stop maintaining and issuing updates for Fedora 25. It is Fedora's policy to close all bug reports from releases that are no longer maintained. At that time this bug will be closed as EOL if it remains open with a Fedora 'version' of '25'. Package Maintainer: If you wish for this bug to remain open because you plan to fix it in a currently maintained version, simply change the 'version' to a later Fedora version. Thank you for reporting this issue and we are sorry that we were not able to fix it before Fedora 25 is end of life. If you would still like to see this bug fixed and are able to reproduce it against a later version of Fedora, you are encouraged change the 'version' to a later Fedora version prior this bug is closed as described in the policy above. Although we aim to fix as many bugs as possible during every release's lifetime, sometimes those efforts are overtaken by events. Often a more recent Fedora release includes newer upstream software that fixes bugs or makes them obsolete.
Fedora 25 changed to end-of-life (EOL) status on 2017-12-12. Fedora 25 is no longer maintained, which means that it will not receive any further security or bug fix updates. As a result we are closing this bug. If you can reproduce this bug against a currently maintained version of Fedora please feel free to reopen this bug against that version. If you are unable to reopen this bug, please file a new report against the current release. If you experience problems, please add a comment to this bug. Thank you for reporting this bug and we are sorry it could not be fixed.