[Bug 1409247] dnf autoremove can not remove some packages
by Red Hat Bugzilla
https://bugzilla.redhat.com/show_bug.cgi?id=1409247
--- Comment #7 from Igor Gnatenko <ignatenko(a)redhat.com> ---
(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(a)lists.fp.o and get some feedback
there.
--
You are receiving this mail because:
You are on the CC list for the bug.
7 years, 2 months
[Bug 1409247] dnf autoremove can not remove some packages
by Red Hat Bugzilla
https://bugzilla.redhat.com/show_bug.cgi?id=1409247
--- Comment #6 from Akira TAGOH <tagoh(a)redhat.com> ---
(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.
--
You are receiving this mail because:
You are on the CC list for the bug.
7 years, 3 months
[Bug 1409247] dnf autoremove can not remove some packages
by Red Hat Bugzilla
https://bugzilla.redhat.com/show_bug.cgi?id=1409247
--- Comment #5 from Igor Gnatenko <ignatenko(a)redhat.com> ---
(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 ...?
--
You are receiving this mail because:
You are on the CC list for the bug.
7 years, 3 months