Bug 2190290 - "dnf install google-noto-sans-cjk-sc-fonts" installs google-noto-serif-cjk-vf-fonts
Summary: "dnf install google-noto-sans-cjk-sc-fonts" installs google-noto-serif-cjk-vf...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: google-noto-serif-cjk-vf-fonts
Version: 38
Hardware: x86_64
OS: Linux
unspecified
medium
Target Milestone: ---
Assignee: Peng Wu
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2023-04-27 18:59 UTC by ZnqbuZ+RedHat
Modified: 2023-05-10 01:40 UTC (History)
9 users (show)

Fixed In Version: google-noto-serif-cjk-vf-fonts-2.001-2.fc38
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2023-05-10 01:40:46 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker FC-818 0 None None None 2023-04-28 10:59:39 UTC

Description ZnqbuZ+RedHat 2023-04-27 18:59:30 UTC
When I run dnf install google-noto-sans-cjk-sc it installs google-noto-serif-cjk-vf-fonts instead. They are two different packages and provide different files. I must specify the version to make dnf install the correct package, i. e. dnf install google-noto-sans-cjk-sc-fonts-20201206-7.fc38.

I believe dnf worked well in Fedora 37.

Reproducible: Always

Steps to Reproduce:
Run dnf install google-noto-sans-cjk-sc.
Actual Results:  
Dependencies resolved.
========================================================================================================================
 Package                                     Architecture        Version                      Repository           Size
========================================================================================================================
Installing:
 google-noto-serif-cjk-vf-fonts              noarch              1:2.001-1.fc38               fedora               20 M

Expected Results:  
Dependencies resolved.
========================================================================================================================
 Package                                    Architecture        Version                       Repository           Size
========================================================================================================================
Installing:
 google-noto-sans-cjk-sc-fonts              noarch              20201206-7.fc38               fedora               83 M

This bug may affect other packages!

Comment 1 Marek Blaha 2023-04-28 06:28:42 UTC
Unfortunately the behavior is from the solver point of view correct, as there are several packages providing "google-noto-sans-cjk-sc-fonts" and the solver is free to choose any of them (preferably the one with the newest version):


# dnf provides google-noto-sans-cjk-sc-fonts
Last metadata expiration check: 0:11:03 ago on Fri Apr 28 06:08:18 2023.
google-noto-sans-cjk-sc-fonts-20201206-7.fc38.noarch : Simplified Chinese Multilingual Sans OTF font files for google-noto-cjk-fonts
Repo        : fedora
Matched from:
Provide    : google-noto-sans-cjk-sc-fonts = 20201206-7.fc38

google-noto-sans-cjk-vf-fonts-1:2.004-1.fc38.noarch : Google Noto Sans CJK Variable Fonts
Repo        : fedora
Matched from:
Provide    : google-noto-sans-cjk-sc-fonts = 1:2.004-1.fc38

google-noto-serif-cjk-vf-fonts-1:2.001-1.fc38.noarch : Google Noto Serif CJK Variable Fonts
Repo        : fedora
Matched from:
Provide    : google-noto-sans-cjk-sc-fonts = 1:2.001-1.fc38



Reassigning to google-noto-serif-cjk-vf-fonts component to investigate whether the provides are correct.

Comment 2 Fedora Update System 2023-05-05 07:11:53 UTC
FEDORA-2023-7938249ee0 has been submitted as an update to Fedora 38. https://bodhi.fedoraproject.org/updates/FEDORA-2023-7938249ee0

Comment 3 Peng Wu 2023-05-05 08:13:24 UTC
The google-noto-sans-cjk-sc-fonts package is replaced by google-noto-sans-cjk-vf-fonts.

In Fedora 38, dnf will install the google-noto-sans-cjk-vf-fonts package.

URL: https://fedoraproject.org/wiki/Changes/Noto_CJK_Variable_Fonts

Comment 4 Fedora Update System 2023-05-05 15:55:07 UTC
FEDORA-2023-7938249ee0 has been pushed to the Fedora 38 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2023-7938249ee0`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2023-7938249ee0

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 5 Fedora Update System 2023-05-10 01:40:46 UTC
FEDORA-2023-7938249ee0 has been pushed to the Fedora 38 stable repository.
If problem still persists, please make note of it in this bug report.


Note You need to log in before you can comment on or make changes to this bug.